Bladeren bron

质检的国家局新增字段

mengy 5 jaren geleden
bovenliggende
commit
86cfc787a2

+ 185 - 5
src/main/java/com/chinaitop/depot/storage/mapper/StorageQualitycheckMapper.xml

@@ -91,6 +91,20 @@
91 91
     <result column="quailtycard_id" property="quailtycardId" jdbcType="VARCHAR" />
92 92
     <result column="butyl_phenol" property="butylPhenol" jdbcType="VARCHAR" />
93 93
     <result column="flag_type" property="flagType" jdbcType="INTEGER" />
94
+
95
+    <result column="jylb" property="jylb" jdbcType="VARCHAR" />
96
+    <result column="qfrq" property="qfrq" jdbcType="TIMESTAMP" />
97
+    <result column="ypsl" property="ypsl" jdbcType="VARCHAR" />
98
+    <result column="dbsl" property="dbsl" jdbcType="VARCHAR" />
99
+    <result column="ypdj" property="ypdj" jdbcType="VARCHAR" />
100
+
101
+    <result column="qyqy" property="qyqy" jdbcType="VARCHAR" />
102
+    <result column="qydbh" property="qydbh" jdbcType="VARCHAR" />
103
+    <result column="zblb" property="zblb" jdbcType="VARCHAR" />
104
+    <result column="jdrxm" property="jdrxm" jdbcType="VARCHAR" />
105
+    <result column="ypbh" property="ypbh" jdbcType="VARCHAR" />
106
+    <result column="sfzcccnx" property="sfzcccnx" jdbcType="VARCHAR" />
107
+
94 108
   </resultMap>
95 109
   <sql id="Example_Where_Clause" >
96 110
     <where >
@@ -165,7 +179,9 @@
165 179
     store_quality, is_pest, inspection_standard_basis, quality, seal_date, seal_status, 
166 180
     auth_code, org_id, history_status, intermixing_rate, smelltaste, transparency, peroxide_value, 
167 181
     smoke_point, reeze_test, residual_solvent, lead, total_arsenic, aflatoxin, quailtycard_id, 
168
-    butyl_phenol, flag_type
182
+    butyl_phenol, flag_type,
183
+    jylb,qfrq,ypsl,dbsl,ypdj,
184
+    qyqy,qydbh,zblb,jdrxm,ypbh,sfzcccnx
169 185
   </sql>
170 186
   <select id="selectByExample" resultMap="BaseResultMap" parameterType="com.chinaitop.depot.storage.model.StorageQualitycheckExample" >
171 187
     select
@@ -227,7 +243,9 @@
227 243
       org_id, history_status, intermixing_rate, 
228 244
       smelltaste, transparency, peroxide_value, 
229 245
       smoke_point, reeze_test, residual_solvent, 
230
-      lead, total_arsenic, aflatoxin, 
246
+      lead, total_arsenic, aflatoxin,
247
+      jylb,qfrq,ypsl,dbsl,ypdj,
248
+      qyqy,qydbh,zblb,jdrxm,ypbh,sfzcccnx,
231 249
       quailtycard_id, butyl_phenol, flag_type)
232 250
     values (SEQ_STORAGE_QUALITYCHECK.nextVal, #{depotId,jdbcType=INTEGER}, #{houseId,jdbcType=INTEGER},
233 251
       #{warehouseId,jdbcType=INTEGER}, #{type,jdbcType=VARCHAR}, #{subType,jdbcType=INTEGER}, 
@@ -258,7 +276,9 @@
258 276
       #{orgId,jdbcType=INTEGER}, #{historyStatus,jdbcType=INTEGER}, #{intermixingRate,jdbcType=VARCHAR}, 
259 277
       #{smelltaste,jdbcType=VARCHAR}, #{transparency,jdbcType=VARCHAR}, #{peroxideValue,jdbcType=VARCHAR}, 
260 278
       #{smokePoint,jdbcType=VARCHAR}, #{reezeTest,jdbcType=VARCHAR}, #{residualSolvent,jdbcType=VARCHAR}, 
261
-      #{lead,jdbcType=VARCHAR}, #{totalArsenic,jdbcType=VARCHAR}, #{aflatoxin,jdbcType=VARCHAR}, 
279
+      #{lead,jdbcType=VARCHAR}, #{totalArsenic,jdbcType=VARCHAR}, #{aflatoxin,jdbcType=VARCHAR},
280
+      #{jylb,jdbcType=VARCHAR}, #{qfrq,jdbcType=TIMESTAMP},#{ypsl,jdbcType=VARCHAR},#{dbsl,jdbcType=VARCHAR},#{ypdj,jdbcType=VARCHAR},
281
+      #{qyqy,jdbcType=VARCHAR}, #{qydbh,jdbcType=VARCHAR},#{zblb,jdbcType=VARCHAR},#{jdrxm,jdbcType=VARCHAR},#{ypbh,jdbcType=VARCHAR},#{sfzcccnx,jdbcType=VARCHAR},
262 282
       #{quailtycardId,jdbcType=VARCHAR}, #{butylPhenol,jdbcType=VARCHAR}, #{flagType,jdbcType=INTEGER})
263 283
   </insert>
264 284
   <insert id="insertSelective" useGeneratedKeys="true" keyProperty="id" parameterType="com.chinaitop.depot.storage.model.StorageQualitycheck" >
@@ -532,6 +552,41 @@
532 552
       <if test="flagType != null" >
533 553
         flag_type,
534 554
       </if>
555
+      <if test="jylb != null" >
556
+        jylb,
557
+      </if>
558
+
559
+      <if test="qfrq != null" >
560
+        qfrq,
561
+      </if>
562
+      <if test="ypsl != null" >
563
+        ypsl,
564
+      </if>
565
+      <if test="dbsl != null" >
566
+        dbsl,
567
+      </if>
568
+      <if test="ypdj != null" >
569
+        ypdj,
570
+      </if>
571
+      <if test="qyqy != null" >
572
+        qyqy,
573
+      </if>
574
+      <if test="qydbh != null" >
575
+        qydbh,
576
+      </if>
577
+      <if test="zblb != null" >
578
+        zblb,
579
+      </if>
580
+      <if test="jdrxm != null" >
581
+        jdrxm,
582
+      </if>
583
+      <if test="ypbh != null" >
584
+        ypbh,
585
+      </if>
586
+      <if test="sfzcccnx != null" >
587
+        sfzcccnx,
588
+      </if>
589
+
535 590
     </trim>
536 591
     <trim prefix="values (" suffix=")" suffixOverrides="," >
537 592
       SEQ_STORAGE_QUALITYCHECK.nextVal,
@@ -799,6 +854,39 @@
799 854
       <if test="flagType != null" >
800 855
         #{flagType,jdbcType=INTEGER},
801 856
       </if>
857
+      <if test="jylb != null" >
858
+        #{jylb,jdbcType=VARCHAR},
859
+      </if>
860
+      <if test="qfrq != null" >
861
+        #{qfrq,jdbcType=TIMESTAMP},
862
+      </if>
863
+      <if test="ypsl != null" >
864
+        #{ypsl,jdbcType=VARCHAR},
865
+      </if>
866
+      <if test="dbsl != null" >
867
+        #{dbsl,jdbcType=VARCHAR},
868
+      </if>
869
+      <if test="ypdj != null" >
870
+        #{ypdj,jdbcType=VARCHAR},
871
+      </if>
872
+      <if test="qyqy != null" >
873
+        #{qyqy,jdbcType=VARCHAR},
874
+      </if>
875
+      <if test="qydbh != null" >
876
+        #{qydbh,jdbcType=VARCHAR},
877
+      </if>
878
+      <if test="zblb != null" >
879
+        #{zblb,jdbcType=VARCHAR},
880
+      </if>
881
+      <if test="jdrxm != null" >
882
+        #{jdrxm,jdbcType=VARCHAR},
883
+      </if>
884
+      <if test="ypbh != null" >
885
+        #{ypbh,jdbcType=VARCHAR},
886
+      </if>
887
+      <if test="sfzcccnx != null" >
888
+        #{sfzcccnx,jdbcType=VARCHAR},
889
+      </if>
802 890
     </trim>
803 891
   </insert>
804 892
   <select id="countByExample" parameterType="com.chinaitop.depot.storage.model.StorageQualitycheckExample" resultType="java.lang.Integer" >
@@ -1077,6 +1165,40 @@
1077 1165
       <if test="record.flagType != null" >
1078 1166
         flag_type = #{record.flagType,jdbcType=INTEGER},
1079 1167
       </if>
1168
+      <if test="record.jylb != null" >
1169
+        jylb = #{record.jylb,jdbcType=VARCHAR},
1170
+      </if>
1171
+      <if test="record.qfrq != null" >
1172
+        qfrq = #{record.qfrq,jdbcType=TIMESTAMP},
1173
+      </if>
1174
+      <if test="record.ypsl != null" >
1175
+        ypsl = #{record.ypsl,jdbcType=VARCHAR},
1176
+      </if>
1177
+      <if test="record.dbsl != null" >
1178
+        dbsl = #{record.dbsl,jdbcType=VARCHAR},
1179
+      </if>
1180
+      <if test="record.ypdj != null" >
1181
+        ypdj = #{record.ypdj,jdbcType=VARCHAR},
1182
+      </if>
1183
+      <if test="record.qyqy != null" >
1184
+        qyqy = #{record.qyqy,jdbcType=VARCHAR},
1185
+      </if>
1186
+      <if test="record.qydbh != null" >
1187
+        qydbh = #{record.qydbh,jdbcType=VARCHAR},
1188
+      </if>
1189
+      <if test="record.zblb != null" >
1190
+        zblb = #{record.zblb,jdbcType=VARCHAR},
1191
+      </if>
1192
+      <if test="record.jdrxm != null" >
1193
+        jdrxm = #{record.jdrxm,jdbcType=VARCHAR},
1194
+      </if>
1195
+      <if test="record.ypbh != null" >
1196
+        ypbh = #{record.ypbh,jdbcType=VARCHAR},
1197
+      </if>
1198
+      <if test="record.sfzcccnx != null" >
1199
+        sfzcccnx = #{record.sfzcccnx,jdbcType=VARCHAR},
1200
+      </if>
1201
+
1080 1202
     </set>
1081 1203
     <if test="_parameter != null" >
1082 1204
       <include refid="Update_By_Example_Where_Clause" />
@@ -1173,6 +1295,17 @@
1173 1295
       quailtycard_id = #{record.quailtycardId,jdbcType=VARCHAR},
1174 1296
       butyl_phenol = #{record.butylPhenol,jdbcType=VARCHAR},
1175 1297
       flag_type = #{record.flagType,jdbcType=INTEGER},
1298
+    jylb= #{record.jylb,jdbcType=VARCHAR},
1299
+    qfrq= #{record.qfrq,jdbcType=TIMESTAMP},
1300
+    ypsl= #{record.ypsl,jdbcType=VARCHAR},
1301
+    dbsl= #{record.dbsl,jdbcType=VARCHAR},
1302
+    ypdj= #{record.ypdj,jdbcType=VARCHAR},
1303
+    qyqy= #{record.qyqy,jdbcType=VARCHAR},
1304
+    qydbh= #{record.qydbh,jdbcType=VARCHAR},
1305
+    zblb= #{record.zblb,jdbcType=VARCHAR},
1306
+    jdrxm= #{record.jdrxm,jdbcType=VARCHAR},
1307
+    ypbh= #{record.ypbh,jdbcType=VARCHAR},
1308
+    sfzcccnx= #{record.sfzcccnx,jdbcType=VARCHAR}
1176 1309
     <if test="_parameter != null" >
1177 1310
       <include refid="Update_By_Example_Where_Clause" />
1178 1311
     </if>
@@ -1444,6 +1577,40 @@
1444 1577
       <if test="flagType != null" >
1445 1578
         flag_type = #{flagType,jdbcType=INTEGER},
1446 1579
       </if>
1580
+      <if test="jylb != null" >
1581
+        jylb = #{jylb,jdbcType=VARCHAR},
1582
+      </if>
1583
+      <if test="qfrq != null" >
1584
+        qfrq = #{qfrq,jdbcType=TIMESTAMP},
1585
+      </if>
1586
+      <if test="ypsl != null" >
1587
+        ypsl = #{ypsl,jdbcType=VARCHAR},
1588
+      </if>
1589
+      <if test="dbsl != null" >
1590
+        dbsl = #{dbsl,jdbcType=VARCHAR},
1591
+      </if>
1592
+      <if test="ypdj != null" >
1593
+        ypdj = #{ypdj,jdbcType=VARCHAR},
1594
+      </if>
1595
+      <if test="qyqy != null" >
1596
+        qyqy = #{qyqy,jdbcType=VARCHAR},
1597
+      </if>
1598
+      <if test="qydbh != null" >
1599
+        qydbh = #{qydbh,jdbcType=VARCHAR},
1600
+      </if>
1601
+      <if test="zblb != null" >
1602
+        zblb = #{zblb,jdbcType=VARCHAR},
1603
+      </if>
1604
+      <if test="jdrxm != null" >
1605
+        jdrxm = #{jdrxm,jdbcType=VARCHAR},
1606
+      </if>
1607
+      <if test="ypbh != null" >
1608
+        ypbh = #{ypbh,jdbcType=VARCHAR},
1609
+      </if>
1610
+      <if test="sfzcccnx != null" >
1611
+        sfzcccnx = #{sfzcccnx,jdbcType=VARCHAR},
1612
+      </if>
1613
+
1447 1614
     </set>
1448 1615
     where id = #{id,jdbcType=INTEGER}
1449 1616
   </update>
@@ -1536,7 +1703,18 @@
1536 1703
       aflatoxin = #{aflatoxin,jdbcType=VARCHAR},
1537 1704
       quailtycard_id = #{quailtycardId,jdbcType=VARCHAR},
1538 1705
       butyl_phenol = #{butylPhenol,jdbcType=VARCHAR},
1539
-      flag_type = #{flagType,jdbcType=INTEGER}
1706
+      flag_type = #{flagType,jdbcType=INTEGER},
1707
+      jylb= #{record.jylb,jdbcType=VARCHAR},
1708
+      qfrq= #{record.qfrq,jdbcType=TIMESTAMP},
1709
+      ypsl= #{record.ypsl,jdbcType=VARCHAR},
1710
+      dbsl= #{record.dbsl,jdbcType=VARCHAR},
1711
+      qyqy= #{record.qyqy,jdbcType=VARCHAR},
1712
+      qydbh= #{record.qydbh,jdbcType=VARCHAR},
1713
+      zblb= #{record.zblb,jdbcType=VARCHAR},
1714
+      jdrxm= #{record.jdrxm,jdbcType=VARCHAR},
1715
+      ypbh= #{record.ypbh,jdbcType=VARCHAR},
1716
+      sfzcccnx= #{record.sfzcccnx,jdbcType=VARCHAR},
1717
+      ypdj= #{record.ypdj,jdbcType=VARCHAR}
1540 1718
     where id = #{id,jdbcType=INTEGER}
1541 1719
   </update>
1542 1720
 
@@ -1634,7 +1812,9 @@
1634 1812
     sqk.store_quality, sqk.is_pest, sqk.inspection_standard_basis, sqk.quality, sqk.seal_date, sqk.seal_status,
1635 1813
     sqk.auth_code, sqk.org_id, sqk.history_status, sqk.intermixing_rate, sqk.smelltaste, sqk.transparency, sqk.peroxide_value,
1636 1814
     sqk.smoke_point, sqk.reeze_test, sqk.residual_solvent, sqk.lead, sqk.total_arsenic, sqk.aflatoxin, sqk.quailtycard_id,
1637
-    sqk.butyl_phenol, sqk.flag_type
1815
+    sqk.butyl_phenol, sqk.flag_type,
1816
+    sqk.qyqy,sqk.qydbh,sqk.zblb,sqk.jdrxm,sqk.ypbh,sqk.sfzcccnx,
1817
+     sqk.jylb, sqk.qfrq,sqk.ypsl,sqk.dbsl,sqk.ypdj
1638 1818
   </sql>
1639 1819
 
1640 1820
   <select id="queryPrimaryKey" resultMap="BaseResultMap">

+ 89 - 5
src/main/java/com/chinaitop/depot/storage/mapper/XwkZljcMapper.xml

@@ -29,6 +29,11 @@
29 29
     <result column="storehouse_name" property="houseName" jdbcType="VARCHAR" />
30 30
     <result column="warehouse_id" property="warehouseId" jdbcType="VARCHAR" />
31 31
     <result column="warehouse_name" property="warehouseName" jdbcType="VARCHAR" />
32
+    <result column="jylb" property="jylb" jdbcType="VARCHAR" />
33
+    <result column="qfrq" property="qfrq" jdbcType="TIMESTAMP" />
34
+    <result column="ypsl" property="ypsl" jdbcType="VARCHAR" />
35
+    <result column="dbsl" property="dbsl" jdbcType="VARCHAR" />
36
+    <result column="ypdj" property="ypdj" jdbcType="VARCHAR" />
32 37
   </resultMap>
33 38
   <sql id="Example_Where_Clause" >
34 39
     <where >
@@ -90,7 +95,8 @@
90 95
   </sql>
91 96
   <sql id="Base_Column_List" >
92 97
     zljcid, yyywid, jclx, pz, xxdpz, dj, jyrq, jyjg, kqmc, cfmc, hwmc, jyr, jydw, rksj, 
93
-    sl, cd, bgy, shnd, qyr, qyrq, jybgcjrq, sjly, zzjgdm
98
+    sl, cd, bgy, shnd, qyr, qyrq, jybgcjrq, sjly, zzjgdm,
99
+    jylb,qfrq,ypsl,dbsl,ypdj
94 100
   </sql>
95 101
   <select id="selectByExample" resultMap="BaseResultMap" parameterType="com.chinaitop.depot.storage.model.XwkZljcExample" >
96 102
     select
@@ -112,6 +118,7 @@
112 118
     replace(to_char(to_date(T1.jyrq,'yyyy年mm月dd日'),'yyyy-mm-dd'),'00','20') jyrq,
113 119
     T1.jyjg, T1.kqmc, T1.cfmc, T1.hwmc, T1.jyr, T1.jydw, T1.rksj,
114 120
     T1.sl, T1.cd, T1.bgy, T1.shnd, T1.qyr, T1.qyrq, T1.jybgcjrq, T1.sjly, T1.zzjgdm,
121
+    T1.jylb,T1.qfrq,T1.ypsl,T1.dbsl,T1.ypdj,
115 122
     T2.warehouse_id, T2.warehouse_name, T3.storehouse_id, T3.storehouse_name
116 123
     from xwk_zljc T1
117 124
     left join basic_warehouse T2 on T1.hwmc = T2.hwbm
@@ -134,14 +141,19 @@
134 141
       jyjg, kqmc, cfmc, hwmc, 
135 142
       jyr, jydw, rksj, sl, 
136 143
       cd, bgy, shnd, qyr, 
137
-      qyrq, jybgcjrq, sjly, 
144
+      qyrq, jybgcjrq, sjly,
145
+      jylb,qfrq,ypsl,dbsl,ypdj,
138 146
       zzjgdm)
139 147
     values (#{zljcid,jdbcType=VARCHAR}, #{yyywid,jdbcType=VARCHAR}, #{jclx,jdbcType=VARCHAR}, 
140 148
       #{pz,jdbcType=VARCHAR}, #{xxdpz,jdbcType=VARCHAR}, #{dj,jdbcType=VARCHAR}, #{jyrq,jdbcType=VARCHAR}, 
141 149
       #{jyjg,jdbcType=VARCHAR}, #{kqmc,jdbcType=VARCHAR}, #{cfmc,jdbcType=VARCHAR}, #{hwmc,jdbcType=VARCHAR}, 
142 150
       #{jyr,jdbcType=VARCHAR}, #{jydw,jdbcType=VARCHAR}, #{rksj,jdbcType=VARCHAR}, #{sl,jdbcType=VARCHAR}, 
143 151
       #{cd,jdbcType=VARCHAR}, #{bgy,jdbcType=VARCHAR}, #{shnd,jdbcType=VARCHAR}, #{qyr,jdbcType=VARCHAR}, 
144
-      #{qyrq,jdbcType=VARCHAR}, #{jybgcjrq,jdbcType=VARCHAR}, #{sjly,jdbcType=VARCHAR}, 
152
+      #{qyrq,jdbcType=VARCHAR}, #{jybgcjrq,jdbcType=VARCHAR}, #{sjly,jdbcType=VARCHAR},
153
+
154
+      #{jylb,jdbcType=VARCHAR}, #{qfrq,jdbcType=TIMESTAMP},#{ypsl,jdbcType=VARCHAR},
155
+      #{dbsl,jdbcType=VARCHAR},#{ypdj,jdbcType=VARCHAR},
156
+
145 157
       #{zzjgdm,jdbcType=VARCHAR})
146 158
   </insert>
147 159
   <insert id="insertSelective" parameterType="com.chinaitop.depot.storage.model.XwkZljc" >
@@ -216,6 +228,22 @@
216 228
       <if test="zzjgdm != null" >
217 229
         zzjgdm,
218 230
       </if>
231
+      <if test="jylb != null" >
232
+        jylb,
233
+      </if>
234
+
235
+      <if test="qfrq != null" >
236
+        qfrq,
237
+      </if>
238
+      <if test="ypsl != null" >
239
+        ypsl,
240
+      </if>
241
+      <if test="dbsl != null" >
242
+        dbsl,
243
+      </if>
244
+      <if test="ypdj != null" >
245
+        ypdj,
246
+      </if>
219 247
     </trim>
220 248
     <trim prefix="values (" suffix=")" suffixOverrides="," >
221 249
       <if test="zljcid != null" >
@@ -287,6 +315,21 @@
287 315
       <if test="zzjgdm != null" >
288 316
         #{zzjgdm,jdbcType=VARCHAR},
289 317
       </if>
318
+      <if test="jylb != null" >
319
+        #{jylb,jdbcType=VARCHAR},
320
+      </if>
321
+      <if test="qfrq != null" >
322
+        #{qfrq,jdbcType=TIMESTAMP},
323
+      </if>
324
+      <if test="ypsl != null" >
325
+        #{ypsl,jdbcType=VARCHAR},
326
+      </if>
327
+      <if test="dbsl != null" >
328
+        #{dbsl,jdbcType=VARCHAR},
329
+      </if>
330
+      <if test="ypdj != null" >
331
+        #{ypdj,jdbcType=VARCHAR},
332
+      </if>
290 333
     </trim>
291 334
   </insert>
292 335
   <select id="countByExample" parameterType="com.chinaitop.depot.storage.model.XwkZljcExample" resultType="java.lang.Integer" >
@@ -367,6 +410,21 @@
367 410
       <if test="record.zzjgdm != null" >
368 411
         zzjgdm = #{record.zzjgdm,jdbcType=VARCHAR},
369 412
       </if>
413
+      <if test="record.jylb != null" >
414
+        jylb = #{record.jylb,jdbcType=VARCHAR},
415
+      </if>
416
+      <if test="record.qfrq != null" >
417
+        qfrq = #{record.qfrq,jdbcType=TIMESTAMP},
418
+      </if>
419
+      <if test="record.ypsl != null" >
420
+        ypsl = #{record.ypsl,jdbcType=VARCHAR},
421
+      </if>
422
+      <if test="record.dbsl != null" >
423
+        dbsl = #{record.dbsl,jdbcType=VARCHAR},
424
+      </if>
425
+      <if test="record.ypdj != null" >
426
+        ypdj = #{record.ypdj,jdbcType=VARCHAR},
427
+      </if>
370 428
     </set>
371 429
     <if test="_parameter != null" >
372 430
       <include refid="Update_By_Example_Where_Clause" />
@@ -396,7 +454,12 @@
396 454
     qyrq = #{record.qyrq,jdbcType=VARCHAR},
397 455
     jybgcjrq = #{record.jybgcjrq,jdbcType=VARCHAR},
398 456
     sjly = #{record.sjly,jdbcType=VARCHAR},
399
-    zzjgdm = #{record.zzjgdm,jdbcType=VARCHAR}
457
+    zzjgdm = #{record.zzjgdm,jdbcType=VARCHAR},
458
+    jylb= #{record.jylb,jdbcType=VARCHAR},
459
+    qfrq= #{record.qfrq,jdbcType=TIMESTAMP},
460
+    ypsl= #{record.ypsl,jdbcType=VARCHAR},
461
+    dbsl= #{record.dbsl,jdbcType=VARCHAR},
462
+    ypdj= #{record.ypdj,jdbcType=VARCHAR}
400 463
     <if test="_parameter != null" >
401 464
       <include refid="Update_By_Example_Where_Clause" />
402 465
     </if>
@@ -470,6 +533,21 @@
470 533
       <if test="zzjgdm != null" >
471 534
         zzjgdm = #{zzjgdm,jdbcType=VARCHAR},
472 535
       </if>
536
+      <if test="jylb != null" >
537
+        jylb = #{jylb,jdbcType=VARCHAR},
538
+      </if>
539
+      <if test="qfrq != null" >
540
+        qfrq = #{qfrq,jdbcType=TIMESTAMP},
541
+      </if>
542
+      <if test="ypsl != null" >
543
+        ypsl = #{ypsl,jdbcType=VARCHAR},
544
+      </if>
545
+      <if test="dbsl != null" >
546
+        dbsl = #{dbsl,jdbcType=VARCHAR},
547
+      </if>
548
+      <if test="ypdj != null" >
549
+        ypdj = #{ypdj,jdbcType=VARCHAR},
550
+      </if>
473 551
     </set>
474 552
     where zljcid = #{zljcid,jdbcType=VARCHAR}
475 553
   </update>
@@ -496,7 +574,12 @@
496 574
       qyrq = #{qyrq,jdbcType=VARCHAR},
497 575
       jybgcjrq = #{jybgcjrq,jdbcType=VARCHAR},
498 576
       sjly = #{sjly,jdbcType=VARCHAR},
499
-      zzjgdm = #{zzjgdm,jdbcType=VARCHAR}
577
+      zzjgdm = #{zzjgdm,jdbcType=VARCHAR},
578
+      jylb= #{record.jylb,jdbcType=VARCHAR},
579
+      qfrq= #{record.qfrq,jdbcType=TIMESTAMP},
580
+      ypsl= #{record.ypsl,jdbcType=VARCHAR},
581
+      dbsl= #{record.dbsl,jdbcType=VARCHAR},
582
+      ypdj= #{record.ypdj,jdbcType=VARCHAR}
500 583
     where zljcid = #{zljcid,jdbcType=VARCHAR}
501 584
   </update>
502 585
 
@@ -506,6 +589,7 @@
506 589
     replace(to_char(to_date(T1.jyrq,'yyyy年mm月dd日'),'yyyy-mm-dd'),'00','20') jyrq,
507 590
     T1.jyjg, T1.kqmc, T1.cfmc, T1.hwmc, T1.jyr, T1.jydw, T1.rksj,
508 591
     T1.sl, T1.cd, T1.bgy, T1.shnd, T1.qyr, T1.qyrq, T1.jybgcjrq, T1.sjly, T1.zzjgdm,
592
+    T1.jylb,T1.qfrq,T1.ypsl,T1.dbsl,T1.ypdj,
509 593
     T2.warehouse_id, T2.warehouse_name, T3.storehouse_id, T3.storehouse_name
510 594
     from xwk_zljc T1
511 595
     left join basic_warehouse T2 on T1.hwmc = T2.hwbm

+ 112 - 12
src/main/java/com/chinaitop/depot/storage/model/StorageQualitycheck.java

@@ -6,6 +6,22 @@ import java.util.Date;
6 6
 import java.util.List;
7 7
 
8 8
 public class StorageQualitycheck {
9
+
10
+    private String jylb;//检验类别
11
+    private Date qfrq;//qfrq签发日期
12
+    private String ypsl;//ypsl样品数量
13
+    private String dbsl;//dbsl代表数量
14
+    private String ypdj;//ypdj样品等级
15
+
16
+
17
+
18
+    private String qyqy;//扦样区域
19
+    private String qydbh;//扦样单编号
20
+    private String zblb;//指标类别
21
+    private String jdrxm;//监督人姓名
22
+    private String ypbh;//样品编号
23
+    private String sfzcccnx;//是否正常存储年限
24
+
9 25
     private Integer id;
10 26
 
11 27
     private Integer depotId;
@@ -20,15 +36,15 @@ public class StorageQualitycheck {
20 36
 
21 37
     private Integer subTypeDetailed;
22 38
 
23
-    private Date checkTime;
39
+    private Date checkTime;//检验日期
24 40
 
25
-    private String checkResult;
41
+    private String checkResult;//检验结果0:合格  1:不合格
26 42
 
27
-    private String checker;
43
+    private String checker;//检验人
28 44
 
29
-    private Integer level;
45
+    private Integer level;//等级
30 46
 
31
-    private String capacity;
47
+    private String capacity;//容量
32 48
 
33 49
     private String water;
34 50
 
@@ -72,7 +88,7 @@ public class StorageQualitycheck {
72 88
 
73 89
     private String isFirstchecklevelRight;
74 90
 
75
-    private String acceptUnite;
91
+    private String acceptUnite;//检验单位
76 92
 
77 93
     private Date inputTime;
78 94
 
@@ -132,19 +148,19 @@ public class StorageQualitycheck {
132 148
 
133 149
     private String huskedRiceWeight;
134 150
 
135
-    private String reviewer;
151
+    private String reviewer;//审核人
136 152
 
137 153
     private Date applyCheckTime;
138 154
 
139 155
     private String checkTimeType;
140 156
 
141
-    private Date checkResultTime;
157
+    private Date checkResultTime;//检验报告出具日期zblb
142 158
 
143
-    private String storeQuality;
159
+    private String storeQuality;//指标结果判定(可多选)
144 160
 
145 161
     private String isPest;
146 162
 
147
-    private String inspectionStandardBasis;
163
+    private String inspectionStandardBasis;//检验标准依据qfrq
148 164
 
149 165
     private String quality;
150 166
 
@@ -193,9 +209,9 @@ public class StorageQualitycheck {
193 209
 
194 210
     private Integer foodbasicinfoId;
195 211
 
196
-    private String chooserOrgan;
212
+    private String chooserOrgan;//扦样机构
197 213
 
198
-    private Integer flagType;
214
+    private Integer flagType;//保存:1,提交:2
199 215
 
200 216
     //封仓业务字段
201 217
     private String disperseCapacity;
@@ -206,7 +222,53 @@ public class StorageQualitycheck {
206 222
     private Integer notice;
207 223
 
208 224
     List<Integer> typeList = new ArrayList<Integer>();
225
+    public String getQyqy() {
226
+        return qyqy;
227
+    }
228
+
229
+    public void setQyqy(String qyqy) {
230
+        this.qyqy = qyqy;
231
+    }
232
+
233
+    public String getQydbh() {
234
+        return qydbh;
235
+    }
236
+
237
+    public void setQydbh(String qydbh) {
238
+        this.qydbh = qydbh;
239
+    }
209 240
 
241
+    public String getZblb() {
242
+        return zblb;
243
+    }
244
+
245
+    public void setZblb(String zblb) {
246
+        this.zblb = zblb;
247
+    }
248
+
249
+    public String getJdrxm() {
250
+        return jdrxm;
251
+    }
252
+
253
+    public void setJdrxm(String jdrxm) {
254
+        this.jdrxm = jdrxm;
255
+    }
256
+
257
+    public String getYpbh() {
258
+        return ypbh;
259
+    }
260
+
261
+    public void setYpbh(String ypbh) {
262
+        this.ypbh = ypbh;
263
+    }
264
+
265
+    public String getSfzcccnx() {
266
+        return sfzcccnx;
267
+    }
268
+
269
+    public void setSfzcccnx(String sfzcccnx) {
270
+        this.sfzcccnx = sfzcccnx;
271
+    }
210 272
     //业务字段
211 273
     public String getStorehouseName() {
212 274
         return storehouseName;
@@ -247,7 +309,45 @@ public class StorageQualitycheck {
247 309
     public void setWarehouseCode(String warehouseCode) {
248 310
         this.warehouseCode = warehouseCode;
249 311
     }
312
+    public String getJylb() {
313
+        return jylb;
314
+    }
315
+
316
+    public void setJylb(String jylb) {
317
+        this.jylb = jylb;
318
+    }
319
+
320
+    public Date getQfrq() {
321
+        return qfrq;
322
+    }
323
+
324
+    public void setQfrq(Date qfrq) {
325
+        this.qfrq = qfrq;
326
+    }
250 327
 
328
+    public String getYpsl() {
329
+        return ypsl;
330
+    }
331
+
332
+    public void setYpsl(String ypsl) {
333
+        this.ypsl = ypsl;
334
+    }
335
+
336
+    public String getDbsl() {
337
+        return dbsl;
338
+    }
339
+
340
+    public void setDbsl(String dbsl) {
341
+        this.dbsl = dbsl;
342
+    }
343
+
344
+    public String getYpdj() {
345
+        return ypdj;
346
+    }
347
+
348
+    public void setYpdj(String ypdj) {
349
+        this.ypdj = ypdj;
350
+    }
251 351
     /**
252 352
      * 质量检查信息表
253 353
      * @return id 质量检查信息表

+ 52 - 0
src/main/java/com/chinaitop/depot/storage/model/XwkZljc.java

@@ -1,6 +1,16 @@
1 1
 package com.chinaitop.depot.storage.model;
2 2
 
3
+import java.util.Date;
4
+
3 5
 public class XwkZljc {
6
+
7
+
8
+    private String jylb;//检验类别
9
+    private Date qfrq;//qfrq签发日期
10
+    private String ypsl;//ypsl样品数量
11
+    private String dbsl;//dbsl代表数量
12
+    private String ypdj;//ypdj样品等级
13
+
4 14
     private String zljcid;
5 15
 
6 16
     private String yyywid;
@@ -54,6 +64,48 @@ public class XwkZljc {
54 64
     private String warehouseId;
55 65
     private String warehouseName;
56 66
 
67
+
68
+
69
+
70
+    public String getJylb() {
71
+        return jylb;
72
+    }
73
+
74
+    public void setJylb(String jylb) {
75
+        this.jylb = jylb;
76
+    }
77
+    public Date getQfrq() {
78
+        return qfrq;
79
+    }
80
+
81
+    public void setQfrq(Date qfrq) {
82
+        this.qfrq = qfrq;
83
+    }
84
+
85
+    public String getYpsl() {
86
+        return ypsl;
87
+    }
88
+
89
+    public void setYpsl(String ypsl) {
90
+        this.ypsl = ypsl;
91
+    }
92
+
93
+    public String getDbsl() {
94
+        return dbsl;
95
+    }
96
+
97
+    public void setDbsl(String dbsl) {
98
+        this.dbsl = dbsl;
99
+    }
100
+
101
+    public String getYpdj() {
102
+        return ypdj;
103
+    }
104
+
105
+    public void setYpdj(String ypdj) {
106
+        this.ypdj = ypdj;
107
+    }
108
+
57 109
     /**
58 110
      * 质量检测id
59 111
      * @return zljcid 质量检测id