people-同步用户-更新用户bug修改
This commit is contained in:
+2
@@ -151,4 +151,6 @@ public interface SysUserMapper extends BaseMapper<SysUser> {
|
|||||||
List<SysUser> queryByDepIds(@Param("departIds")List<String> departIds,@Param("username") String username);
|
List<SysUser> queryByDepIds(@Param("departIds")List<String> departIds,@Param("username") String username);
|
||||||
|
|
||||||
List<SysUser> getPPEmployeeList(@Param("thirdType") String thirdType);
|
List<SysUser> getPPEmployeeList(@Param("thirdType") String thirdType);
|
||||||
|
|
||||||
|
void updateByIdPP (SysUser sysUser);
|
||||||
}
|
}
|
||||||
|
|||||||
+22
@@ -200,4 +200,26 @@
|
|||||||
select * from sys_user where third_type = #{thirdType}
|
select * from sys_user where third_type = #{thirdType}
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
<update id="updateByIdPP">
|
||||||
|
UPDATE
|
||||||
|
sys_user
|
||||||
|
SET
|
||||||
|
username = #{username},
|
||||||
|
realname = #{realname},
|
||||||
|
status = #{status},
|
||||||
|
del_flag = #{delFlag},
|
||||||
|
third_id = #{thirdId},
|
||||||
|
work_no = #{workNo},
|
||||||
|
worker_type = #{workerType},
|
||||||
|
create_time = #{createTime},
|
||||||
|
update_time = #{updateTime},
|
||||||
|
job_code = #{jobCode},
|
||||||
|
job_title = #{jobTitle},
|
||||||
|
org_code = #{orgCode},
|
||||||
|
email = #{email},
|
||||||
|
telephone = #{telephone}
|
||||||
|
WHERE
|
||||||
|
id = #{id}
|
||||||
|
</update>
|
||||||
|
|
||||||
</mapper>
|
</mapper>
|
||||||
|
|||||||
+1
-1
@@ -562,7 +562,7 @@ public class SysUserServiceImpl extends ServiceImpl<SysUserMapper, SysUser> impl
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
updateById(sysUser);
|
this.baseMapper.updateByIdPP(sysUser);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user