Commit 5a0118d9 by liuyang

2024-08-22 生产任务任务状态逻辑修复

parent ea9143b2
......@@ -125,13 +125,13 @@
A.STATUS IN <iterate close=")" open="(" conjunction="," property="statuses">#statuses[]#</iterate>
</isNotEmpty>
<isEqual prepend=" AND " property="isComplete" compareValue="0">
B.COMPLETE_NUM = 0
B.COMPLETE_NUM = 0 AND B.NUM - B.COMPLETE_NUM = B.NUM
</isEqual>
<isEqual prepend=" AND " property="isComplete" compareValue="1">
B.NUM - B.COMPLETE_NUM &gt; 0
B.COMPLETE_NUM >0 AND B.NUM - B.COMPLETE_NUM &gt; 0
</isEqual>
<isEqual prepend=" AND " property="isComplete" compareValue="2">
B.NUM - B.COMPLETE_NUM = 0
B.NUM &gt; 0 AND B.NUM - B.COMPLETE_NUM = 0
</isEqual>
</sql>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment