|
|
|
|
@ -360,6 +360,8 @@ public class InspectionTaskServiceImpl extends BaseServiceImpl<InspectionTaskMap |
|
|
|
|
// 更新 WorkPlanItem
|
|
|
|
|
wpItemService.updateById(wpItemDB); |
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
if(null != wpItemVO.getWpItemDetailList() && wpItemVO.getWpItemDetailList().size() > 0){ |
|
|
|
|
for (WorkPlanItemDetailVO wpItemDetailVO : wpItemVO.getWpItemDetailList()) { |
|
|
|
|
WorkPlanItemDetail wpItemDetail = new WorkPlanItemDetail(); |
|
|
|
|
BeanUtil.copyProperties(wpItemDetailVO, wpItemDetail); |
|
|
|
|
@ -372,7 +374,10 @@ public class InspectionTaskServiceImpl extends BaseServiceImpl<InspectionTaskMap |
|
|
|
|
wpItemDetailService.save(wpItemDetail); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(null != wpItemVO.getThicknessList() && wpItemVO.getThicknessList().size() > 0){ |
|
|
|
|
for (WorkPlanItemThicknessVO wpItemDetailVO : wpItemVO.getThicknessList()) { |
|
|
|
|
WorkPlanThicknessDetail wpItemDetail = new WorkPlanThicknessDetail(); |
|
|
|
|
BeanUtil.copyProperties(wpItemDetailVO, wpItemDetail); |
|
|
|
|
@ -386,6 +391,8 @@ public class InspectionTaskServiceImpl extends BaseServiceImpl<InspectionTaskMap |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
//
|
|
|
|
|
refreshStatusAndQty(detailVO.getId()); |
|
|
|
|
return R.success("检验填报"); |
|
|
|
|
|