Browse Source

修改部门与用户对应关系

tags/v1.0.0^2
wanjing 1 year ago
parent
commit
980604ebaf
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tuoheng-service/tuoheng-admin/src/main/resources/mapper/UserMapper.xml

+ 1
- 1
tuoheng-service/tuoheng-admin/src/main/resources/mapper/UserMapper.xml View File

<update id="updateDeptIdByIdList" parameterType="hashmap"> <update id="updateDeptIdByIdList" parameterType="hashmap">
update th_oauth_user update th_oauth_user
<trim prefix="SET" suffixOverrides=","> <trim prefix="SET" suffixOverrides=",">
<if test="deptId != null"> dept_d = #{deptId}, </if>
<if test="deptId != null"> dept_id = #{deptId}, </if>
<if test="updateUser != null and updateUser != ''"> update_user = #{updateUser}, </if> <if test="updateUser != null and updateUser != ''"> update_user = #{updateUser}, </if>
<if test="updateTime != null"> update_time = #{updateTime}, </if> <if test="updateTime != null"> update_time = #{updateTime}, </if>
</trim> </trim>

Loading…
Cancel
Save