manage: ConfigPhysicalTool fix

dev_2.1.0
xueqingkun 1 year ago
parent 6ad7517a5e
commit 79e318df7c

@ -97,7 +97,7 @@ public class PhysicalToolManageServiceImpl implements PhysicalToolManageService
}
// 保存无需部位的正常值(前端要求分开)
if (ObjectUtil.isNotEmpty(physicalToolVO.getNoLocationDefaultPhysicalIndicator())
&& StrUtil.isNotBlank(physicalToolVO.getNoLocationDefaultPhysicalIndicator().getItemId())) {
&& StrUtil.isNotBlank(physicalToolVO.getNoLocationDefaultPhysicalIndicator().getIndicatorValue())) {
if (physicalToolVO.getRequireLocation() == 0 && StrUtil.isNotBlank(physicalToolVO.getNoLocationDefaultPhysicalIndicator().getLocationId())) {
throw new BusinessException("无需检查位的体格检查项,检查位置必须为空");
}

Loading…
Cancel
Save