| | |
| | | */ |
| | | package org.springblade.modules.system.mapper; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.KeySequence; |
| | | import com.baomidou.mybatisplus.annotation.SqlParser; |
| | | import com.baomidou.mybatisplus.core.conditions.Wrapper; |
| | | 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.UserExcel; |
| | | import org.springblade.modules.system.entity.User; |
| | | import org.springblade.modules.system.vo.UserVO; |
| | | import org.springframework.boot.autoconfigure.quartz.QuartzDataSource; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * Mapper 接口 |
| | |
| | | */ |
| | | List<UserExcel> exportUser(@Param("ew") Wrapper<User> queryWrapper); |
| | | |
| | | void updateUser(String hold,String cardid); |
| | | void updateUser(String hold,String cardid,String holdv,String time); |
| | | |
| | | /** |
| | | * 自定义用户列表(只有保安员) |
| | | */ |
| | | List<User> selectUserPageSecurity(IPage<User> page, @Param("user") User user, @Param("deptIdList") List<Long> deptIdList, @Param("tenantId") String tenantId); |
| | | @SqlParser(filter = true) |
| | | 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 idCardNo 身份证号 |
| | | * @return |
| | | */ |
| | | User getUserInfoByIdCardNo(String idCardNo); |
| | | |
| | | |
| | | List selectPeo(@Param("user") UserVO user); |
| | | } |