|
|
@ -100,6 +100,7 @@ public class PhysicalToolManageServiceImpl implements PhysicalToolManageService
|
|
|
|
if (physicalToolVO.getRequireLocation() == 0 && StrUtil.isNotBlank(physicalToolVO.getNoLocationDefaultPhysicalIndicator().getLocationId())) {
|
|
|
|
if (physicalToolVO.getRequireLocation() == 0 && StrUtil.isNotBlank(physicalToolVO.getNoLocationDefaultPhysicalIndicator().getLocationId())) {
|
|
|
|
throw new BusinessException("无需检查位的体格检查项,检查位置必须为空");
|
|
|
|
throw new BusinessException("无需检查位的体格检查项,检查位置必须为空");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
physicalToolVO.getNoLocationDefaultPhysicalIndicator().setItemId(physicalToolVO.getId());
|
|
|
|
defaultPhysicalIndicatorService.save(physicalToolVO.getNoLocationDefaultPhysicalIndicator());
|
|
|
|
defaultPhysicalIndicatorService.save(physicalToolVO.getNoLocationDefaultPhysicalIndicator());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|