Commit 8b17c89c by wuwenlong

生产派工bugfix

parent 70cc4e2c
...@@ -89,7 +89,9 @@ public class ServiceHGSC006A extends ServiceBase { ...@@ -89,7 +89,9 @@ public class ServiceHGSC006A extends ServiceBase {
hgsc007.setOrderId(hgsc006.getId()); hgsc007.setOrderId(hgsc006.getId());
hgsc007.setOrderDetailId(hgsc006A.getId()); hgsc007.setOrderDetailId(hgsc006A.getId());
hgsc007.setQuantity(assignQuantity); hgsc007.setQuantity(assignQuantity);
hgsc007.setUnfinishQuantity(assignQuantity);
hgsc007.setTotalWeight(hgsc006A.getSingleWeight().multiply(new BigDecimal(assignQuantity))); hgsc007.setTotalWeight(hgsc006A.getSingleWeight().multiply(new BigDecimal(assignQuantity)));
hgsc007.setUnfinishWeight(hgsc007.getTotalWeight());
hgsc007.setGroupCode(groupCode); hgsc007.setGroupCode(groupCode);
hgsc007.setGroupName(groupName); hgsc007.setGroupName(groupName);
hgsc007.setFactoryCode(factoryCode); hgsc007.setFactoryCode(factoryCode);
......
...@@ -190,7 +190,9 @@ public class ServiceHGSC006B extends ServiceBase { ...@@ -190,7 +190,9 @@ public class ServiceHGSC006B extends ServiceBase {
add007.setOrderId(hgsc006.getId()); add007.setOrderId(hgsc006.getId());
add007.setOrderDetailId(hgsc006A.getId()); add007.setOrderDetailId(hgsc006A.getId());
add007.setQuantity(hgsc007.getQuantity()); add007.setQuantity(hgsc007.getQuantity());
add007.setUnfinishQuantity(hgsc007.getQuantity());
add007.setTotalWeight(hgsc006A.getSingleWeight().multiply(new BigDecimal(hgsc007.getQuantity()))); add007.setTotalWeight(hgsc006A.getSingleWeight().multiply(new BigDecimal(hgsc007.getQuantity())));
add007.setUnfinishWeight(add007.getTotalWeight());
add007.setGroupCode(hgsc007.getGroupCode()); add007.setGroupCode(hgsc007.getGroupCode());
add007.setGroupName(hgsc007.getGroupName()); add007.setGroupName(hgsc007.getGroupName());
add007.setFactoryCode(hgsc007.getFactoryCode()); add007.setFactoryCode(hgsc007.getFactoryCode());
......
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