@@ -701,6 +701,7 @@ from new_order_change a where 1 = 1 and status in (0,1,2,3)
and((a.process_state > 6 and a.process_state < 10) or (a.process_state =6 and a.status=4))
</if>
<if test="complete ==2 and processState == 8">
+ and e.operation_guarantee_id=#{aid}
and a.process_state > 7 and a.status in (2,4)
<if test="complete ==2 and processState == 9">