生产状态报表工序状态加未完成

master
yinq 2 years ago
parent bdd7ffff88
commit d33ea51722

@ -429,11 +429,14 @@
</if> </if>
<if test="operationStatus != null and operationStatus != ''" > <if test="operationStatus != null and operationStatus != ''" >
<choose> <choose>
<when test="operationStatus != 'OTHER'.toString()"> <when test="operationStatus == 'UN_FINISHED' ">
AND ZSD.DISPATCH_STATUS = #{operationStatus} AND ZSD.DISPATCH_STATUS != 'COMPLETE' AND ZSD.DISPATCH_STATUS != 'CANCEL'
</when> </when>
<otherwise> <when test="operationStatus == 'OTHER' ">
AND ZSD.DISPATCH_STATUS != 'START' AND ZSD.DISPATCH_STATUS != 'COMPLETE' AND ZSD.DISPATCH_STATUS != 'CANCEL' AND ZSD.DISPATCH_STATUS != 'START' AND ZSD.DISPATCH_STATUS != 'COMPLETE' AND ZSD.DISPATCH_STATUS != 'CANCEL'
</when>
<otherwise>
AND ZSD.DISPATCH_STATUS = #{operationStatus}
</otherwise> </otherwise>
</choose> </choose>
</if> </if>

Loading…
Cancel
Save