| | |
| | | package org.springblade.modules.system.service; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.Wrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.springblade.core.mp.base.BaseService; |
| | |
| | | import org.springblade.modules.system.entity.User; |
| | | import org.springblade.modules.system.entity.UserInfo; |
| | | import org.springblade.modules.system.entity.UserOauth; |
| | | import org.springblade.modules.system.excel.QrCodeExcel; |
| | | import org.springblade.modules.system.excel.SecurityExcel; |
| | | import org.springblade.modules.system.excel.SecurityYyExcel; |
| | | import org.springblade.modules.system.excel.UserExcel; |
| | | import org.springblade.modules.system.excel.*; |
| | | import org.springblade.modules.system.node.TreeNode; |
| | | import org.springblade.modules.system.vo.UserInfoDetail; |
| | | import org.springblade.modules.system.vo.UserVO; |
| | | |
| | | import java.util.List; |
| | |
| | | |
| | | /** |
| | | * 用户信息 |
| | | * @param tenantId |
| | | * @param account |
| | | * @param password |
| | | * @param userEnum |
| | | * @return |
| | | */ |
| | | UserInfo wxUserInfo(String tenantId, String account, String password, UserEnum userEnum); |
| | | |
| | | |
| | | /** |
| | | * 用户信息 |
| | | * |
| | | * @param userOauth |
| | | * @return |
| | |
| | | /** |
| | | * 导出用户数据 |
| | | * |
| | | * @param queryWrapper |
| | | * @return |
| | | */ |
| | | //List<UserExcel> exportUser(Wrapper<User> queryWrapper); |
| | | List<UserExcel> exportUser(Map<String, Object> user); |
| | | |
| | | /** |
| | | * 注册用户 |
| | |
| | | * @return |
| | | */ |
| | | User getUserById(String id); |
| | | |
| | | /** |
| | | * 获取用户信息 |
| | | * @param tenantId |
| | | * @param phone |
| | | * @param web |
| | | * @return |
| | | */ |
| | | UserInfo userInfoByWx(String tenantId, String phone, UserEnum web); |
| | | |
| | | /** |
| | | * 6个月未登录人员,进行冻结 |
| | | */ |
| | | void sixMonthNotLoginHandle(); |
| | | |
| | | /** |
| | | * 12个月未登录人员,进行注销 |
| | | */ |
| | | void oneYearNotLoginHandle(); |
| | | |
| | | /** |
| | | * 判断用户是否存在(根据手机号) |
| | | * @param phone |
| | | * @return |
| | | */ |
| | | UserInfo getUserByPhone(String phone); |
| | | |
| | | /** |
| | | * 判断是否报名 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | boolean getUserIsApply(Long id); |
| | | |
| | | /** |
| | | * 自定义查询详情信息 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | UserVO getUserDetailById(Long id); |
| | | |
| | | /** |
| | | * 数据处理 |
| | | * @return |
| | | */ |
| | | Object dataHandler(); |
| | | |
| | | Boolean wxRegister(User user); |
| | | |
| | | UserInfoDetail getUserInfoDetail(String id); |
| | | |
| | | boolean batchAudit(String ids, String auditStatus); |
| | | |
| | | void importSecurityPaperTime(List<UserCertificateExcel> data, Boolean isCovered, String deptId); |
| | | |
| | | } |