| | |
| | | sys_live_location sll |
| | | on |
| | | sll.worker_id = bu.id |
| | | left join |
| | | blade_role br |
| | | on |
| | | br.id = bu.role_id |
| | | where |
| | | bu.is_deleted = 0 |
| | | <if test="tenantId!=null and tenantId != ''"> |
| | |
| | | </if> |
| | | <if test="user.roleId!=null and user.roleId != ''"> |
| | | and bu.role_id = #{user.roleId} |
| | | </if> |
| | | <if test="user.roleAlias!=null and user.roleAlias != ''"> |
| | | and (br.role_alias = '保安' or br.role_alias = '未持证保安') |
| | | </if> |
| | | <if test="user.status!=null and user.status != ''"> |
| | | and bu.status = #{user.status} |
| | |
| | | FROM blade_user |
| | | where cardid = #{param1} |
| | | </select> |
| | | |
| | | |
| | | <!--保安员列表--> |
| | | <select id="selectUserPageSecurity" resultMap="userResultMap"> |
| | | select |