Commit ea9143b2 by liuyang

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

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