Ver código fonte

修改部门与用户对应关系

tags/v1.0.0^2
wanjing 1 ano atrás
pai
commit
980604ebaf
1 arquivos alterados com 1 adições e 1 exclusões
  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 Ver arquivo

@@ -67,7 +67,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<update id="updateDeptIdByIdList" parameterType="hashmap">
update th_oauth_user
<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="updateTime != null"> update_time = #{updateTime}, </if>
</trim>

Carregando…
Cancelar
Salvar