fanxw пре 1 година
родитељ
комит
9b146092b7

+ 41 - 41
src/main/java/com/chinaitop/depot/storage/mapper/StorageWarterMobilePointMapper.xml

@@ -7,17 +7,17 @@
7 7
     <result column="org_id" property="orgId" jdbcType="INTEGER" />
8 8
     <result column="qy" property="qy" jdbcType="INTEGER" />
9 9
     <result column="bw_a_key" property="bwAKey" jdbcType="VARCHAR" />
10
-    <result column="bw_a_val" property="bwAVal" jdbcType="DECIMAL" />
10
+    <result column="bw_a_val" property="bwAVal" jdbcType="VARCHAR" />
11 11
     <result column="bw_b_key" property="bwBKey" jdbcType="VARCHAR" />
12
-    <result column="bw_b_val" property="bwBVal" jdbcType="DECIMAL" />
12
+    <result column="bw_b_val" property="bwBVal" jdbcType="VARCHAR" />
13 13
     <result column="bw_c_key" property="bwCKey" jdbcType="VARCHAR" />
14
-    <result column="bw_c_val" property="bwCVal" jdbcType="DECIMAL" />
14
+    <result column="bw_c_val" property="bwCVal" jdbcType="VARCHAR" />
15 15
     <result column="bw_d_key" property="bwDKey" jdbcType="VARCHAR" />
16
-    <result column="bw_d_val" property="bwDVal" jdbcType="DECIMAL" />
16
+    <result column="bw_d_val" property="bwDVal" jdbcType="VARCHAR" />
17 17
     <result column="bw_e_key" property="bwEKey" jdbcType="VARCHAR" />
18
-    <result column="bw_e_val" property="bwEVal" jdbcType="DECIMAL" />
18
+    <result column="bw_e_val" property="bwEVal" jdbcType="VARCHAR" />
19 19
     <result column="bw_f_key" property="bwFKey" jdbcType="VARCHAR" />
20
-    <result column="bw_f_val" property="bwFVal" jdbcType="DECIMAL" />
20
+    <result column="bw_f_val" property="bwFVal" jdbcType="VARCHAR" />
21 21
     <result column="input_time" property="inputTime" jdbcType="TIMESTAMP" />
22 22
     <result column="edit_time" property="editTime" jdbcType="TIMESTAMP" />
23 23
   </resultMap>
@@ -122,11 +122,11 @@
122 122
       bw_f_val, input_time, edit_time
123 123
       )
124 124
     values (#{id,jdbcType=VARCHAR}, #{zId,jdbcType=VARCHAR}, #{orgId,jdbcType=INTEGER}, 
125
-      #{qy,jdbcType=INTEGER}, #{bwAKey,jdbcType=VARCHAR}, #{bwAVal,jdbcType=DECIMAL}, 
126
-      #{bwBKey,jdbcType=VARCHAR}, #{bwBVal,jdbcType=DECIMAL}, #{bwCKey,jdbcType=VARCHAR}, 
127
-      #{bwCVal,jdbcType=DECIMAL}, #{bwDKey,jdbcType=VARCHAR}, #{bwDVal,jdbcType=DECIMAL}, 
128
-      #{bwEKey,jdbcType=VARCHAR}, #{bwEVal,jdbcType=DECIMAL}, #{bwFKey,jdbcType=VARCHAR}, 
129
-      #{bwFVal,jdbcType=DECIMAL}, #{inputTime,jdbcType=TIMESTAMP}, #{editTime,jdbcType=TIMESTAMP}
125
+      #{qy,jdbcType=INTEGER}, #{bwAKey,jdbcType=VARCHAR}, #{bwAVal,jdbcType=VARCHAR}, 
126
+      #{bwBKey,jdbcType=VARCHAR}, #{bwBVal,jdbcType=VARCHAR}, #{bwCKey,jdbcType=VARCHAR}, 
127
+      #{bwCVal,jdbcType=VARCHAR}, #{bwDKey,jdbcType=VARCHAR}, #{bwDVal,jdbcType=VARCHAR}, 
128
+      #{bwEKey,jdbcType=VARCHAR}, #{bwEVal,jdbcType=VARCHAR}, #{bwFKey,jdbcType=VARCHAR}, 
129
+      #{bwFVal,jdbcType=VARCHAR}, #{inputTime,jdbcType=TIMESTAMP}, #{editTime,jdbcType=TIMESTAMP}
130 130
       )
131 131
   </insert>
132 132
   <insert id="insertSelective" parameterType="com.chinaitop.depot.storage.model.StorageWarterMobilePoint" >
@@ -204,37 +204,37 @@
204 204
         #{bwAKey,jdbcType=VARCHAR},
205 205
       </if>
206 206
       <if test="bwAVal != null" >
207
-        #{bwAVal,jdbcType=DECIMAL},
207
+        #{bwAVal,jdbcType=VARCHAR},
208 208
       </if>
209 209
       <if test="bwBKey != null" >
210 210
         #{bwBKey,jdbcType=VARCHAR},
211 211
       </if>
212 212
       <if test="bwBVal != null" >
213
-        #{bwBVal,jdbcType=DECIMAL},
213
+        #{bwBVal,jdbcType=VARCHAR},
214 214
       </if>
215 215
       <if test="bwCKey != null" >
216 216
         #{bwCKey,jdbcType=VARCHAR},
217 217
       </if>
218 218
       <if test="bwCVal != null" >
219
-        #{bwCVal,jdbcType=DECIMAL},
219
+        #{bwCVal,jdbcType=VARCHAR},
220 220
       </if>
221 221
       <if test="bwDKey != null" >
222 222
         #{bwDKey,jdbcType=VARCHAR},
223 223
       </if>
224 224
       <if test="bwDVal != null" >
225
-        #{bwDVal,jdbcType=DECIMAL},
225
+        #{bwDVal,jdbcType=VARCHAR},
226 226
       </if>
227 227
       <if test="bwEKey != null" >
228 228
         #{bwEKey,jdbcType=VARCHAR},
229 229
       </if>
230 230
       <if test="bwEVal != null" >
231
-        #{bwEVal,jdbcType=DECIMAL},
231
+        #{bwEVal,jdbcType=VARCHAR},
232 232
       </if>
233 233
       <if test="bwFKey != null" >
234 234
         #{bwFKey,jdbcType=VARCHAR},
235 235
       </if>
236 236
       <if test="bwFVal != null" >
237
-        #{bwFVal,jdbcType=DECIMAL},
237
+        #{bwFVal,jdbcType=VARCHAR},
238 238
       </if>
239 239
       <if test="inputTime != null" >
240 240
         #{inputTime,jdbcType=TIMESTAMP},
@@ -269,37 +269,37 @@
269 269
         bw_a_key = #{record.bwAKey,jdbcType=VARCHAR},
270 270
       </if>
271 271
       <if test="record.bwAVal != null" >
272
-        bw_a_val = #{record.bwAVal,jdbcType=DECIMAL},
272
+        bw_a_val = #{record.bwAVal,jdbcType=VARCHAR},
273 273
       </if>
274 274
       <if test="record.bwBKey != null" >
275 275
         bw_b_key = #{record.bwBKey,jdbcType=VARCHAR},
276 276
       </if>
277 277
       <if test="record.bwBVal != null" >
278
-        bw_b_val = #{record.bwBVal,jdbcType=DECIMAL},
278
+        bw_b_val = #{record.bwBVal,jdbcType=VARCHAR},
279 279
       </if>
280 280
       <if test="record.bwCKey != null" >
281 281
         bw_c_key = #{record.bwCKey,jdbcType=VARCHAR},
282 282
       </if>
283 283
       <if test="record.bwCVal != null" >
284
-        bw_c_val = #{record.bwCVal,jdbcType=DECIMAL},
284
+        bw_c_val = #{record.bwCVal,jdbcType=VARCHAR},
285 285
       </if>
286 286
       <if test="record.bwDKey != null" >
287 287
         bw_d_key = #{record.bwDKey,jdbcType=VARCHAR},
288 288
       </if>
289 289
       <if test="record.bwDVal != null" >
290
-        bw_d_val = #{record.bwDVal,jdbcType=DECIMAL},
290
+        bw_d_val = #{record.bwDVal,jdbcType=VARCHAR},
291 291
       </if>
292 292
       <if test="record.bwEKey != null" >
293 293
         bw_e_key = #{record.bwEKey,jdbcType=VARCHAR},
294 294
       </if>
295 295
       <if test="record.bwEVal != null" >
296
-        bw_e_val = #{record.bwEVal,jdbcType=DECIMAL},
296
+        bw_e_val = #{record.bwEVal,jdbcType=VARCHAR},
297 297
       </if>
298 298
       <if test="record.bwFKey != null" >
299 299
         bw_f_key = #{record.bwFKey,jdbcType=VARCHAR},
300 300
       </if>
301 301
       <if test="record.bwFVal != null" >
302
-        bw_f_val = #{record.bwFVal,jdbcType=DECIMAL},
302
+        bw_f_val = #{record.bwFVal,jdbcType=VARCHAR},
303 303
       </if>
304 304
       <if test="record.inputTime != null" >
305 305
         input_time = #{record.inputTime,jdbcType=TIMESTAMP},
@@ -319,17 +319,17 @@
319 319
       org_id = #{record.orgId,jdbcType=INTEGER},
320 320
       qy = #{record.qy,jdbcType=INTEGER},
321 321
       bw_a_key = #{record.bwAKey,jdbcType=VARCHAR},
322
-      bw_a_val = #{record.bwAVal,jdbcType=DECIMAL},
322
+      bw_a_val = #{record.bwAVal,jdbcType=VARCHAR},
323 323
       bw_b_key = #{record.bwBKey,jdbcType=VARCHAR},
324
-      bw_b_val = #{record.bwBVal,jdbcType=DECIMAL},
324
+      bw_b_val = #{record.bwBVal,jdbcType=VARCHAR},
325 325
       bw_c_key = #{record.bwCKey,jdbcType=VARCHAR},
326
-      bw_c_val = #{record.bwCVal,jdbcType=DECIMAL},
326
+      bw_c_val = #{record.bwCVal,jdbcType=VARCHAR},
327 327
       bw_d_key = #{record.bwDKey,jdbcType=VARCHAR},
328
-      bw_d_val = #{record.bwDVal,jdbcType=DECIMAL},
328
+      bw_d_val = #{record.bwDVal,jdbcType=VARCHAR},
329 329
       bw_e_key = #{record.bwEKey,jdbcType=VARCHAR},
330
-      bw_e_val = #{record.bwEVal,jdbcType=DECIMAL},
330
+      bw_e_val = #{record.bwEVal,jdbcType=VARCHAR},
331 331
       bw_f_key = #{record.bwFKey,jdbcType=VARCHAR},
332
-      bw_f_val = #{record.bwFVal,jdbcType=DECIMAL},
332
+      bw_f_val = #{record.bwFVal,jdbcType=VARCHAR},
333 333
       input_time = #{record.inputTime,jdbcType=TIMESTAMP},
334 334
       edit_time = #{record.editTime,jdbcType=TIMESTAMP}
335 335
     <if test="_parameter != null" >
@@ -352,37 +352,37 @@
352 352
         bw_a_key = #{bwAKey,jdbcType=VARCHAR},
353 353
       </if>
354 354
       <if test="bwAVal != null" >
355
-        bw_a_val = #{bwAVal,jdbcType=DECIMAL},
355
+        bw_a_val = #{bwAVal,jdbcType=VARCHAR},
356 356
       </if>
357 357
       <if test="bwBKey != null" >
358 358
         bw_b_key = #{bwBKey,jdbcType=VARCHAR},
359 359
       </if>
360 360
       <if test="bwBVal != null" >
361
-        bw_b_val = #{bwBVal,jdbcType=DECIMAL},
361
+        bw_b_val = #{bwBVal,jdbcType=VARCHAR},
362 362
       </if>
363 363
       <if test="bwCKey != null" >
364 364
         bw_c_key = #{bwCKey,jdbcType=VARCHAR},
365 365
       </if>
366 366
       <if test="bwCVal != null" >
367
-        bw_c_val = #{bwCVal,jdbcType=DECIMAL},
367
+        bw_c_val = #{bwCVal,jdbcType=VARCHAR},
368 368
       </if>
369 369
       <if test="bwDKey != null" >
370 370
         bw_d_key = #{bwDKey,jdbcType=VARCHAR},
371 371
       </if>
372 372
       <if test="bwDVal != null" >
373
-        bw_d_val = #{bwDVal,jdbcType=DECIMAL},
373
+        bw_d_val = #{bwDVal,jdbcType=VARCHAR},
374 374
       </if>
375 375
       <if test="bwEKey != null" >
376 376
         bw_e_key = #{bwEKey,jdbcType=VARCHAR},
377 377
       </if>
378 378
       <if test="bwEVal != null" >
379
-        bw_e_val = #{bwEVal,jdbcType=DECIMAL},
379
+        bw_e_val = #{bwEVal,jdbcType=VARCHAR},
380 380
       </if>
381 381
       <if test="bwFKey != null" >
382 382
         bw_f_key = #{bwFKey,jdbcType=VARCHAR},
383 383
       </if>
384 384
       <if test="bwFVal != null" >
385
-        bw_f_val = #{bwFVal,jdbcType=DECIMAL},
385
+        bw_f_val = #{bwFVal,jdbcType=VARCHAR},
386 386
       </if>
387 387
       <if test="inputTime != null" >
388 388
         input_time = #{inputTime,jdbcType=TIMESTAMP},
@@ -399,17 +399,17 @@
399 399
       org_id = #{orgId,jdbcType=INTEGER},
400 400
       qy = #{qy,jdbcType=INTEGER},
401 401
       bw_a_key = #{bwAKey,jdbcType=VARCHAR},
402
-      bw_a_val = #{bwAVal,jdbcType=DECIMAL},
402
+      bw_a_val = #{bwAVal,jdbcType=VARCHAR},
403 403
       bw_b_key = #{bwBKey,jdbcType=VARCHAR},
404
-      bw_b_val = #{bwBVal,jdbcType=DECIMAL},
404
+      bw_b_val = #{bwBVal,jdbcType=VARCHAR},
405 405
       bw_c_key = #{bwCKey,jdbcType=VARCHAR},
406
-      bw_c_val = #{bwCVal,jdbcType=DECIMAL},
406
+      bw_c_val = #{bwCVal,jdbcType=VARCHAR},
407 407
       bw_d_key = #{bwDKey,jdbcType=VARCHAR},
408
-      bw_d_val = #{bwDVal,jdbcType=DECIMAL},
408
+      bw_d_val = #{bwDVal,jdbcType=VARCHAR},
409 409
       bw_e_key = #{bwEKey,jdbcType=VARCHAR},
410
-      bw_e_val = #{bwEVal,jdbcType=DECIMAL},
410
+      bw_e_val = #{bwEVal,jdbcType=VARCHAR},
411 411
       bw_f_key = #{bwFKey,jdbcType=VARCHAR},
412
-      bw_f_val = #{bwFVal,jdbcType=DECIMAL},
412
+      bw_f_val = #{bwFVal,jdbcType=VARCHAR},
413 413
       input_time = #{inputTime,jdbcType=TIMESTAMP},
414 414
       edit_time = #{editTime,jdbcType=TIMESTAMP}
415 415
     where id = #{id,jdbcType=VARCHAR}

+ 18 - 19
src/main/java/com/chinaitop/depot/storage/model/StorageWarterMobilePoint.java

@@ -1,6 +1,5 @@
1 1
 package com.chinaitop.depot.storage.model;
2 2
 
3
-import java.math.BigDecimal;
4 3
 import java.util.Date;
5 4
 
6 5
 public class StorageWarterMobilePoint {
@@ -14,27 +13,27 @@ public class StorageWarterMobilePoint {
14 13
 
15 14
     private String bwAKey;
16 15
 
17
-    private BigDecimal bwAVal;
16
+    private String bwAVal;
18 17
 
19 18
     private String bwBKey;
20 19
 
21
-    private BigDecimal bwBVal;
20
+    private String bwBVal;
22 21
 
23 22
     private String bwCKey;
24 23
 
25
-    private BigDecimal bwCVal;
24
+    private String bwCVal;
26 25
 
27 26
     private String bwDKey;
28 27
 
29
-    private BigDecimal bwDVal;
28
+    private String bwDVal;
30 29
 
31 30
     private String bwEKey;
32 31
 
33
-    private BigDecimal bwEVal;
32
+    private String bwEVal;
34 33
 
35 34
     private String bwFKey;
36 35
 
37
-    private BigDecimal bwFVal;
36
+    private String bwFVal;
38 37
 
39 38
     private Date inputTime;
40 39
 
@@ -124,7 +123,7 @@ public class StorageWarterMobilePoint {
124 123
      * null
125 124
      * @return bw_a_val null
126 125
      */
127
-    public BigDecimal getBwAVal() {
126
+    public String getBwAVal() {
128 127
         return bwAVal;
129 128
     }
130 129
 
@@ -132,7 +131,7 @@ public class StorageWarterMobilePoint {
132 131
      * null
133 132
      * @param bwAVal null
134 133
      */
135
-    public void setBwAVal(BigDecimal bwAVal) {
134
+    public void setBwAVal(String bwAVal) {
136 135
         this.bwAVal = bwAVal;
137 136
     }
138 137
 
@@ -156,7 +155,7 @@ public class StorageWarterMobilePoint {
156 155
      * null
157 156
      * @return bw_b_val null
158 157
      */
159
-    public BigDecimal getBwBVal() {
158
+    public String getBwBVal() {
160 159
         return bwBVal;
161 160
     }
162 161
 
@@ -164,7 +163,7 @@ public class StorageWarterMobilePoint {
164 163
      * null
165 164
      * @param bwBVal null
166 165
      */
167
-    public void setBwBVal(BigDecimal bwBVal) {
166
+    public void setBwBVal(String bwBVal) {
168 167
         this.bwBVal = bwBVal;
169 168
     }
170 169
 
@@ -188,7 +187,7 @@ public class StorageWarterMobilePoint {
188 187
      * null
189 188
      * @return bw_c_val null
190 189
      */
191
-    public BigDecimal getBwCVal() {
190
+    public String getBwCVal() {
192 191
         return bwCVal;
193 192
     }
194 193
 
@@ -196,7 +195,7 @@ public class StorageWarterMobilePoint {
196 195
      * null
197 196
      * @param bwCVal null
198 197
      */
199
-    public void setBwCVal(BigDecimal bwCVal) {
198
+    public void setBwCVal(String bwCVal) {
200 199
         this.bwCVal = bwCVal;
201 200
     }
202 201
 
@@ -220,7 +219,7 @@ public class StorageWarterMobilePoint {
220 219
      * null
221 220
      * @return bw_d_val null
222 221
      */
223
-    public BigDecimal getBwDVal() {
222
+    public String getBwDVal() {
224 223
         return bwDVal;
225 224
     }
226 225
 
@@ -228,7 +227,7 @@ public class StorageWarterMobilePoint {
228 227
      * null
229 228
      * @param bwDVal null
230 229
      */
231
-    public void setBwDVal(BigDecimal bwDVal) {
230
+    public void setBwDVal(String bwDVal) {
232 231
         this.bwDVal = bwDVal;
233 232
     }
234 233
 
@@ -252,7 +251,7 @@ public class StorageWarterMobilePoint {
252 251
      * null
253 252
      * @return bw_e_val null
254 253
      */
255
-    public BigDecimal getBwEVal() {
254
+    public String getBwEVal() {
256 255
         return bwEVal;
257 256
     }
258 257
 
@@ -260,7 +259,7 @@ public class StorageWarterMobilePoint {
260 259
      * null
261 260
      * @param bwEVal null
262 261
      */
263
-    public void setBwEVal(BigDecimal bwEVal) {
262
+    public void setBwEVal(String bwEVal) {
264 263
         this.bwEVal = bwEVal;
265 264
     }
266 265
 
@@ -284,7 +283,7 @@ public class StorageWarterMobilePoint {
284 283
      * null
285 284
      * @return bw_f_val null
286 285
      */
287
-    public BigDecimal getBwFVal() {
286
+    public String getBwFVal() {
288 287
         return bwFVal;
289 288
     }
290 289
 
@@ -292,7 +291,7 @@ public class StorageWarterMobilePoint {
292 291
      * null
293 292
      * @param bwFVal null
294 293
      */
295
-    public void setBwFVal(BigDecimal bwFVal) {
294
+    public void setBwFVal(String bwFVal) {
296 295
         this.bwFVal = bwFVal;
297 296
     }
298 297