|
|
@@ -34,6 +34,13 @@
|
|
34
|
34
|
<result column="sync_flag" jdbcType="VARCHAR" property="syncFlag" />
|
|
35
|
35
|
<result column="del_flag" jdbcType="INTEGER" property="delFlag" />
|
|
36
|
36
|
<result column="sfsjjllg" jdbcType="VARCHAR" property="sfsjjllg" />
|
|
|
37
|
+ <result column="cjslqygzsj" jdbcType="TIMESTAMP" property="cjslqygzsj" />
|
|
|
38
|
+ <result column="cjgzsj" jdbcType="TIMESTAMP" property="cjgzsj" />
|
|
|
39
|
+ <result column="mz" jdbcType="INTEGER" property="mz" />
|
|
|
40
|
+ <result column="zw" jdbcType="VARCHAR" property="zw" />
|
|
|
41
|
+ <result column="zgzt" jdbcType="INTEGER" property="zgzt" />
|
|
|
42
|
+ <result column="cyfzr" property="cyfzr" jdbcType="VARCHAR" />
|
|
|
43
|
+ <result column="gwxz" property="gwxz" jdbcType="VARCHAR" />
|
|
37
|
44
|
</resultMap>
|
|
38
|
45
|
<sql id="Example_Where_Clause">
|
|
39
|
46
|
<where>
|
|
|
@@ -97,7 +104,8 @@
|
|
97
|
104
|
id, user_Id, post_type, name, user_alias, dept_id, org_id, sex, id_card, phone, birthday,
|
|
98
|
105
|
email, work_Year, entry_time, employee_nature, handover_Date, input_Person_Id, input_Date,
|
|
99
|
106
|
edit_Person_Id, edit_Date, house_id, province_Id, city_Id, grain_Id, depot_name,
|
|
100
|
|
- avator_Url, nation, isdepartment_time, political, sync_flag, del_flag, sfsjjllg
|
|
|
107
|
+ avator_Url, nation, isdepartment_time, political, sync_flag, del_flag, sfsjjllg, cjslqygzsj,
|
|
|
108
|
+ cjgzsj, zw, mz, zgzt, gwxz, cyfzr
|
|
101
|
109
|
</sql>
|
|
102
|
110
|
<select id="selectByExample" parameterType="com.chinaitop.depot.basic.model.BasicKeeperExample" resultMap="BaseResultMap">
|
|
103
|
111
|
select
|
|
|
@@ -143,7 +151,7 @@
|
|
143
|
151
|
province_Id, city_Id, grain_Id,
|
|
144
|
152
|
depot_name, avator_Url, nation,
|
|
145
|
153
|
isdepartment_time, political, sync_flag,
|
|
146
|
|
- del_flag, sfsjjllg)
|
|
|
154
|
+ del_flag, sfsjjllg, cjslqygzsj, cjgzsj, zw, mz, zgzt, gwxz, cyfzr)
|
|
147
|
155
|
values (#{id,jdbcType=INTEGER}, #{userId,jdbcType=INTEGER}, #{postType,jdbcType=INTEGER},
|
|
148
|
156
|
#{name,jdbcType=VARCHAR}, #{userAlias,jdbcType=VARCHAR}, #{deptId,jdbcType=INTEGER},
|
|
149
|
157
|
#{orgId,jdbcType=INTEGER}, #{sex,jdbcType=INTEGER}, #{idCard,jdbcType=VARCHAR},
|
|
|
@@ -154,7 +162,9 @@
|
|
154
|
162
|
#{provinceId,jdbcType=INTEGER}, #{cityId,jdbcType=INTEGER}, #{grainId,jdbcType=INTEGER},
|
|
155
|
163
|
#{depotName,jdbcType=VARCHAR}, #{avatorUrl,jdbcType=VARCHAR}, #{nation,jdbcType=INTEGER},
|
|
156
|
164
|
#{isdepartmentTime,jdbcType=TIMESTAMP}, #{political,jdbcType=INTEGER}, #{syncFlag,jdbcType=VARCHAR},
|
|
157
|
|
- #{delFlag,jdbcType=INTEGER}, #{sfsjjllg,jdbcType=VARCHAR})
|
|
|
165
|
+ #{delFlag,jdbcType=INTEGER}, #{sfsjjllg,jdbcType=VARCHAR}, #{cjslqygzsj,jdbcType=TIMESTAMP},
|
|
|
166
|
+ #{cjgzsj,jdbcType=TIMESTAMP}, #{zw,jdbcType=VARCHAR}, #{mz,jdbcType=INTEGER}, #{zgzt,jdbcType=INTEGER},
|
|
|
167
|
+ #{gwxz,jdbcType=VARCHAR}, #{cyfzr,jdbcType=VARCHAR})
|
|
158
|
168
|
</insert>
|
|
159
|
169
|
<insert id="insertSelective" keyProperty="id" useGeneratedKeys="true" parameterType="com.chinaitop.depot.basic.model.BasicKeeper">
|
|
160
|
170
|
<selectKey keyProperty="id" resultType="java.lang.Integer" order="BEFORE">
|
|
|
@@ -258,6 +268,27 @@
|
|
258
|
268
|
<if test="sfsjjllg != null">
|
|
259
|
269
|
sfsjjllg,
|
|
260
|
270
|
</if>
|
|
|
271
|
+ <if test="cjslqygzsj != null">
|
|
|
272
|
+ cjslqygzsj,
|
|
|
273
|
+ </if>
|
|
|
274
|
+ <if test="cjgzsj != null">
|
|
|
275
|
+ cjgzsj,
|
|
|
276
|
+ </if>
|
|
|
277
|
+ <if test="zw != null">
|
|
|
278
|
+ zw,
|
|
|
279
|
+ </if>
|
|
|
280
|
+ <if test="mz != null">
|
|
|
281
|
+ mz,
|
|
|
282
|
+ </if>
|
|
|
283
|
+ <if test="zgzt != null">
|
|
|
284
|
+ zgzt,
|
|
|
285
|
+ </if>
|
|
|
286
|
+ <if test="gwxz != null">
|
|
|
287
|
+ gwxz,
|
|
|
288
|
+ </if>
|
|
|
289
|
+ <if test="cyfzr != null">
|
|
|
290
|
+ cyfzr,
|
|
|
291
|
+ </if>
|
|
261
|
292
|
</trim>
|
|
262
|
293
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
263
|
294
|
<if test="id != null">
|
|
|
@@ -356,6 +387,27 @@
|
|
356
|
387
|
<if test="sfsjjllg != null">
|
|
357
|
388
|
#{sfsjjllg,jdbcType=VARCHAR},
|
|
358
|
389
|
</if>
|
|
|
390
|
+ <if test="cjslqygzsj != null">
|
|
|
391
|
+ #{cjslqygzsj,jdbcType=TIMESTAMP},
|
|
|
392
|
+ </if>
|
|
|
393
|
+ <if test="cjgzsj != null">
|
|
|
394
|
+ #{cjgzsj,jdbcType=TIMESTAMP},
|
|
|
395
|
+ </if>
|
|
|
396
|
+ <if test="zw != null">
|
|
|
397
|
+ #{zw,jdbcType=VARCHAR},
|
|
|
398
|
+ </if>
|
|
|
399
|
+ <if test="mz != null">
|
|
|
400
|
+ #{mz,jdbcType=INTEGER},
|
|
|
401
|
+ </if>
|
|
|
402
|
+ <if test="zgzt != null">
|
|
|
403
|
+ #{zgzt,jdbcType=INTEGER},
|
|
|
404
|
+ </if>
|
|
|
405
|
+ <if test="gwxz != null">
|
|
|
406
|
+ #{gwxz,jdbcType=VARCHAR},
|
|
|
407
|
+ </if>
|
|
|
408
|
+ <if test="cyfzr != null">
|
|
|
409
|
+ #{cyfzr,jdbcType=VARCHAR},
|
|
|
410
|
+ </if>
|
|
359
|
411
|
</trim>
|
|
360
|
412
|
</insert>
|
|
361
|
413
|
<select id="countByExample" parameterType="com.chinaitop.depot.basic.model.BasicKeeperExample" resultType="java.lang.Integer">
|
|
|
@@ -463,6 +515,27 @@
|
|
463
|
515
|
<if test="record.sfsjjllg != null">
|
|
464
|
516
|
sfsjjllg = #{record.sfsjjllg,jdbcType=VARCHAR},
|
|
465
|
517
|
</if>
|
|
|
518
|
+ <if test="record.cjslqygzsj != null">
|
|
|
519
|
+ cjslqygzsj = #{record.cjslqygzsj,jdbcType=TIMESTAMP},
|
|
|
520
|
+ </if>
|
|
|
521
|
+ <if test="record.cjgzsj != null">
|
|
|
522
|
+ cjgzsj = #{record.cjgzsj,jdbcType=TIMESTAMP},
|
|
|
523
|
+ </if>
|
|
|
524
|
+ <if test="record.zw != null">
|
|
|
525
|
+ zw = #{record.zw,jdbcType=VARCHAR},
|
|
|
526
|
+ </if>
|
|
|
527
|
+ <if test="record.mz != null">
|
|
|
528
|
+ mz = #{record.mz,jdbcType=INTEGER},
|
|
|
529
|
+ </if>
|
|
|
530
|
+ <if test="record.zgzt != null">
|
|
|
531
|
+ zgzt = #{record.zgzt,jdbcType=INTEGER},
|
|
|
532
|
+ </if>
|
|
|
533
|
+ <if test="record.gwxz != null">
|
|
|
534
|
+ gwxz = #{record.gwxz,jdbcType=VARCHAR},
|
|
|
535
|
+ </if>
|
|
|
536
|
+ <if test="record.cyfzr != null">
|
|
|
537
|
+ cyfzr = #{record.cyfzr,jdbcType=VARCHAR},
|
|
|
538
|
+ </if>
|
|
466
|
539
|
</set>
|
|
467
|
540
|
<if test="_parameter != null">
|
|
468
|
541
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
@@ -501,7 +574,14 @@
|
|
501
|
574
|
political = #{record.political,jdbcType=INTEGER},
|
|
502
|
575
|
sync_flag = #{record.syncFlag,jdbcType=VARCHAR},
|
|
503
|
576
|
del_flag = #{record.delFlag,jdbcType=INTEGER},
|
|
504
|
|
- sfsjjllg = #{record.sfsjjllg,jdbcType=VARCHAR}
|
|
|
577
|
+ sfsjjllg = #{record.sfsjjllg,jdbcType=VARCHAR},
|
|
|
578
|
+ cjslqygzsj = #{record.cjslqygzsj,jdbcType=TIMESTAMP},
|
|
|
579
|
+ cjgzsj = #{record.cjgzsj,jdbcType=TIMESTAMP},
|
|
|
580
|
+ zw = #{record.zw,jdbcType=VARCHAR},
|
|
|
581
|
+ mz = #{record.mz,jdbcType=INTEGER},
|
|
|
582
|
+ zgzt = #{record.zgzt,jdbcType=INTEGER},
|
|
|
583
|
+ gwxz = #{record.gwxz,jdbcType=VARCHAR},
|
|
|
584
|
+ cyfzr = #{record.cyfzr,jdbcType=VARCHAR}
|
|
505
|
585
|
<if test="_parameter != null">
|
|
506
|
586
|
<include refid="Update_By_Example_Where_Clause" />
|
|
507
|
587
|
</if>
|
|
|
@@ -602,6 +682,27 @@
|
|
602
|
682
|
<if test="sfsjjllg != null">
|
|
603
|
683
|
sfsjjllg = #{sfsjjllg,jdbcType=VARCHAR},
|
|
604
|
684
|
</if>
|
|
|
685
|
+ <if test="cjslqygzsj != null">
|
|
|
686
|
+ cjslqygzsj = #{cjslqygzsj,jdbcType=TIMESTAMP},
|
|
|
687
|
+ </if>
|
|
|
688
|
+ <if test="cjgzsj != null">
|
|
|
689
|
+ cjgzsj = #{cjgzsj,jdbcType=TIMESTAMP},
|
|
|
690
|
+ </if>
|
|
|
691
|
+ <if test="zw != null">
|
|
|
692
|
+ zw = #{zw,jdbcType=VARCHAR},
|
|
|
693
|
+ </if>
|
|
|
694
|
+ <if test="mz != null">
|
|
|
695
|
+ mz = #{mz,jdbcType=INTEGER},
|
|
|
696
|
+ </if>
|
|
|
697
|
+ <if test="zgzt != null">
|
|
|
698
|
+ zgzt = #{zgzt,jdbcType=INTEGER},
|
|
|
699
|
+ </if>
|
|
|
700
|
+ <if test="gwxz != null">
|
|
|
701
|
+ gwxz = #{gwxz,jdbcType=VARCHAR},
|
|
|
702
|
+ </if>
|
|
|
703
|
+ <if test="cyfzr != null">
|
|
|
704
|
+ cyfzr = #{cyfzr,jdbcType=VARCHAR},
|
|
|
705
|
+ </if>
|
|
605
|
706
|
</set>
|
|
606
|
707
|
where id = #{id,jdbcType=INTEGER}
|
|
607
|
708
|
</update>
|
|
|
@@ -637,7 +738,14 @@
|
|
637
|
738
|
political = #{political,jdbcType=INTEGER},
|
|
638
|
739
|
sync_flag = #{syncFlag,jdbcType=VARCHAR},
|
|
639
|
740
|
del_flag = #{delFlag,jdbcType=INTEGER},
|
|
640
|
|
- sfsjjllg = #{sfsjjllg,jdbcType=VARCHAR}
|
|
|
741
|
+ sfsjjllg = #{sfsjjllg,jdbcType=VARCHAR},
|
|
|
742
|
+ cjslqygzsj = #{cjslqygzsj,jdbcType=TIMESTAMP},
|
|
|
743
|
+ cjgzsj = #{cjgzsj,jdbcType=TIMESTAMP},
|
|
|
744
|
+ zw = #{zw,jdbcType=VARCHAR},
|
|
|
745
|
+ mz = #{mz,jdbcType=INTEGER},
|
|
|
746
|
+ zgzt = #{zgzt,jdbcType=INTEGER},
|
|
|
747
|
+ gwxz = #{gwxz,jdbcType=VARCHAR},
|
|
|
748
|
+ cyfzr = #{cyfzr,jdbcType=VARCHAR}
|
|
641
|
749
|
where id = #{id,jdbcType=INTEGER}
|
|
642
|
750
|
</update>
|
|
643
|
751
|
|