From bff2fbdfda25eb57dab169f28d48f1621beb981b Mon Sep 17 00:00:00 2001 From: 张晓波 <bingbo1993@126.com> Date: 星期五, 13 十月 2023 08:49:49 +0800 Subject: [PATCH] 删除大屏 mq --- hd/pipe/StaffManage/src/main/resources/mapping/PlatUserMapper.xml | 25 +++++++++++++++++++++++++ 1 files changed, 25 insertions(+), 0 deletions(-) diff --git a/hd/pipe/StaffManage/src/main/resources/mapping/PlatUserMapper.xml b/hd/pipe/StaffManage/src/main/resources/mapping/PlatUserMapper.xml index 8ff8540..bca8d0f 100644 --- a/hd/pipe/StaffManage/src/main/resources/mapping/PlatUserMapper.xml +++ b/hd/pipe/StaffManage/src/main/resources/mapping/PlatUserMapper.xml @@ -888,4 +888,29 @@ where spu.job_num = #{jobNum} </select> + <select id="queryUserFace" resultType="com.thhy.staff.modules.biz.face.entity.UserFaceVo"> + select user_id as userId,real_name as realName,sex,photo as templateImgUrl + from sys_plat_user spu + limit #{offset},#{limit} + </select> + + <select id="queryUserFaceSingle" resultType="com.thhy.staff.modules.biz.face.entity.UserFaceVo"> + select user_id as userId,real_name as realName,sex,photo as templateImgUrl + from sys_plat_user spu + where user_id = #{userId} + </select> + + <update id="syncResult"> + update sys_plat_user set sync_success = #{syncSuccess} + <where> + <foreach item="item" index="index" collection="userIdArray" open="user_id in (" separator="," close=")"> + #{item} + </foreach> + </where> + </update> + + <update id="syncFail"> + update sys_plat_user set sync_success = 2,sync_fail_reason = #{syncFailReason} where user_id = #{userId} + </update> + </mapper> -- Gitblit v1.9.3