|
|
|
|
@ -227,8 +227,12 @@ public class PlateAroundServiceImpl extends BaseServiceImpl<PlateAroundMapper, P |
|
|
|
|
wo.setUseDept(plateAround.getUseDept()); |
|
|
|
|
wo.setHrTypeBool(plateAround.getHrTypeBool()); |
|
|
|
|
woList.add(wo); |
|
|
|
|
// todo 计算主工序对应的金额
|
|
|
|
|
// bsTeamWagesLevelService.countTeamSalary(wo.getWoId());
|
|
|
|
|
// 计算主工序对应的金额
|
|
|
|
|
try { |
|
|
|
|
workOrderService.salaryCalculation(wo.getId()); |
|
|
|
|
} catch (Exception e) { |
|
|
|
|
log.error("计算主工序金额失败,流程卡号:{}", wo.getCardNo(), e); |
|
|
|
|
} |
|
|
|
|
// 调用外协结算
|
|
|
|
|
try { |
|
|
|
|
oemStatementService.autoSettlement(wo.getWoCode(), now); |
|
|
|
|
|