From b3b17b231e2f2840332ce6eb96f791865fdec6d5 Mon Sep 17 00:00:00 2001
From: zhubaomin <zhubaomin>
Date: 星期一, 14 四月 2025 16:38:16 +0800
Subject: [PATCH] 代码优化
---
pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/CommandBackParam.java | 41 +++++++++++++++++++++++++++++++++++++++++
1 files changed, 41 insertions(+), 0 deletions(-)
diff --git a/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/CommandBackParam.java b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/CommandBackParam.java
new file mode 100644
index 0000000..3029283
--- /dev/null
+++ b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/CommandBackParam.java
@@ -0,0 +1,41 @@
+package com.dy.common.mw.protocol;
+
+import java.io.Serializable;
+
+public class CommandBackParam implements Serializable{
+
+ public static final long serialVersionUID;
+ static {
+ serialVersionUID = 201606251456001L;
+ }
+
+ //鍛戒护澶勭悊鏄惁鎴愬姛(鐩戞帶涓棿浠跺鐞嗗懡浠ゆ槸鍚︽垚鍔燂紝涓嶄唬琛ㄥ彂閫佸懡浠ょ粰Rtu鎴愬姛涓庡惁)锛�
+ private Boolean success ;
+ //鍛戒护澶勭悊鎯呭喌鐨勬秷鎭�
+ private String message ;
+
+ public String toString(){
+ String s = "" ;
+ if(this.success != null){
+ s += "success:" + this.success + "\n" ;
+ }
+ if(this.message != null){
+ s += "message:" + this.message + "\n" ;
+ }
+ return s ;
+ }
+ @SuppressWarnings("unused")
+ public Boolean getSuccess() {
+ return success;
+ }
+ public void setSuccess(Boolean success) {
+ this.success = success;
+ }
+ public String getMessage() {
+ return message;
+ }
+ public void setMessage(String message) {
+ this.message = message;
+ }
+
+}
--
Gitblit v1.8.0