|
@@ -266,10 +266,9 @@
|
|
<where>
|
|
<where>
|
|
a.enable = true
|
|
a.enable = true
|
|
AND a.review = true
|
|
AND a.review = true
|
|
- AND a.status = 'SUBMIT' and (f.status = 'AUDITING' or f.status = 'REJECT')
|
|
|
|
and EXISTS(
|
|
and EXISTS(
|
|
- <include refid="findFlowIdToMySelfSql" />
|
|
|
|
- and art.PROC_INST_ID_ = a.flow_id)
|
|
|
|
|
|
+ select * from
|
|
|
|
+ (<include refid="findFlowIdToMySelfSql" />) t where t.flowId = a.flow_id)
|
|
<if test="schoolId != null and schoolId != ''">
|
|
<if test="schoolId != null and schoolId != ''">
|
|
and a.school_id = #{schoolId}
|
|
and a.school_id = #{schoolId}
|
|
</if>
|
|
</if>
|