Quellcode durchsuchen

库房信息增加字段

renyu vor 3 Jahren
Ursprung
Commit
bb01ed9f3a

+ 250 - 5
src/main/java/com/chinaitop/depot/basic/mapper/BasicStorehouseMapper.xml

@@ -70,6 +70,22 @@
70 70
     <result column="cfbm" jdbcType="VARCHAR" property="cfbm" />
71 71
     <result column="ajbm" jdbcType="VARCHAR" property="ajbm" />
72 72
     <result column="agentdepotname" jdbcType="VARCHAR" property="agentDepotName" />
73
+    <result column="clgx" jdbcType="INTEGER" property="clgx" />
74
+    <result column="jgcl" jdbcType="INTEGER" property="jgcl" />
75
+    <result column="grxn" jdbcType="INTEGER" property="grxn" />
76
+    <result column="qmx" jdbcType="INTEGER" property="qmx" />
77
+    <result column="lqjs" jdbcType="INTEGER" property="lqjs" />
78
+    <result column="tfjs" jdbcType="INTEGER" property="tfjs" />
79
+    <result column="scjs" jdbcType="INTEGER" property="scjs" />
80
+    <result column="kwjs" jdbcType="INTEGER" property="kwjs" />
81
+    <result column="sfyjxxxhgz" jdbcType="INTEGER" property="sfyjxxxhgz" />
82
+    <result column="dlmxs" jdbcType="VARCHAR" property="dlmxs" />
83
+    <result column="jsdw" jdbcType="VARCHAR" property="jsdw" />
84
+    <result column="sjsynx" jdbcType="VARCHAR" property="sjsynx" />
85
+    <result column="sjdw" jdbcType="VARCHAR" property="sjdw" />
86
+    <result column="jldw" jdbcType="VARCHAR" property="jldw" />
87
+    <result column="nfgrbw" jdbcType="INTEGER" property="nfgrbw" />
88
+    <result column="tfxtxs" jdbcType="INTEGER" property="tfxtxs" />
73 89
   </resultMap>
74 90
   <sql id="Example_Where_Clause">
75 91
     <where>
@@ -140,7 +156,7 @@
140 156
     usedate, storehouse_state, store_way, currenttype, dutystoreman, remark, createname, 
141 157
     createdate, updatename, updatedate, working_status, del_flag, library_type, 
142 158
     grbwcs, ywlqjcss, ywfhfbfdss, ywfsfqfczz, nfszcc, nffddyqtcl, nfhlxzsc, nfcwcc, ywjxtfss, 
143
-    datatype, cfbm, ajbm
159
+    datatype, cfbm, ajbm, clgx, jgcl, grxn, qmx, lqjs, tfjs, scjs, kwjs, sfyjxxxhgz, dlmxs, jsdw, sjsynx, sjdw, jldw, nfgrbw, tfxtxs
144 160
   </sql>
145 161
   <select id="selectByExample" parameterType="com.chinaitop.depot.basic.model.BasicStorehouseExample" resultMap="BaseResultMap">
146 162
     select
@@ -198,7 +214,7 @@
198 214
       grbwcs, ywlqjcss, 
199 215
       ywfhfbfdss, ywfsfqfczz, nfszcc, 
200 216
       nffddyqtcl, nfhlxzsc, nfcwcc, 
201
-      ywjxtfss, datatype, cfbm, ajbm)
217
+      ywjxtfss, datatype, cfbm, ajbm, clgx, jgcl, grxn, qmx, lqjs, tfjs, scjs, kwjs, sfyjxxxhgz, dlmxs, jsdw, sjsynx, sjdw, jldw, nfgrbw, tfxtxs)
202 218
     values (#{storehouseId,jdbcType=INTEGER}, #{uuid,jdbcType=VARCHAR}, #{depotId,jdbcType=INTEGER}, 
203 219
       #{depotName,jdbcType=VARCHAR}, #{orgId,jdbcType=INTEGER}, #{orgName,jdbcType=VARCHAR}, 
204 220
       #{storehouseCode,jdbcType=VARCHAR}, #{storehouseName,jdbcType=VARCHAR}, #{storehouseType,jdbcType=INTEGER}, 
@@ -221,7 +237,12 @@
221 237
       #{grbwcs,jdbcType=VARCHAR}, #{ywlqjcss,jdbcType=INTEGER}, 
222 238
       #{ywfhfbfdss,jdbcType=INTEGER}, #{ywfsfqfczz,jdbcType=INTEGER}, #{nfszcc,jdbcType=INTEGER}, 
223 239
       #{nffddyqtcl,jdbcType=INTEGER}, #{nfhlxzsc,jdbcType=INTEGER}, #{nfcwcc,jdbcType=INTEGER}, 
224
-      #{ywjxtfss,jdbcType=INTEGER}, #{datatype,jdbcType=VARCHAR}, #{cfbm,jdbcType=VARCHAR}, #{ajbm,jdbcType=VARCHAR})
240
+      #{ywjxtfss,jdbcType=INTEGER}, #{datatype,jdbcType=VARCHAR}, #{cfbm,jdbcType=VARCHAR}, #{ajbm,jdbcType=VARCHAR},
241
+      #{clgx,jdbcType=INTEGER}, #{jgcl,jdbcType=INTEGER}, #{grxn,jdbcType=INTEGER}, #{qmx,jdbcType=INTEGER},
242
+      #{lqjs,jdbcType=INTEGER}, #{tfjs,jdbcType=INTEGER}, #{scjs,jdbcType=INTEGER}, #{kwjs,jdbcType=INTEGER},
243
+      #{sfyjxxxhgz,jdbcType=INTEGER}, #{dlmxs,jdbcType=VARCHAR}, #{jsdw,jdbcType=VARCHAR}, #{sjsynx,jdbcType=VARCHAR},
244
+      #{sjdw,jdbcType=VARCHAR}, #{jldw,jdbcType=VARCHAR}, #{nfgrbw,jdbcType=INTEGER}, #{tfxtxs,jdbcType=INTEGER}
245
+      )
225 246
   </insert>
226 247
   <insert id="insertSelective" keyProperty="storehouseId" parameterType="com.chinaitop.depot.basic.model.BasicStorehouse" useGeneratedKeys="true">
227 248
     <selectKey keyProperty="storehouseId" order="BEFORE" resultType="java.lang.Integer">
@@ -430,6 +451,54 @@
430 451
       <if test="ajbm != null">
431 452
         ajbm,
432 453
       </if>
454
+      <if test="clgx != null">
455
+        clgx,
456
+      </if>
457
+      <if test="jgcl != null">
458
+        jgcl,
459
+      </if>
460
+      <if test="grxn != null">
461
+        grxn,
462
+      </if>
463
+      <if test="qmx != null">
464
+        qmx,
465
+      </if>
466
+      <if test="lqjs != null">
467
+        lqjs,
468
+      </if>
469
+      <if test="tfjs != null">
470
+        tfjs,
471
+      </if>
472
+      <if test="scjs != null">
473
+        scjs,
474
+      </if>
475
+      <if test="kwjs != null">
476
+        kwjs,
477
+      </if>
478
+      <if test="sfyjxxxhgz != null">
479
+        sfyjxxxhgz,
480
+      </if>
481
+      <if test="dlmxs != null">
482
+        dlmxs,
483
+      </if>
484
+      <if test="jsdw != null">
485
+        jsdw,
486
+      </if>
487
+      <if test="sjsynx != null">
488
+        sjsynx,
489
+      </if>
490
+      <if test="sjdw != null">
491
+        sjdw,
492
+      </if>
493
+      <if test="jldw != null">
494
+        jldw,
495
+      </if>
496
+      <if test="nfgrbw != null">
497
+        nfgrbw,
498
+      </if>
499
+      <if test="tfxtxs != null">
500
+        tfxtxs,
501
+      </if>
433 502
     </trim>
434 503
     <trim prefix="values (" suffix=")" suffixOverrides=",">
435 504
       <if test="storehouseId != null">
@@ -633,6 +702,54 @@
633 702
       <if test="ajbm != null">
634 703
         #{ajbm,jdbcType=VARCHAR},
635 704
       </if>
705
+      <if test="clgx != null">
706
+        #{clgx,jdbcType=INTEGER},
707
+      </if>
708
+      <if test="jgcl != null">
709
+        #{jgcl,jdbcType=INTEGER},
710
+      </if>
711
+      <if test="grxn != null">
712
+        #{grxn,jdbcType=INTEGER},
713
+      </if>
714
+      <if test="qmx != null">
715
+        #{qmx,jdbcType=INTEGER},
716
+      </if>
717
+      <if test="lqjs != null">
718
+        #{lqjs,jdbcType=INTEGER},
719
+      </if>
720
+      <if test="tfjs != null">
721
+        #{tfjs,jdbcType=INTEGER},
722
+      </if>
723
+      <if test="scjs != null">
724
+        #{scjs,jdbcType=INTEGER},
725
+      </if>
726
+      <if test="kwjs != null">
727
+        #{kwjs,jdbcType=INTEGER},
728
+      </if>
729
+      <if test="sfyjxxxhgz != null">
730
+        #{sfyjxxxhgz,jdbcType=INTEGER},
731
+      </if>
732
+      <if test="dlmxs != null">
733
+        #{dlmxs,jdbcType=VARCHAR},
734
+      </if>
735
+      <if test="jsdw != null">
736
+        #{jsdw,jdbcType=VARCHAR},
737
+      </if>
738
+      <if test="sjsynx != null">
739
+        #{sjsynx,jdbcType=VARCHAR},
740
+      </if>
741
+      <if test="sjdw != null">
742
+        #{sjdw,jdbcType=VARCHAR},
743
+      </if>
744
+      <if test="jldw != null">
745
+        #{jldw,jdbcType=VARCHAR},
746
+      </if>
747
+      <if test="nfgrbw != null">
748
+        #{nfgrbw,jdbcType=INTEGER},
749
+      </if>
750
+      <if test="tfxtxs != null">
751
+        #{tfxtxs,jdbcType=INTEGER},
752
+      </if>
636 753
     </trim>
637 754
   </insert>
638 755
   <select id="countByExample" parameterType="com.chinaitop.depot.basic.model.BasicStorehouseExample" resultType="java.lang.Integer">
@@ -845,6 +962,54 @@
845 962
       <if test="record.ajbm != null">
846 963
         ajbm = #{record.ajbm,jdbcType=VARCHAR},
847 964
       </if>
965
+      <if test="record.clgx != null">
966
+        clgx = #{record.clgx,jdbcType=INTEGER},
967
+      </if>
968
+      <if test="record.jgcl != null">
969
+        jgcl = #{record.jgcl,jdbcType=INTEGER},
970
+      </if>
971
+      <if test="record.grxn != null">
972
+        grxn = #{record.grxn,jdbcType=INTEGER},
973
+      </if>
974
+      <if test="record.qmx != null">
975
+        qmx = #{record.qmx,jdbcType=INTEGER},
976
+      </if>
977
+      <if test="record.lqjs != null">
978
+        lqjs = #{record.lqjs,jdbcType=INTEGER},
979
+      </if>
980
+      <if test="record.tfjs != null">
981
+        tfjs = #{record.tfjs,jdbcType=INTEGER},
982
+      </if>
983
+      <if test="record.scjs != null">
984
+        scjs = #{record.scjs,jdbcType=INTEGER},
985
+      </if>
986
+      <if test="record.kwjs != null">
987
+        kwjs = #{record.kwjs,jdbcType=INTEGER},
988
+      </if>
989
+      <if test="record.sfyjxxxhgz != null">
990
+        sfyjxxxhgz = #{record.sfyjxxxhgz,jdbcType=INTEGER},
991
+      </if>
992
+      <if test="record.dlmxs != null">
993
+        dlmxs = #{record.dlmxs,jdbcType=VARCHAR},
994
+      </if>
995
+      <if test="record.jsdw != null">
996
+        jsdw = #{record.jsdw,jdbcType=VARCHAR},
997
+      </if>
998
+      <if test="record.sjsynx != null">
999
+        sjsynx = #{record.sjsynx,jdbcType=VARCHAR},
1000
+      </if>
1001
+      <if test="record.sjdw != null">
1002
+        sjdw = #{record.sjdw,jdbcType=VARCHAR},
1003
+      </if>
1004
+      <if test="record.jldw != null">
1005
+        jldw = #{record.jldw,jdbcType=VARCHAR},
1006
+      </if>
1007
+      <if test="record.nfgrbw != null">
1008
+        nfgrbw = #{record.nfgrbw,jdbcType=INTEGER},
1009
+      </if>
1010
+      <if test="record.tfxtxs != null">
1011
+        tfxtxs = #{record.tfxtxs,jdbcType=INTEGER},
1012
+      </if>
848 1013
     </set>
849 1014
     <if test="_parameter != null">
850 1015
       <include refid="Update_By_Example_Where_Clause" />
@@ -918,7 +1083,23 @@
918 1083
       ywjxtfss = #{record.ywjxtfss,jdbcType=INTEGER},
919 1084
       datatype = #{record.datatype,jdbcType=VARCHAR},
920 1085
       cfbm = #{record.cfbm,jdbcType=VARCHAR},
921
-      ajbm = #{record.ajbm,jdbcType=VARCHAR}
1086
+      ajbm = #{record.ajbm,jdbcType=VARCHAR},
1087
+      clgx = #{record.clgx,jdbcType=INTEGER},
1088
+      jgcl = #{record.jgcl,jdbcType=INTEGER},
1089
+      grxn = #{record.grxn,jdbcType=INTEGER},
1090
+      qmx = #{record.qmx,jdbcType=INTEGER},
1091
+      lqjs = #{record.lqjs,jdbcType=INTEGER},
1092
+      tfjs = #{record.tfjs,jdbcType=INTEGER},
1093
+      scjs = #{record.scjs,jdbcType=INTEGER},
1094
+      kwjs = #{record.kwjs,jdbcType=INTEGER},
1095
+      sfyjxxxhgz = #{record.sfyjxxxhgz,jdbcType=INTEGER},
1096
+      dlmxs = #{record.dlmxs,jdbcType=VARCHAR},
1097
+      jsdw = #{record.jsdw,jdbcType=VARCHAR},
1098
+      sjsynx = #{record.sjsynx,jdbcType=VARCHAR},
1099
+      sjdw = #{record.sjdw,jdbcType=VARCHAR},
1100
+      jldw = #{record.jldw,jdbcType=VARCHAR},
1101
+      nfgrbw = #{record.nfgrbw,jdbcType=INTEGER},
1102
+      tfxtxs = #{record.tfxtxs,jdbcType=INTEGER}
922 1103
     <if test="_parameter != null">
923 1104
       <include refid="Update_By_Example_Where_Clause" />
924 1105
     </if>
@@ -1124,6 +1305,54 @@
1124 1305
       <if test="ajbm != null">
1125 1306
         ajbm = #{ajbm,jdbcType=VARCHAR},
1126 1307
       </if>
1308
+      <if test="clgx != null">
1309
+        clgx = #{clgx,jdbcType=INTEGER},
1310
+      </if>
1311
+      <if test="jgcl != null">
1312
+        jgcl = #{jgcl,jdbcType=INTEGER},
1313
+      </if>
1314
+      <if test="grxn != null">
1315
+        grxn = #{grxn,jdbcType=INTEGER},
1316
+      </if>
1317
+      <if test="qmx != null">
1318
+        qmx = #{qmx,jdbcType=INTEGER},
1319
+      </if>
1320
+      <if test="lqjs != null">
1321
+        lqjs = #{lqjs,jdbcType=INTEGER},
1322
+      </if>
1323
+      <if test="tfjs != null">
1324
+        tfjs = #{tfjs,jdbcType=INTEGER},
1325
+      </if>
1326
+      <if test="scjs != null">
1327
+        scjs = #{scjs,jdbcType=INTEGER},
1328
+      </if>
1329
+      <if test="kwjs != null">
1330
+        kwjs = #{kwjs,jdbcType=INTEGER},
1331
+      </if>
1332
+      <if test="sfyjxxxhgz != null">
1333
+        sfyjxxxhgz = #{sfyjxxxhgz,jdbcType=INTEGER},
1334
+      </if>
1335
+      <if test="dlmxs != null">
1336
+        dlmxs = #{dlmxs,jdbcType=VARCHAR},
1337
+      </if>
1338
+      <if test="jsdw != null">
1339
+        jsdw = #{jsdw,jdbcType=VARCHAR},
1340
+      </if>
1341
+      <if test="sjsynx != null">
1342
+        sjsynx = #{sjsynx,jdbcType=VARCHAR},
1343
+      </if>
1344
+      <if test="sjdw != null">
1345
+        sjdw = #{sjdw,jdbcType=VARCHAR},
1346
+      </if>
1347
+      <if test="jldw != null">
1348
+        jldw = #{jldw,jdbcType=VARCHAR},
1349
+      </if>
1350
+      <if test="nfgrbw != null">
1351
+        nfgrbw = #{nfgrbw,jdbcType=INTEGER},
1352
+      </if>
1353
+      <if test="tfxtxs != null">
1354
+        tfxtxs = #{tfxtxs,jdbcType=INTEGER},
1355
+      </if>
1127 1356
     </set>
1128 1357
     where storehouse_id = #{storehouseId,jdbcType=INTEGER}
1129 1358
   </update>
@@ -1194,7 +1423,23 @@
1194 1423
       ywjxtfss = #{ywjxtfss,jdbcType=INTEGER},
1195 1424
       datatype = #{datatype,jdbcType=VARCHAR},
1196 1425
       cfbm = #{cfbm,jdbcType=VARCHAR},
1197
-      ajbm = #{ajbm,jdbcType=VARCHAR}
1426
+      ajbm = #{ajbm,jdbcType=VARCHAR},
1427
+      clgx = #{clgx,jdbcType=INTEGER},
1428
+      jgcl = #{jgcl,jdbcType=INTEGER},
1429
+      grxn = #{grxn,jdbcType=INTEGER},
1430
+      qmx = #{qmx,jdbcType=INTEGER},
1431
+      lqjs = #{lqjs,jdbcType=INTEGER},
1432
+      tfjs = #{tfjs,jdbcType=INTEGER},
1433
+      scjs = #{scjs,jdbcType=INTEGER},
1434
+      kwjs = #{kwjs,jdbcType=INTEGER},
1435
+      sfyjxxxhgz = #{sfyjxxxhgz,jdbcType=INTEGER},
1436
+      dlmxs = #{dlmxs,jdbcType=VARCHAR},
1437
+      jsdw = #{jsdw,jdbcType=VARCHAR},
1438
+      sjsynx = #{sjsynx,jdbcType=VARCHAR},
1439
+      sjdw = #{sjdw,jdbcType=VARCHAR},
1440
+      jldw = #{jldw,jdbcType=VARCHAR},
1441
+      nfgrbw = #{nfgrbw,jdbcType=INTEGER},
1442
+      tfxtxs = #{tfxtxs,jdbcType=INTEGER}
1198 1443
     where storehouse_id = #{storehouseId,jdbcType=INTEGER}
1199 1444
   </update>
1200 1445
   

+ 199 - 0
src/main/java/com/chinaitop/depot/basic/model/BasicStorehouse.java

@@ -141,6 +141,86 @@ public class BasicStorehouse {
141 141
     private String ajbm;
142 142
 
143 143
     /**
144
+     * 储粮功效
145
+     */
146
+    private Integer clgx;
147
+
148
+    /**
149
+     * 结构材料
150
+     */
151
+    private Integer jgcl;
152
+
153
+    /**
154
+     * 隔热性能
155
+     */
156
+    private Integer grxn;
157
+
158
+    /**
159
+     * 气密性
160
+     */
161
+    private Integer qmx;
162
+
163
+    /**
164
+     * 粮情技术
165
+     */
166
+    private Integer lqjs;
167
+
168
+    /**
169
+     * 通风技术
170
+     */
171
+    private Integer tfjs;
172
+
173
+    /**
174
+     * 杀虫技术
175
+     */
176
+    private Integer scjs;
177
+
178
+    /**
179
+     * 控温技术
180
+     */
181
+    private Integer kwjs;
182
+
183
+    /**
184
+     * 是否已进行信息化改造
185
+     */
186
+    private Integer sfyjxxxhgz;
187
+
188
+    /**
189
+     * 挡粮门型式
190
+     */
191
+    private String dlmxs;
192
+
193
+    /**
194
+     * 建设单位
195
+     */
196
+    private String jsdw;
197
+
198
+    /**
199
+     * 设计使用年限
200
+     */
201
+    private String sjsynx;
202
+
203
+    /**
204
+     * 设计单位
205
+     */
206
+    private String sjdw;
207
+
208
+    /**
209
+     * 监理单位
210
+     */
211
+    private String jldw;
212
+
213
+    /**
214
+     * 能否隔热保温
215
+     */
216
+    private Integer nfgrbw;
217
+
218
+    /**
219
+     * 通风系统型式
220
+     */
221
+    private Integer tfxtxs;
222
+
223
+    /**
144 224
      * null
145 225
      * @return storehouse_id null
146 226
      */
@@ -1204,4 +1284,123 @@ public class BasicStorehouse {
1204 1284
 		this.ajbm = ajbm;
1205 1285
 	}
1206 1286
 
1287
+    public Integer getClgx() {
1288
+        return clgx;
1289
+    }
1290
+
1291
+    public void setClgx(Integer clgx) {
1292
+        this.clgx = clgx;
1293
+    }
1294
+
1295
+    public Integer getJgcl() {
1296
+        return jgcl;
1297
+    }
1298
+
1299
+    public void setJgcl(Integer jgcl) {
1300
+        this.jgcl = jgcl;
1301
+    }
1302
+
1303
+    public Integer getGrxn() {
1304
+        return grxn;
1305
+    }
1306
+
1307
+    public void setGrxn(Integer grxn) {
1308
+        this.grxn = grxn;
1309
+    }
1310
+
1311
+    public Integer getQmx() {
1312
+        return qmx;
1313
+    }
1314
+
1315
+    public void setQmx(Integer qmx) {
1316
+        this.qmx = qmx;
1317
+    }
1318
+
1319
+    public Integer getLqjs() {
1320
+        return lqjs;
1321
+    }
1322
+
1323
+    public void setLqjs(Integer lqjs) {
1324
+        this.lqjs = lqjs;
1325
+    }
1326
+
1327
+    public Integer getTfjs() {
1328
+        return tfjs;
1329
+    }
1330
+
1331
+    public void setTfjs(Integer tfjs) {
1332
+        this.tfjs = tfjs;
1333
+    }
1334
+
1335
+    public Integer getScjs() {
1336
+        return scjs;
1337
+    }
1338
+
1339
+    public void setScjs(Integer scjs) {
1340
+        this.scjs = scjs;
1341
+    }
1342
+
1343
+    public Integer getKwjs() {
1344
+        return kwjs;
1345
+    }
1346
+
1347
+    public void setKwjs(Integer kwjs) {
1348
+        this.kwjs = kwjs;
1349
+    }
1350
+
1351
+    public Integer getSfyjxxxhgz() {
1352
+        return sfyjxxxhgz;
1353
+    }
1354
+
1355
+    public void setSfyjxxxhgz(Integer sfyjxxxhgz) {
1356
+        this.sfyjxxxhgz = sfyjxxxhgz;
1357
+    }
1358
+
1359
+    public String getDlmxs() {
1360
+        return dlmxs;
1361
+    }
1362
+
1363
+    public void setDlmxs(String dlmxs) {
1364
+        this.dlmxs = dlmxs;
1365
+    }
1366
+
1367
+    public String getJsdw() {
1368
+        return jsdw;
1369
+    }
1370
+
1371
+    public void setJsdw(String jsdw) {
1372
+        this.jsdw = jsdw;
1373
+    }
1374
+
1375
+    public String getSjsynx() {
1376
+        return sjsynx;
1377
+    }
1378
+
1379
+    public void setSjsynx(String sjsynx) {
1380
+        this.sjsynx = sjsynx;
1381
+    }
1382
+
1383
+    public String getSjdw() {
1384
+        return sjdw;
1385
+    }
1386
+
1387
+    public void setSjdw(String sjdw) {
1388
+        this.sjdw = sjdw;
1389
+    }
1390
+
1391
+    public String getJldw() {
1392
+        return jldw;
1393
+    }
1394
+
1395
+    public void setJldw(String jldw) {
1396
+        this.jldw = jldw;
1397
+    }
1398
+
1399
+    public Integer getNfgrbw() {
1400
+        return nfgrbw;
1401
+    }
1402
+
1403
+    public void setNfgrbw(Integer nfgrbw) {
1404
+        this.nfgrbw = nfgrbw;
1405
+    }
1207 1406
 }