Kaynağa Gözat

转储新增字段后端代码

hefeng 5 yıl önce
ebeveyn
işleme
20b44dacab

+ 14 - 0
src/main/java/com/chinaitop/depot/storage/mapper/StorageDumpMapper.xml

@@ -12,6 +12,8 @@
12
     <result column="x_lsxz" jdbcType="INTEGER" property="xLsxz" />
12
     <result column="x_lsxz" jdbcType="INTEGER" property="xLsxz" />
13
     <result column="lsdj" jdbcType="INTEGER" property="lsdj" />
13
     <result column="lsdj" jdbcType="INTEGER" property="lsdj" />
14
     <result column="clsl" jdbcType="DECIMAL" property="clsl" />
14
     <result column="clsl" jdbcType="DECIMAL" property="clsl" />
15
+    <result column="transfer_quantity" jdbcType="DECIMAL" property="transferQuantity" />
16
+    <result column="approval_no" jdbcType="VARCHAR" property="approvalNo" />
15
     <result column="zjjg" jdbcType="VARCHAR" property="zjjg" />
17
     <result column="zjjg" jdbcType="VARCHAR" property="zjjg" />
16
     <result column="ys_status" jdbcType="VARCHAR" property="ysStatus" />
18
     <result column="ys_status" jdbcType="VARCHAR" property="ysStatus" />
17
     <result column="business_create_time" jdbcType="TIMESTAMP" property="businessCreateTime" />
19
     <result column="business_create_time" jdbcType="TIMESTAMP" property="businessCreateTime" />
@@ -162,6 +164,12 @@
162
       <if test="clsl != null">
164
       <if test="clsl != null">
163
         clsl,
165
         clsl,
164
       </if>
166
       </if>
167
+      <if test="transferQuantity != null">
168
+        transfer_quantity,
169
+      </if>
170
+      <if test="approvalNo != null">
171
+        approval_no,
172
+      </if>
165
       <if test="zjjg != null">
173
       <if test="zjjg != null">
166
         zjjg,
174
         zjjg,
167
       </if>
175
       </if>
@@ -218,6 +226,12 @@
218
       <if test="clsl != null">
226
       <if test="clsl != null">
219
         #{clsl,jdbcType=DECIMAL},
227
         #{clsl,jdbcType=DECIMAL},
220
       </if>
228
       </if>
229
+      <if test="transferQuantity != null">
230
+        #{transferQuantity,jdbcType=DECIMAL},
231
+      </if>
232
+      <if test="approvalNo != null">
233
+        #{approvalNo,jdbcType=VARCHAR},
234
+      </if>
221
       <if test="zjjg != null">
235
       <if test="zjjg != null">
222
         #{zjjg,jdbcType=VARCHAR},
236
         #{zjjg,jdbcType=VARCHAR},
223
       </if>
237
       </if>

+ 20 - 0
src/main/java/com/chinaitop/depot/storage/model/StorageDump.java

@@ -23,6 +23,10 @@ public class StorageDump {
23
     private Integer lsdj;
23
     private Integer lsdj;
24
 
24
 
25
     private BigDecimal clsl;
25
     private BigDecimal clsl;
26
+    
27
+    private BigDecimal transferQuantity;
28
+
29
+    private String approvalNo;
26
 
30
 
27
     private String zjjg;
31
     private String zjjg;
28
 
32
 
@@ -199,6 +203,22 @@ public class StorageDump {
199
     public void setClsl(BigDecimal clsl) {
203
     public void setClsl(BigDecimal clsl) {
200
         this.clsl = clsl;
204
         this.clsl = clsl;
201
     }
205
     }
206
+    
207
+    public BigDecimal getTransferQuantity() {
208
+		return transferQuantity;
209
+	}
210
+
211
+	public void setTransferQuantity(BigDecimal transferQuantity) {
212
+		this.transferQuantity = transferQuantity;
213
+	}
214
+
215
+	public String getApprovalNo() {
216
+		return approvalNo;
217
+	}
218
+
219
+	public void setApprovalNo(String approvalNo) {
220
+		this.approvalNo = approvalNo;
221
+	}
202
 
222
 
203
     /**
223
     /**
204
      * 质检结果
224
      * 质检结果