Commit 7392ede9 by liuyang

2024-03-31 物料清单提交生产计划,计划完成时间默认同步交货日期

parent 43121e1a
...@@ -808,6 +808,7 @@ public class ServiceHPSC002 extends ServiceBase { ...@@ -808,6 +808,7 @@ public class ServiceHPSC002 extends ServiceBase {
HPSC003 newSc003 = BeanUtils.copy(dbSc002, HPSC003.class); HPSC003 newSc003 = BeanUtils.copy(dbSc002, HPSC003.class);
newSc003.setPlanInfoNo(planNo); newSc003.setPlanInfoNo(planNo);
newSc003.setMatId(dbSc002.getId()); newSc003.setMatId(dbSc002.getId());
newSc003.setPlanCompletionDate(dbSc002.getDeliveryDate());
newSc003.setStatus(HPConstant.planStatus.S_0); newSc003.setStatus(HPConstant.planStatus.S_0);
DaoUtils.insert(HPSC003.INSERT, newSc003); DaoUtils.insert(HPSC003.INSERT, newSc003);
} else { } else {
......
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