|
@@ -437,7 +437,7 @@
|
|
|
a.flow_id = tffal.flow_id
|
|
|
<where>
|
|
|
a.enable = true and a.review = true
|
|
|
- and EXISTS (select distinct t.PROC_INST_ID_ from ACT_HI_TASKINST t where t.PROC_INST_ID_ = a.flow_id)
|
|
|
+ and EXISTS (select distinct t.PROC_INST_ID_ from ACT_HI_TASKINST t where t.TASK_DEF_KEY_ <![CDATA[ <> ]]> 'usertask1' and t.PROC_INST_ID_ = a.flow_id)
|
|
|
<if test="schoolId != null and schoolId != ''">
|
|
|
and a.school_id = #{schoolId}
|
|
|
</if>
|