bug修改

This commit is contained in:
张佳炜 2025-03-19 14:35:56 +08:00
parent 157f11525d
commit f1eee06b5b

View File

@ -156,7 +156,13 @@ public class InspectPatientitemsServiceImpl implements InspectPatientitemsServic
// 执行更新操作
patientitemsMapper.update(updateWrapper);
str.append("").append(reqVO.getGroupname()).append("").append(reqVO.getItemName()).append("=>").append(reqVO.getAnalyse()).append(";");
if(reqVO.getGroupname().equals("一般检查")){
if(str.indexOf("一般检查") == -1){
str.append("").append(reqVO.getGroupname()).append("").append(reqVO.getAnalyse()).append(";");
}
}else {
str.append("").append(reqVO.getGroupname()).append("").append(reqVO.getAnalyse()).append(";");
}
}
//2.更新汇总分析
LambdaUpdateWrapper<InspectPatientDO> lambdaUpdateWrapper = new LambdaUpdateWrapper<>();