|
|
|
@ -142,6 +142,12 @@ public class PlateGoodsApplyServiceImpl extends BaseServiceImpl<PlateGoodsApplyM |
|
|
|
apply.setGoodsDemandTotal(goodsDemandTotal); |
|
|
|
apply.setGoodsDemandTotal(goodsDemandTotal); |
|
|
|
apply.setDeclaredQuotaTotal(declaredQuotaTotal); |
|
|
|
apply.setDeclaredQuotaTotal(declaredQuotaTotal); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//取镀层物料需求中的镀层物料编码和作业中心
|
|
|
|
|
|
|
|
PlateGoodsRecord plateGoodsRecord = recordList.get(0); |
|
|
|
|
|
|
|
apply.setWcId(plateGoodsRecord.getWcId()); |
|
|
|
|
|
|
|
apply.setGoodsCode(plateGoodsRecord.getGoodsCode()); |
|
|
|
|
|
|
|
apply.setGoodsName(plateGoodsRecord.getGoodsName()); |
|
|
|
|
|
|
|
|
|
|
|
goodsRecordService.updateBatchById(addRecordList); |
|
|
|
goodsRecordService.updateBatchById(addRecordList); |
|
|
|
this.save(apply); |
|
|
|
this.save(apply); |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
|