1
This commit is contained in:
@@ -43,10 +43,14 @@
|
||||
where union_id = #{unionId}
|
||||
</select>
|
||||
|
||||
<!-- 企微 UserID:可写在 wxid,或出现在 touser(逗号分隔的接收人 UserID)中 -->
|
||||
<select id="selectSuperAdminByWecomUserId" parameterType="String" resultMap="SuperAdminResult">
|
||||
<include refid="selectSuperAdminVo"/>
|
||||
where wxid = #{wxid}
|
||||
and (is_active is null or is_active = 1)
|
||||
where (is_active is null or is_active = 1)
|
||||
and (
|
||||
wxid = #{wxid}
|
||||
or CONCAT(',', REPLACE(REPLACE(IFNULL(touser,''),' ',''),',',','), ',') like CONCAT('%,', #{wxid}, ',%')
|
||||
)
|
||||
order by id asc
|
||||
limit 1
|
||||
</select>
|
||||
|
||||
Reference in New Issue
Block a user