zhubaomin
2025-04-14 d2263e86d837ef331d77fd39dccd79f100041e76
pipIrr-platform/pipIrr-web/pipIrr-web-wechat/src/main/java/com/dy/pipIrrWechat/command/CommandSv.java
@@ -415,6 +415,10 @@
            myParam.setOpenType(openType);
            BaseResponse<Boolean> result = dealWithCommandResult(myParam);
            // 如果命令执行失败,则再次执行命令
            if(!result.isSuccess()) {
                result = dealWithCommandResult(myParam);
            }
            Map map = new HashMap<>();
            map.put("success", result.isSuccess());
@@ -612,7 +616,13 @@
            myParam.setParam(param);
            myParam.setRtuResultSendWebUrl(rtuCallbackUrl_wx);
            myParam.setOperator(operator);
            //BaseResponse<Boolean> result = dealWithCommandResult(myParam);
            BaseResponse<Boolean> result = dealWithCommandResult(myParam);
            // 如果命令执行失败,则再次执行命令
            if(!result.isSuccess()) {
                result = dealWithCommandResult(myParam);
            }
            Map map = new HashMap<>();
            map.put("success", result.isSuccess());
@@ -783,7 +793,12 @@
            myParam.setRtuResultSendWebUrl(rtuCallbackUrl_wx);
            myParam.setOperator(operator);
            //return dealWithCommandResult(myParam);
            BaseResponse<Boolean> result = dealWithCommandResult(myParam);
            // 如果命令执行失败,则再次执行命令
            if(!result.isSuccess()) {
                result = dealWithCommandResult(myParam);
            }
            Map map = new HashMap<>();
            map.put("success", result.isSuccess());