| | |
| | | <!--导出保安员信息--> |
| | | <select id="exportSecurityInfo" resultType="org.springblade.modules.system.excel.SecurityExcel"> |
| | | select |
| | | distinct bu.id, |
| | | bd.dept_name deptId, |
| | | bu.real_name realName, |
| | | bu.phone, |
| | |
| | | ORDER BY bu.id desc |
| | | </select> |
| | | |
| | | |
| | | <!--查询押运人员编码不为null的保安信息--> |
| | | <select id="selectEquipent" resultType="java.util.HashMap"> |
| | | SELECT id, |
| | | equipment_code as code |
| | | FROM blade_user |
| | | WHERE dept_id = '1460129345988239362' |
| | | AND role_id = '1412226235153731586' |
| | | AND is_deleted = 0 |
| | | AND `status` = 1 |
| | | AND equipment_code IS NOT NULL |
| | | </select> |
| | | |
| | | </mapper> |