Commit 8a208d1e by liuyang

1.修复生产计划没有单重问题

parent 323abbb2
...@@ -417,7 +417,7 @@ ...@@ -417,7 +417,7 @@
PARENT_ID, PARENT_ID,
NUM, NUM,
case ifnull(UNIT_WT,0) case ifnull(UNIT_WT,0)
when 0 then ifnull(TOTAL_WT,0) when 0 then ifnull(TOTAL_WT,0) / ifnull(NUM,0)
else ifnull(UNIT_WT,0) else ifnull(UNIT_WT,0)
end UNIT_WT, end UNIT_WT,
PROJ_NAME, PROJ_NAME,
......
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