|
@@ -52,6 +52,9 @@ public class TmstruckUnloadResultServiceImpl implements ITmstruckUnloadResultSer
|
|
|
|
|
|
@Autowired
|
|
@Autowired
|
|
UtilsMapper utilsMapper;
|
|
UtilsMapper utilsMapper;
|
|
|
|
+
|
|
|
|
+ @Autowired
|
|
|
|
+ TmstruckLeaveFactoryResultServiceImpl tmstruckLeaveFactoryResultService;
|
|
/**
|
|
/**
|
|
* 新增卸货实绩
|
|
* 新增卸货实绩
|
|
* 总实绩ID、卸货点
|
|
* 总实绩ID、卸货点
|
|
@@ -150,6 +153,11 @@ public class TmstruckUnloadResultServiceImpl implements ITmstruckUnloadResultSer
|
|
map.put("materialId", materialIdList.get(0));
|
|
map.put("materialId", materialIdList.get(0));
|
|
i += tmstruckMeasureCommissionService.addPiMeasureCommission(map); //卸货完成后新增一条计皮委托 并发送计皮委托
|
|
i += tmstruckMeasureCommissionService.addPiMeasureCommission(map); //卸货完成后新增一条计皮委托 并发送计皮委托
|
|
i += tmstruckReceiptResultService.addReceiptResult(map); //新增完卸车实绩后新增一条收货实绩
|
|
i += tmstruckReceiptResultService.addReceiptResult(map); //新增完卸车实绩后新增一条收货实绩
|
|
|
|
+ //计皮委托发送后更新出厂门岗
|
|
|
|
+ BigDecimal resultTotalId = DataChange.dataToBigDecimal(map.get("resultTotalId"));
|
|
|
|
+ //计算出厂门岗 (暂时定死)
|
|
|
|
+ Integer gatepostId = 2;
|
|
|
|
+ i += tmstruckLeaveFactoryResultService.updateLeaveFactoryGatepostId(resultTotalId.intValue(), gatepostId);
|
|
break;
|
|
break;
|
|
case 10:
|
|
case 10:
|
|
break;
|
|
break;
|