| | |
| | | and bu.real_name like concat('%', #{user.realName},'%') |
| | | </if> |
| | | <if test="user.dispatch!=null and user.dispatch != ''"> |
| | | and bu.dispatch = #{user.dispatch} |
| | | <if test="user.dispatch == 0"> |
| | | and bu.dispatch = #{user.dispatch} |
| | | </if> |
| | | <if test="user.dispatch == 1"> |
| | | and bu.dispatch = #{user.dispatch} |
| | | </if> |
| | | </if> |
| | | <if test="user.userType!=null and user.userType != ''"> |
| | | and bu.user_type = #{user.userType} |
| | |
| | | <!--导出保安员信息--> |
| | | <select id="exportSecurityInfo" resultType="org.springblade.modules.system.excel.SecurityExcel"> |
| | | select |
| | | distinct bu.id, |
| | | bd.dept_name deptId, |
| | | bu.real_name realName, |
| | | bu.phone, |