package com.gk.hotwork.Service;
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
import com.baomidou.mybatisplus.extension.service.IService;
|
import com.gk.hotwork.Domain.DepartmentInfo;
|
import com.gk.hotwork.Domain.RoleInfo;
|
import com.gk.hotwork.Domain.UserInfo;
|
import com.gk.hotwork.Domain.Utils.Msg;
|
import com.gk.hotwork.Domain.Utils.PageInfo;
|
import com.gk.hotwork.Domain.Vo.AccountUserVo;
|
import com.gk.hotwork.Domain.Vo.RegisterVo;
|
import com.gk.hotwork.Domain.Vo.UserVo;
|
import org.apache.catalina.User;
|
|
import java.util.HashMap;
|
import java.util.List;
|
import java.util.Map;
|
|
public interface UserService extends IService<UserInfo> {
|
|
void selectUserDataGrid(PageInfo pageInfo);
|
|
UserInfo selectByUser(String username);
|
|
List<UserInfo> selectUserInfo(Long id, String username);
|
|
boolean checkUserById(String userId);
|
|
UserVo selectUserVoByName(String examtype, String username);
|
|
void deleteById(Long id);
|
|
void recoverOneById(Long id);
|
|
UserInfo selectByRealName(Long id,String realname);
|
|
UserInfo getByRealName(String realname, String depName);
|
|
UserInfo selectByIdCard(Long id,String idcard);
|
|
List<UserInfo> selectNotUpload();
|
|
List<UserVo> selectAll(HashMap<String, Object> condition);
|
|
List<UserInfo> selectByCompany(String company);
|
|
Msg saveEmployee(String realname, String empNo, String deviceNo) throws Exception;
|
|
Msg setCardValid(String isValid, String cardId) throws Exception;
|
|
Msg delEmployee(String cardId) throws Exception;
|
|
Msg getRealGps() throws Exception;
|
|
UserInfo selectUserByCard(String deviceNo, String empNo, String name);
|
|
List<UserInfo> getGps(String username);
|
|
int selectUserSize();
|
|
UserInfo getByDeviceNo(String uid);
|
|
IPage<UserVo> selectUserPageInDepartment(Page<UserVo> page, Map<String, Object> filter, UserInfo user);
|
|
List<UserVo> getUserList();
|
|
UserInfo examForegroundLogin(String username, String password);
|
|
Integer selectCountForExam(String name, String idno, String tel, String department,String company);
|
|
List<UserInfo> selectPageForExam(String name, String idno, String tel, String department, String company, Integer first, Integer pageSize);
|
|
void register(RegisterVo registerVo);
|
|
void pwdChange(String username, String password, String phone);
|
|
AccountUserVo getAccount(String username, String department);
|
|
|
/**
|
* @Description: 手机号是否正在被使用
|
* @date 2022/5/11 9:33
|
*/
|
boolean phoneIsOccupied(String phone);
|
|
/**
|
* @Description: 身份证是否正在被使用
|
* @date 2022/5/11 9:39
|
*/
|
boolean idCardIsOccupied(String idCard);
|
|
/**
|
* @Description: 考试后台登录
|
* @date 2022/5/12 9:32
|
*/
|
UserInfo examBackgroundLogin(String username, String password);
|
/**
|
查询by姓名
|
*/
|
UserInfo getUserByRealName(String trim);
|
/**
|
查询by姓名 and dep
|
*/
|
UserInfo getUserByRealNameAndDep(String name, Long dep);
|
/**
|
查询by Id
|
*/
|
UserInfo getByUserId(Long userId);
|
|
}
|