|
@@ -41,6 +41,7 @@
|
41
|
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
|
+ <result column="gwlb" property="gwlb" jdbcType="VARCHAR" />
|
44
|
45
|
</resultMap>
|
45
|
46
|
<sql id="Example_Where_Clause">
|
46
|
47
|
<where>
|
|
@@ -105,7 +106,7 @@
|
105
|
106
|
email, work_Year, entry_time, employee_nature, handover_Date, input_Person_Id, input_Date,
|
106
|
107
|
edit_Person_Id, edit_Date, house_id, province_Id, city_Id, grain_Id, depot_name,
|
107
|
108
|
avator_Url, nation, isdepartment_time, political, sync_flag, del_flag, sfsjjllg, cjslqygzsj,
|
108
|
|
- cjgzsj, zw, mz, zgzt, gwxz, cyfzr
|
|
109
|
+ cjgzsj, zw, mz, zgzt, gwxz, cyfzr, gwlb
|
109
|
110
|
</sql>
|
110
|
111
|
<select id="selectByExample" parameterType="com.chinaitop.depot.basic.model.BasicKeeperExample" resultMap="BaseResultMap">
|
111
|
112
|
select
|
|
@@ -151,7 +152,7 @@
|
151
|
152
|
province_Id, city_Id, grain_Id,
|
152
|
153
|
depot_name, avator_Url, nation,
|
153
|
154
|
isdepartment_time, political, sync_flag,
|
154
|
|
- del_flag, sfsjjllg, cjslqygzsj, cjgzsj, zw, mz, zgzt, gwxz, cyfzr)
|
|
155
|
+ del_flag, sfsjjllg, cjslqygzsj, cjgzsj, zw, mz, zgzt, gwxz, cyfzr, gwlb)
|
155
|
156
|
values (#{id,jdbcType=INTEGER}, #{userId,jdbcType=INTEGER}, #{postType,jdbcType=INTEGER},
|
156
|
157
|
#{name,jdbcType=VARCHAR}, #{userAlias,jdbcType=VARCHAR}, #{deptId,jdbcType=INTEGER},
|
157
|
158
|
#{orgId,jdbcType=INTEGER}, #{sex,jdbcType=INTEGER}, #{idCard,jdbcType=VARCHAR},
|
|
@@ -164,7 +165,7 @@
|
164
|
165
|
#{isdepartmentTime,jdbcType=TIMESTAMP}, #{political,jdbcType=INTEGER}, #{syncFlag,jdbcType=VARCHAR},
|
165
|
166
|
#{delFlag,jdbcType=INTEGER}, #{sfsjjllg,jdbcType=VARCHAR}, #{cjslqygzsj,jdbcType=TIMESTAMP},
|
166
|
167
|
#{cjgzsj,jdbcType=TIMESTAMP}, #{zw,jdbcType=VARCHAR}, #{mz,jdbcType=INTEGER}, #{zgzt,jdbcType=VARCHAR},
|
167
|
|
- #{gwxz,jdbcType=VARCHAR}, #{cyfzr,jdbcType=VARCHAR})
|
|
168
|
+ #{gwxz,jdbcType=VARCHAR}, #{cyfzr,jdbcType=VARCHAR}, #{gwlb,jdbcType=VARCHAR})
|
168
|
169
|
</insert>
|
169
|
170
|
<insert id="insertSelective" keyProperty="id" useGeneratedKeys="true" parameterType="com.chinaitop.depot.basic.model.BasicKeeper">
|
170
|
171
|
<selectKey keyProperty="id" resultType="java.lang.Integer" order="BEFORE">
|
|
@@ -289,6 +290,9 @@
|
289
|
290
|
<if test="cyfzr != null">
|
290
|
291
|
cyfzr,
|
291
|
292
|
</if>
|
|
293
|
+ <if test="gwlb != null">
|
|
294
|
+ gwlb,
|
|
295
|
+ </if>
|
292
|
296
|
</trim>
|
293
|
297
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
294
|
298
|
<if test="id != null">
|
|
@@ -408,6 +412,9 @@
|
408
|
412
|
<if test="cyfzr != null">
|
409
|
413
|
#{cyfzr,jdbcType=VARCHAR},
|
410
|
414
|
</if>
|
|
415
|
+ <if test="gwlb != null">
|
|
416
|
+ #{gwlb,jdbcType=VARCHAR},
|
|
417
|
+ </if>
|
411
|
418
|
</trim>
|
412
|
419
|
</insert>
|
413
|
420
|
<select id="countByExample" parameterType="com.chinaitop.depot.basic.model.BasicKeeperExample" resultType="java.lang.Integer">
|
|
@@ -536,6 +543,9 @@
|
536
|
543
|
<if test="record.cyfzr != null">
|
537
|
544
|
cyfzr = #{record.cyfzr,jdbcType=VARCHAR},
|
538
|
545
|
</if>
|
|
546
|
+ <if test="record.gwlb != null">
|
|
547
|
+ gwlb = #{record.gwlb,jdbcType=VARCHAR},
|
|
548
|
+ </if>
|
539
|
549
|
</set>
|
540
|
550
|
<if test="_parameter != null">
|
541
|
551
|
<include refid="Update_By_Example_Where_Clause" />
|
|
@@ -581,7 +591,8 @@
|
581
|
591
|
mz = #{record.mz,jdbcType=INTEGER},
|
582
|
592
|
zgzt = #{record.zgzt,jdbcType=VARCHAR},
|
583
|
593
|
gwxz = #{record.gwxz,jdbcType=VARCHAR},
|
584
|
|
- cyfzr = #{record.cyfzr,jdbcType=VARCHAR}
|
|
594
|
+ cyfzr = #{record.cyfzr,jdbcType=VARCHAR},
|
|
595
|
+ gwlb = #{record.gwlb,jdbcType=VARCHAR}
|
585
|
596
|
<if test="_parameter != null">
|
586
|
597
|
<include refid="Update_By_Example_Where_Clause" />
|
587
|
598
|
</if>
|
|
@@ -703,6 +714,9 @@
|
703
|
714
|
<if test="cyfzr != null">
|
704
|
715
|
cyfzr = #{cyfzr,jdbcType=VARCHAR},
|
705
|
716
|
</if>
|
|
717
|
+ <if test="gwlb != null">
|
|
718
|
+ gwlb = #{gwlb,jdbcType=VARCHAR},
|
|
719
|
+ </if>
|
706
|
720
|
</set>
|
707
|
721
|
where id = #{id,jdbcType=INTEGER}
|
708
|
722
|
</update>
|
|
@@ -745,7 +759,8 @@
|
745
|
759
|
mz = #{mz,jdbcType=INTEGER},
|
746
|
760
|
zgzt = #{zgzt,jdbcType=VARCHAR},
|
747
|
761
|
gwxz = #{gwxz,jdbcType=VARCHAR},
|
748
|
|
- cyfzr = #{cyfzr,jdbcType=VARCHAR}
|
|
762
|
+ cyfzr = #{cyfzr,jdbcType=VARCHAR},
|
|
763
|
+ gwlb = #{gwlb,jdbcType=VARCHAR}
|
749
|
764
|
where id = #{id,jdbcType=INTEGER}
|
750
|
765
|
</update>
|
751
|
766
|
|