package com.doumee.service.system;
|
|
import com.doumee.core.model.PageData;
|
import com.doumee.core.model.PageWrap;
|
import com.doumee.dao.system.dto.CreateExportSystemUserDTO;
|
import com.doumee.dao.system.dto.CreateSystemUserDTO;
|
import com.doumee.dao.system.dto.QuerySystemUserDTO;
|
import com.doumee.dao.system.model.SystemUser;
|
import com.doumee.dao.system.vo.SystemUserDetailVO;
|
import com.doumee.dao.system.vo.SystemUserListVO;
|
import org.springframework.web.multipart.MultipartFile;
|
|
import java.util.List;
|
|
/**
|
* 系统用户Service定义
|
* @author Eva.Caesar Liu
|
* @date 2023/02/14 11:14
|
*/
|
public interface SystemUserService {
|
|
/**
|
* 创建
|
* @author Eva.Caesar Liu
|
* @date 2023/02/14 11:14
|
*/
|
Integer create(SystemUser systemUser);
|
|
|
/**
|
*
|
* 管理段创建用户
|
* @param systemUser
|
*/
|
void createSystemUSer(SystemUser systemUser);
|
|
/**
|
* 主键删除
|
* @author Eva.Caesar Liu
|
* @date 2023/02/14 11:14
|
*/
|
void deleteById(Integer id);
|
|
|
/**
|
* 用户启用禁用
|
* @author Eva.Caesar Liu
|
* @date 2023/02/14 11:14
|
*/
|
void changeStatusById(Integer id, Integer value);
|
|
/**
|
* 批量主键删除
|
* @author Eva.Caesar Liu
|
* @date 2023/02/14 11:14
|
*/
|
void deleteByIdInBatch(List<Integer> ids);
|
|
/**
|
* 主键更新
|
* @author Eva.Caesar Liu
|
* @date 2023/02/14 11:14
|
*/
|
void updateById(SystemUser systemUser);
|
|
void updateSystemUser(SystemUser systemUser);
|
|
/**
|
* 批量主键更新
|
* @author Eva.Caesar Liu
|
* @date 2023/02/14 11:14
|
*/
|
void updateByIdInBatch(List<SystemUser> systemUsers);
|
|
/**
|
* 主键查询
|
* @author Eva.Caesar Liu
|
* @date 2023/02/14 11:14
|
*/
|
SystemUser findById(Integer id);
|
|
/**
|
* 条件查询单条记录
|
* @author Eva.Caesar Liu
|
* @date 2023/02/14 11:14
|
*/
|
SystemUser findOne(SystemUser systemUser);
|
|
/**
|
* 条件查询
|
* @author Eva.Caesar Liu
|
* @date 2023/02/14 11:14
|
*/
|
List<SystemUser> findList(SystemUser systemUser);
|
|
/**
|
* 分页查询
|
* @author Eva.Caesar Liu
|
* @date 2023/02/14 11:14
|
*/
|
PageData<SystemUserListVO> findPage(PageWrap<QuerySystemUserDTO> pageWrap);
|
|
|
/**
|
* 分页查询用户信息
|
* @author jiaosong
|
* @date 2023/02/14 11:14
|
*/
|
PageData<SystemUserDetailVO> findAllPage(PageWrap<QuerySystemUserDTO> pageWrap);
|
|
/**
|
* 分页查询子账号信息
|
* @author jiaosong
|
* @date 2023/02/14 11:14
|
*/
|
PageData<SystemUserDetailVO> findSystemUserSon(PageWrap<SystemUser> user);
|
|
|
/**
|
* 分页查询子账号信息
|
* @author jiaosong
|
* @date 2023/02/14 11:14
|
*/
|
PageData<SystemUserDetailVO> findSystemSjSon(PageWrap<SystemUser> user);
|
/**
|
* 企业用户批量导入
|
* @param file
|
* @return
|
*/
|
Integer importCompanyBatch(MultipartFile file);
|
|
|
|
|
/**
|
* 条件统计
|
* @author Eva.Caesar Liu
|
* @date 2023/02/14 11:14
|
*/
|
long count(SystemUser systemUser);
|
|
/**
|
* 修改个人账号
|
* @param systemUser
|
*/
|
void updateZFServiceById(CreateSystemUserDTO systemUser);
|
|
|
/**
|
* 创建子账号
|
* @param systemUser
|
*/
|
void createOrUpdateZFServiceSonById(CreateSystemUserDTO systemUser);
|
|
|
/**
|
* 市局创建子账号
|
* @param systemUser
|
*/
|
void createOrUpdateSJSonById(CreateSystemUserDTO systemUser);
|
|
|
/**
|
* 修改子账号信息
|
* @param systemUser
|
*/
|
void updateZFServiceSonById(CreateSystemUserDTO systemUser);
|
|
|
/**
|
* 注册专家
|
* @param createExportSystemUserDTO
|
* @return
|
*/
|
Integer registerExportUser(CreateExportSystemUserDTO createExportSystemUserDTO);
|
}
|