企业微信消息发送测试代码(截至到学校违纪委员会意见
)
This commit is contained in:
@@ -106,5 +106,15 @@
|
||||
SELECT user_name FROM sys_user WHERE user_id = #{userId}
|
||||
</select>
|
||||
|
||||
<!-- 知无涯 新增:批量查询用户名的SQL实现 -->
|
||||
<select id="getUserNamesByUserIdList" resultType="java.lang.String">
|
||||
SELECT user_name FROM sys_user
|
||||
WHERE user_id IN
|
||||
<foreach item="userId" collection="userIdList" open="(" separator="," close=")">
|
||||
#{userId}
|
||||
</foreach>
|
||||
AND user_name IS NOT NULL AND user_name != ''
|
||||
</select>
|
||||
|
||||
|
||||
</mapper>
|
||||
|
Reference in New Issue
Block a user