Переглянути джерело

转储新增字段后端代码

hefeng 5 роки тому
батько
коміт
eabd909e7b

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

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

+ 21 - 1
src/main/java/com/chinaitop/depot/storage/model/StorageDump.java

@@ -23,7 +23,11 @@ public class StorageDump {
23 23
     private Integer lsdj;
24 24
 
25 25
     private BigDecimal clsl;
26
+    
27
+    private BigDecimal transferQuantity;
26 28
 
29
+    private String approvalNo;
30
+    
27 31
     private String zjjg;
28 32
 
29 33
     private String ysStatus;
@@ -199,8 +203,24 @@ public class StorageDump {
199 203
     public void setClsl(BigDecimal clsl) {
200 204
         this.clsl = clsl;
201 205
     }
206
+    
207
+    public BigDecimal getTransferQuantity() {
208
+		return transferQuantity;
209
+	}
202 210
 
203
-    /**
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
+	}
222
+
223
+	/**
204 224
      * 质检结果
205 225
      * @return zjjg 质检结果
206 226
      */