| | |
| | | |
| | | <select id="selectUserPage" resultMap="userResultMap"> |
| | | select * from blade_user where is_deleted = 0 |
| | | and id != 1123598821738675201 |
| | | <if test="tenantId!=null and tenantId != ''"> |
| | | and tenant_id = #{tenantId} |
| | | </if> |
| | |
| | | SELECT id, tenant_id, user_type, account, name, real_name, email, phone, birthday, role_id, dept_id, post_id FROM blade_user ${ew.customSqlSegment} |
| | | </select> |
| | | |
| | | <!--按条件查询用户信息--> |
| | | <select id="getUserListByParam" resultType="org.springblade.modules.system.vo.UserVO"> |
| | | SELECT id, account, name, real_name, phone, role_id, dept_id, post_id FROM blade_user |
| | | where is_deleted = 0 |
| | | <if test="user.roleId!=null and user.roleId!=''"> |
| | | and role_id like concat('%',#{user.roleId},'%') |
| | | </if> |
| | | </select> |
| | | |
| | | </mapper> |