|
|
|
|
@ -91,15 +91,19 @@ public class WorkPlanItemServiceImpl extends BaseServiceImpl<WorkPlanItemMapper, |
|
|
|
|
} |
|
|
|
|
{ |
|
|
|
|
InspectionItem item = inspectionItemService.getById(vo.getItemId()); |
|
|
|
|
InspectionItemVO itemVO = InspectionItemWrapper.build().entityVO(item); |
|
|
|
|
inspectionItemService.setVOValue(itemVO); |
|
|
|
|
vo.setItem(itemVO); |
|
|
|
|
if(item != null){ |
|
|
|
|
InspectionItemVO itemVO = InspectionItemWrapper.build().entityVO(item); |
|
|
|
|
inspectionItemService.setVOValue(itemVO); |
|
|
|
|
vo.setItem(itemVO); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
{ |
|
|
|
|
Standard standard = standardService.getById(vo.getStandardId()); |
|
|
|
|
StandardVO standardVO = StandardWrapper.build().entityVO(standard); |
|
|
|
|
standardService.setVOValue(standardVO); |
|
|
|
|
vo.setStandard(standardVO); |
|
|
|
|
if(standard != null){ |
|
|
|
|
StandardVO standardVO = StandardWrapper.build().entityVO(standard); |
|
|
|
|
standardService.setVOValue(standardVO); |
|
|
|
|
vo.setStandard(standardVO); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
if (vo.getItem() != null && vo.getItem().getSpecialType() != null) { |
|
|
|
|
if (InspectionItemConst.SPECIAL_TYPE_THICK.equals(vo.getItem().getSpecialType()) || |
|
|
|
|
|