|
|
@@ -71,6 +71,7 @@
|
|
71
|
71
|
<result property="securityInspectionPosition" column="security_inspection_position"/>
|
|
72
|
72
|
<result property="workRewardsNumber" column="work_rewards_number"/>
|
|
73
|
73
|
<result property="workPenaltiesNumber" column="work_penalties_number"/>
|
|
|
74
|
+ <result property="tags" column="tags"/>
|
|
74
|
75
|
<association property="dept" javaType="SysDept" resultMap="deptResult"/>
|
|
75
|
76
|
<collection property="roles" javaType="java.util.List" resultMap="RoleResult"/>
|
|
76
|
77
|
</resultMap>
|
|
|
@@ -157,6 +158,7 @@
|
|
157
|
158
|
u.security_inspection_position,
|
|
158
|
159
|
u.work_rewards_number,
|
|
159
|
160
|
u.work_penalties_number,
|
|
|
161
|
+ u.tags,
|
|
160
|
162
|
d.dept_id,
|
|
161
|
163
|
d.parent_id,
|
|
162
|
164
|
d.ancestors,
|
|
|
@@ -197,7 +199,7 @@
|
|
197
|
199
|
u.schooling,u.political_review_situation,u.start_working_date,
|
|
198
|
200
|
u.security_check_start_date,u.entry_date,u.xray_operator_starttime,
|
|
199
|
201
|
u.professional,u.native_place,u.nation,
|
|
200
|
|
- u.security_inspection_position,u.work_rewards_number,u.work_penalties_number,
|
|
|
202
|
+ u.security_inspection_position,u.work_rewards_number,u.work_penalties_number,u.tags,
|
|
201
|
203
|
d.dept_name, d.leader from sys_user u
|
|
202
|
204
|
left join sys_dept d on u.dept_id = d.dept_id
|
|
203
|
205
|
where u.del_flag = '0'
|
|
|
@@ -566,6 +568,9 @@
|
|
566
|
568
|
<if test="workPenaltiesNumber != null">
|
|
567
|
569
|
work_penalties_number,
|
|
568
|
570
|
</if>
|
|
|
571
|
+ <if test="tags != null and tags != ''">
|
|
|
572
|
+ tags,
|
|
|
573
|
+ </if>
|
|
569
|
574
|
create_time
|
|
570
|
575
|
)values(
|
|
571
|
576
|
<if test="userId != null and userId != ''">#{userId},</if>
|
|
|
@@ -694,6 +699,9 @@
|
|
694
|
699
|
<if test="workPenaltiesNumber != null">
|
|
695
|
700
|
#{workPenaltiesNumber},
|
|
696
|
701
|
</if>
|
|
|
702
|
+ <if test="tags != null and tags != ''">
|
|
|
703
|
+ #{tags},
|
|
|
704
|
+ </if>
|
|
697
|
705
|
sysdate()
|
|
698
|
706
|
)
|
|
699
|
707
|
</insert>
|
|
|
@@ -826,6 +834,9 @@
|
|
826
|
834
|
<if test="workPenaltiesNumber != null ">
|
|
827
|
835
|
work_penalties_number = #{workPenaltiesNumber},
|
|
828
|
836
|
</if>
|
|
|
837
|
+ <if test="tags != null">
|
|
|
838
|
+ tags = #{tags},
|
|
|
839
|
+ </if>
|
|
829
|
840
|
update_time = sysdate()
|
|
830
|
841
|
</set>
|
|
831
|
842
|
where user_id = #{userId}
|