zhubaomin
2025-04-17 b63eef2cfb054b1ead234ab93e05a2aa28775d91
优化灌溉计划发布前判断条件
1个文件已修改
4 ■■■■ 已修改文件
pipIrr-platform/pipIrr-web/pipIrr-web-wechat/src/main/java/com/dy/pipIrrWechat/irrigatePlan/IrrigatePlanSv.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pipIrr-platform/pipIrr-web/pipIrr-web-wechat/src/main/java/com/dy/pipIrrWechat/irrigatePlan/IrrigatePlanSv.java
@@ -136,7 +136,7 @@
        Long operatorId = planSimple.getOperatorId();
        Byte operateType = 1;
        if(irrigatePlanMapper.hasPlan_CurrentProject(planId) == 0) {
        if(irrigatePlanMapper.hasPlan_CurrentProject(planId) > 0) {
            Map map = new HashMap<>();
            map.put("success", false);
            map.put("msg", "当前项目存在未完成的灌溉计划");
@@ -144,7 +144,7 @@
            return map;
        }
        if(irrigatePlanMapper.hasPlan_CurrentProject(planId) == 0) {
        if(irrigatePlanMapper.hasPlan_CurrentProject(planId) > 0) {
            Map map = new HashMap<>();
            map.put("success", false);
            map.put("msg", "待发布计划的轮灌组在其他项目的灌溉计划中,且该计划尚未完成");