From 70b2c7a1f5b54cf9157d8fce4d6a9b0f2fadaebe Mon Sep 17 00:00:00 2001
From: zhubaomin <zhubaomin>
Date: 星期二, 15 四月 2025 17:13:28 +0800
Subject: [PATCH] 获取终止操作结果

---
 pipIrr-platform/pipIrr-web/pipIrr-web-wechat/src/main/java/com/dy/pipIrrWechat/command/CommandSv.java |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/pipIrr-platform/pipIrr-web/pipIrr-web-wechat/src/main/java/com/dy/pipIrrWechat/command/CommandSv.java b/pipIrr-platform/pipIrr-web/pipIrr-web-wechat/src/main/java/com/dy/pipIrrWechat/command/CommandSv.java
index 46a4c3b..9b390ec 100644
--- a/pipIrr-platform/pipIrr-web/pipIrr-web-wechat/src/main/java/com/dy/pipIrrWechat/command/CommandSv.java
+++ b/pipIrr-platform/pipIrr-web/pipIrr-web-wechat/src/main/java/com/dy/pipIrrWechat/command/CommandSv.java
@@ -417,6 +417,7 @@
             BaseResponse<Boolean> result = dealWithCommandResult(myParam);
             // 濡傛灉鍛戒护鎵ц澶辫触锛屽垯鍐嶆鎵ц鍛戒护
             if(!result.isSuccess()) {
+                myParam.setComId(new IDLongGenerator().generate());
                 result = dealWithCommandResult(myParam);
             }
 
@@ -621,6 +622,7 @@
             BaseResponse<Boolean> result = dealWithCommandResult(myParam);
             // 濡傛灉鍛戒护鎵ц澶辫触锛屽垯鍐嶆鎵ц鍛戒护
             if(!result.isSuccess()) {
+                myParam.setComId(new IDLongGenerator().generate());
                 result = dealWithCommandResult(myParam);
             }
 
@@ -716,6 +718,7 @@
             irIntakeOperate.setOperateType(operatetype);
             irIntakeOperate.setCommandId(comId);
             irIntakeOperate.setIntakeId(intakeId);
+            irIntakeOperate.setCommandResult((byte)1);
 
             Long id = addIntakeOperate(irIntakeOperate);
             if(id == null) {
@@ -797,6 +800,7 @@
             BaseResponse<Boolean> result = dealWithCommandResult(myParam);
             // 濡傛灉鍛戒护鎵ц澶辫触锛屽垯鍐嶆鎵ц鍛戒护
             if(!result.isSuccess()) {
+                myParam.setComId(new IDLongGenerator().generate());
                 result = dealWithCommandResult(myParam);
             }
 

--
Gitblit v1.8.0