From c0da15f6c25210ad17993c8fc829c92ab8113fa1 Mon Sep 17 00:00:00 2001
From: lsh <lsh@163.com>
Date: 星期二, 09 九月 2025 13:45:19 +0800
Subject: [PATCH] *

---
 src/main/java/com/zy/asrs/entity/BasRgvOpt.java |   21 ++++++++++++++++++++-
 1 files changed, 20 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/zy/asrs/entity/BasRgvOpt.java b/src/main/java/com/zy/asrs/entity/BasRgvOpt.java
index 6c257a2..cfad4ad 100644
--- a/src/main/java/com/zy/asrs/entity/BasRgvOpt.java
+++ b/src/main/java/com/zy/asrs/entity/BasRgvOpt.java
@@ -23,7 +23,7 @@
      * ID
      */
     @ApiModelProperty(value= "ID")
-    @TableId(value = "id", type = IdType.INPUT)
+    @TableId(value = "id", type = IdType.AUTO)
     private Long id;
 
     /**
@@ -165,6 +165,13 @@
         this.updateBy = updateBy;
         this.memo = memo;
     }
+    public  BasRgvOpt(Integer wrkNo1, Integer wrkNo2, Integer rgvNo, Date sendTime, Integer posSta){
+        this.wrkNo1 = wrkNo1;
+        this.wrkNo2 = wrkNo2;
+        this.rgvNo = rgvNo;
+        this.sendTime = sendTime;
+        this.posSta = posSta;
+    }
 
     public BasRgvOpt(Integer wrkNo1, Integer wrkNo2, Integer rgvNo, Date sendTime, String mode, Integer sourceSta, Integer posSta, Integer sourceRow, Integer posRow, Integer response, Date updateTime, Long updateBy) {
         this.wrkNo1 = wrkNo1;
@@ -181,6 +188,18 @@
         this.updateBy = updateBy;
     }
 
+    public BasRgvOpt(Integer wrkNo1,  Integer rgvNo, Date sendTime, String mode, Integer sourceSta, Integer posSta,  Integer response, Date updateTime, Long updateBy) {
+        this.wrkNo1 = wrkNo1;
+        this.rgvNo = rgvNo;
+        this.sendTime = sendTime;
+        this.mode = mode;
+        this.sourceSta = sourceSta;
+        this.posSta = posSta;
+        this.response = response;
+        this.updateTime = updateTime;
+        this.updateBy = updateBy;
+    }
+
 //    BasRgvOpt basRgvOpt = new BasRgvOpt(
 //            null,    // ID[闈炵┖]
 //            null,    // 浠诲姟鍙�

--
Gitblit v1.9.1