fanxw 2 maanden geleden
bovenliggende
commit
25d3b86311
1 gewijzigde bestanden met toevoegingen van 7 en 7 verwijderingen
  1. 7 7
      src/main/java/com/chinaitop/depot/basic/mapper/BasicKeeperMapper.xml

+ 7 - 7
src/main/java/com/chinaitop/depot/basic/mapper/BasicKeeperMapper.xml

@@ -38,7 +38,7 @@
38 38
     <result column="cjgzsj" jdbcType="TIMESTAMP" property="cjgzsj" />
39 39
     <result column="mz" jdbcType="INTEGER" property="mz" />
40 40
     <result column="zw" jdbcType="VARCHAR" property="zw" />
41
-    <result column="zgzt" jdbcType="INTEGER" property="zgzt" />
41
+    <result column="zgzt" jdbcType="VARCHAR" property="zgzt" />
42 42
     <result column="cyfzr" property="cyfzr" jdbcType="VARCHAR" />
43 43
     <result column="gwxz" property="gwxz" jdbcType="VARCHAR" />
44 44
   </resultMap>
@@ -163,7 +163,7 @@
163 163
       #{depotName,jdbcType=VARCHAR}, #{avatorUrl,jdbcType=VARCHAR}, #{nation,jdbcType=INTEGER}, 
164 164
       #{isdepartmentTime,jdbcType=TIMESTAMP}, #{political,jdbcType=INTEGER}, #{syncFlag,jdbcType=VARCHAR}, 
165 165
       #{delFlag,jdbcType=INTEGER}, #{sfsjjllg,jdbcType=VARCHAR}, #{cjslqygzsj,jdbcType=TIMESTAMP},
166
-      #{cjgzsj,jdbcType=TIMESTAMP}, #{zw,jdbcType=VARCHAR}, #{mz,jdbcType=INTEGER}, #{zgzt,jdbcType=INTEGER},
166
+      #{cjgzsj,jdbcType=TIMESTAMP}, #{zw,jdbcType=VARCHAR}, #{mz,jdbcType=INTEGER}, #{zgzt,jdbcType=VARCHAR},
167 167
       #{gwxz,jdbcType=VARCHAR}, #{cyfzr,jdbcType=VARCHAR})
168 168
   </insert>
169 169
   <insert id="insertSelective" keyProperty="id" useGeneratedKeys="true" parameterType="com.chinaitop.depot.basic.model.BasicKeeper">
@@ -400,7 +400,7 @@
400 400
         #{mz,jdbcType=INTEGER},
401 401
       </if>
402 402
       <if test="zgzt != null">
403
-        #{zgzt,jdbcType=INTEGER},
403
+        #{zgzt,jdbcType=VARCHAR},
404 404
       </if>
405 405
       <if test="gwxz != null">
406 406
         #{gwxz,jdbcType=VARCHAR},
@@ -528,7 +528,7 @@
528 528
         mz = #{record.mz,jdbcType=INTEGER},
529 529
       </if>
530 530
       <if test="record.zgzt != null">
531
-        zgzt = #{record.zgzt,jdbcType=INTEGER},
531
+        zgzt = #{record.zgzt,jdbcType=VARCHAR},
532 532
       </if>
533 533
       <if test="record.gwxz != null">
534 534
         gwxz = #{record.gwxz,jdbcType=VARCHAR},
@@ -579,7 +579,7 @@
579 579
       cjgzsj = #{record.cjgzsj,jdbcType=TIMESTAMP},
580 580
       zw = #{record.zw,jdbcType=VARCHAR},
581 581
       mz = #{record.mz,jdbcType=INTEGER},
582
-      zgzt = #{record.zgzt,jdbcType=INTEGER},
582
+      zgzt = #{record.zgzt,jdbcType=VARCHAR},
583 583
       gwxz = #{record.gwxz,jdbcType=VARCHAR},
584 584
       cyfzr = #{record.cyfzr,jdbcType=VARCHAR}
585 585
     <if test="_parameter != null">
@@ -695,7 +695,7 @@
695 695
         mz = #{mz,jdbcType=INTEGER},
696 696
       </if>
697 697
       <if test="zgzt != null">
698
-        zgzt = #{zgzt,jdbcType=INTEGER},
698
+        zgzt = #{zgzt,jdbcType=VARCHAR},
699 699
       </if>
700 700
       <if test="gwxz != null">
701 701
         gwxz = #{gwxz,jdbcType=VARCHAR},
@@ -743,7 +743,7 @@
743 743
       cjgzsj = #{cjgzsj,jdbcType=TIMESTAMP},
744 744
       zw = #{zw,jdbcType=VARCHAR},
745 745
       mz = #{mz,jdbcType=INTEGER},
746
-      zgzt = #{zgzt,jdbcType=INTEGER},
746
+      zgzt = #{zgzt,jdbcType=VARCHAR},
747 747
       gwxz = #{gwxz,jdbcType=VARCHAR},
748 748
       cyfzr = #{cyfzr,jdbcType=VARCHAR}
749 749
     where id = #{id,jdbcType=INTEGER}