package com.doumee.service.system;
|
|
import com.doumee.service.business.third.model.PageData;
|
import com.doumee.service.business.third.model.PageWrap;
|
import com.doumee.dao.system.dto.QuerySystemUserDTO;
|
import com.doumee.dao.system.model.SystemUser;
|
import com.doumee.dao.system.vo.SystemUserListVO;
|
import com.doumee.dao.system.vo.UserResponse;
|
|
import java.util.List;
|
|
/**
|
* 系统用户Service定义
|
* @author Eva.Caesar Liu
|
* @date 2023/03/21 14:49
|
*/
|
public interface SystemUserService {
|
|
/**
|
* 创建
|
* @author Eva.Caesar Liu
|
* @date 2023/03/21 14:49
|
*/
|
Integer create(SystemUser systemUser);
|
|
/**
|
* 主键删除
|
* @author Eva.Caesar Liu
|
* @date 2023/03/21 14:49
|
*/
|
void deleteById(Integer id);
|
|
/**
|
* 批量主键删除
|
* @author Eva.Caesar Liu
|
* @date 2023/03/21 14:49
|
*/
|
void deleteByIdInBatch(List<Integer> ids);
|
|
/**
|
* 主键更新
|
* @author Eva.Caesar Liu
|
* @date 2023/03/21 14:49
|
*/
|
void updateById(SystemUser systemUser);
|
|
/**
|
* 批量主键更新
|
* @author Eva.Caesar Liu
|
* @date 2023/03/21 14:49
|
*/
|
void updateByIdInBatch(List<SystemUser> systemUsers);
|
|
/**
|
* 主键查询
|
* @author Eva.Caesar Liu
|
* @date 2023/03/21 14:49
|
*/
|
SystemUser findById(Integer id);
|
|
/**
|
* 条件查询单条记录
|
* @author Eva.Caesar Liu
|
* @date 2023/03/21 14:49
|
*/
|
SystemUser findOne(SystemUser systemUser);
|
|
/**
|
* 条件查询
|
* @author Eva.Caesar Liu
|
* @date 2023/03/21 14:49
|
*/
|
List<SystemUser> findList(SystemUser systemUser);
|
|
List<UserResponse> getUserList(Integer bookingsId);
|
/**
|
* 分页查询
|
* @author Eva.Caesar Liu
|
* @date 2023/03/21 14:49
|
*/
|
PageData<SystemUserListVO> findPage(PageWrap<QuerySystemUserDTO> pageWrap);
|
PageData<SystemUser> findDriverPage(PageWrap<SystemUser> pageWrap);
|
|
List<SystemUser> findAllList(SystemUser pageWrap);
|
|
/**
|
* 查询所有内部人员列表
|
* @return
|
*/
|
List<SystemUser> findInternalList();
|
|
/**
|
* 条件统计
|
* @author Eva.Caesar Liu
|
* @date 2023/03/21 14:49
|
*/
|
long count(SystemUser systemUser);
|
|
|
}
|