诊断流程提交

dev_v1.0.1
liu 2 years ago
parent 1b29bbd9bc
commit 51e53cf139

@ -56,6 +56,7 @@ public class AskAncillaryServiceImpl implements AskAncillaryService {
record.setResult(diseaseAncillary.getResult());
record.setCreateUserId(UserUtil.getUser().getId());
record.setUpdateUserId(UserUtil.getUser().getId());
record.insert();
return record;
}

@ -52,8 +52,11 @@ public class AskPhysicalServiceImpl implements AskPhysicalService {
// 是否需要具体的部位,0否1是
String locationId = null;
if (1 == tool.getRequireLocation()) {
if (StrUtil.isBlank(reqVO.getLocationCode())){
throw new BusinessException("请选择对应的位置");
}
ConfigPhysicalLocation location = locationService.lambdaQuery().eq(ConfigPhysicalLocation::getCode, reqVO.getLocationCode()).last("limit 1")
.oneOpt().orElseThrow(() -> new BusinessException("为找到对应部位"));
.oneOpt().orElseThrow(() -> new BusinessException("找到对应部位"));
locationId = location.getId();
}
DiseasePhysical result = diseasePhysicalService.lambdaQuery().eq(DiseasePhysical::getPatientId, process.getPatientId())

Loading…
Cancel
Save