企业微信消息发送测试代码(截至到学校违纪委员会意见

This commit is contained in:
2025-08-20 15:33:22 +08:00
parent 3c5818dee2
commit 9eb3cfd422
9 changed files with 129 additions and 9 deletions

View File

@@ -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>