| | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.springblade.modules.system.excel.SecurityExcel; |
| | | import org.springblade.modules.system.excel.UserExcel; |
| | | import org.springblade.modules.system.entity.User; |
| | | import org.springblade.modules.system.vo.UserDTO; |
| | | import org.springblade.modules.system.vo.UserVO; |
| | | import org.springframework.boot.autoconfigure.quartz.QuartzDataSource; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * Mapper 接口 |
| | |
| | | * 自定义用户列表(只有保安员) |
| | | */ |
| | | @SqlParser(filter = true) |
| | | List<UserVO> selectUserPageSecurity(IPage<UserVO> page, @Param("user") UserVO user, @Param("deptIdList") List<Long> deptIdList, @Param("tenantId") String tenantId); |
| | | List<UserVO> selectUserPageSecurity(IPage<UserVO> page, @Param("user") UserVO user); |
| | | |
| | | /** |
| | | * 查询所有未注销用户 |
| | | * @return |
| | | */ |
| | | List<User> getAllUserList(); |
| | | |
| | | /** |
| | | * 查询用户数据,未删除的,未审核的 |
| | | * @return |
| | | */ |
| | | List<User> getNotAuditAllUserList(); |
| | | |
| | | /** |
| | | * 自定义列表,... |
| | | * @param page |
| | | * @param user |
| | | * @return |
| | | */ |
| | | List<User> selectUserPages(IPage<User> page,@Param("user") User user); |
| | | |
| | | /** |
| | | * 根据保安员编码查询保安员信息 |
| | | * @param securityNumber |
| | | * @return |
| | | */ |
| | | UserVO getUserInfoBySecurityNumber(@Param("securityNumber") String securityNumber); |
| | | |
| | | /** |
| | | * 导出用户审查明细 |
| | | * @param user |
| | | * @return |
| | | */ |
| | | List<SecurityExcel> exportSecurity(@Param("user") UserVO user); |
| | | /** |
| | | * 查询押运人员编码不为null的保安信息 |
| | | * @return |
| | | */ |
| | | List selectPeo(@Param("user") UserVO user); |
| | | |
| | | /** |
| | | * 查询当前部门名称及父级部门名称 |
| | | * @param deptId 部门名称 |
| | | * @return |
| | | */ |
| | | @SqlParser(filter = true) |
| | | List<String> getDeptName(@Param("deptId") String deptId); |
| | | |
| | | /** |
| | | * 查询用户年龄 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | int getUserAge(@Param("id") long id); |
| | | |
| | | /** |
| | | * 查询保安证编号位数 |
| | | * @param pre |
| | | * @return |
| | | */ |
| | | Integer getSecurityPaperCount(@Param("pre") String pre); |
| | | |
| | | /** |
| | | * 查询保安员信息 |
| | | * @param user |
| | | * @return |
| | | */ |
| | | UserDTO getSecurityInfoByIdCardNo(@Param("user")User user); |
| | | } |