fhx
2024-08-09 a36888f669946c3d6e745c44ca4fc7405cf78b9f
1.完善治疗单修改逻辑
1个文件已修改
2 ■■■ 已修改文件
phi_platform_user/src/main/java/com/hx/phip/controller/treat/TreatController.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
phi_platform_user/src/main/java/com/hx/phip/controller/treat/TreatController.java
@@ -684,7 +684,7 @@
                    throw new TipsException("查询不到原治疗单项目信息!");
                }
                if(StringUtils.noNull(oldData.getUserProjectItemId()) && oldData.getUserProjectItemId().equals(treatProject.getUserProjectItemId())){
                if(StringUtils.noNull(oldData.getUserProjectItemId()) && !oldData.getUserProjectItemId().equals(treatProject.getUserProjectItemId())){
                    throw new TipsException("已购买治疗单项目不可替换!");
                }
            }