Commit 20e1b131 by liuyang

2024-08-22 生产任务部分完工逻辑修复

parent 9b4d14a0
......@@ -42,7 +42,7 @@
C.PROD_TASK_NO as "zlprodTaskNo",
A.DELIVERY_DATE as "deliveryDate",
case when B.NUM - B.COMPLETE_NUM = 0 then 2
when B.NUM - B.COMPLETE_NUM > 0 then 1
when B.COMPLETE_NUM >0 and B.NUM - B.COMPLETE_NUM > 0 then 1
else 0
end as "isComplete"
</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