|
|
@@ -569,7 +569,7 @@ select
|
|
|
and (a.process_state >= #{processState} and a.process_state < 10)or a.back_status >= #{processState}
|
|
|
</if>
|
|
|
<if test="complete ==1 and processState != 6 and processState != 8 and processState != 9">
|
|
|
- and a.process_state = #{processState}
|
|
|
+ and a.process_state = #{processState} and a.status in (0,1,2,3)
|
|
|
</if>
|
|
|
<if test="complete ==1 and processState == 6">
|
|
|
and (a.process_state in(6) and a.status in (0,1,2,3,5,6))
|