feat:获取用户只有督导用户

This commit is contained in:
苏竹红
2025-09-03 18:44:19 +08:00
parent 8b6cc27ab5
commit dc5e05f49f

View File

@@ -176,9 +176,9 @@
</select>
<select id="getAllUser" resultType="com.cool.store.dto.UserDTO">
select
a.user_id as userId,
DISTINCT a.user_id as userId,
a.name,
a.mobile,b.role_id
a.mobile
from enterprise_user_${eid} a left join enterprise_user_role_${eid} b on a.`user_id` = b.`user_id`
where active = true
<if test="keyword!=null and keyword!=''">