package doumeemes.biz.system; 
 | 
  
 | 
import com.iflytek.antelope.other.client.dto.resp.UserDTO; 
 | 
import doumeemes.dao.business.dto.AutoLoginUserDTO; 
 | 
import doumeemes.dao.business.dto.CompanyInitDataDTO; 
 | 
import doumeemes.dao.business.model.Company; 
 | 
import doumeemes.dao.business.model.CompanyUser; 
 | 
import doumeemes.dao.system.dto.*; 
 | 
import org.springframework.web.multipart.MultipartFile; 
 | 
  
 | 
import java.io.IOException; 
 | 
import java.util.List; 
 | 
  
 | 
/** 
 | 
 * 系统用户业务处理 
 | 
 * @author Eva.Caesar Liu 
 | 
 * @date 2022/04/18 18:12 
 | 
 */ 
 | 
public interface SystemUserBiz { 
 | 
  
 | 
    /** 
 | 
     * 删除 
 | 
     * @author Eva.Caesar Liu 
 | 
     * @date 2022/04/18 18:12 
 | 
     */ 
 | 
    void deleteById(Integer id); 
 | 
  
 | 
    /** 
 | 
     * 批量删除 
 | 
     * @author Eva.Caesar Liu 
 | 
     * @date 2022/04/18 18:12 
 | 
     */ 
 | 
    void deleteByIdInBatch(List<Integer> ids); 
 | 
  
 | 
    /** 
 | 
     * 修改密码 
 | 
     * @author Eva.Caesar Liu 
 | 
     * @date 2022/04/18 18:12 
 | 
     */ 
 | 
    void updatePwd(UpdatePwdDto dto); 
 | 
  
 | 
    /** 
 | 
     * 重置密码 
 | 
     * @author Eva.Caesar Liu 
 | 
     * @date 2022/04/18 18:12 
 | 
     */ 
 | 
    void resetPwd(ResetSystemUserPwdDTO dto); 
 | 
  
 | 
    /** 
 | 
     * 创建用户 
 | 
     * @author Eva.Caesar Liu 
 | 
     * @date 2022/04/18 18:12 
 | 
     */ 
 | 
    void create(CreateSystemUserDTO systemUser ); 
 | 
  
 | 
    /** 
 | 
     * 修改用户信息 
 | 
     * @author Eva.Caesar Liu 
 | 
     * @date 2022/04/18 18:12 
 | 
     */ 
 | 
    void updateById(CreateSystemUserDTO systemUser); 
 | 
  
 | 
    /** 
 | 
     * 创建用户角色 
 | 
     * @author Eva.Caesar Liu 
 | 
     * @date 2022/04/18 18:12 
 | 
     */ 
 | 
    void createUserRole(CreateUserRoleDTO dto); 
 | 
  
 | 
    void updateDepart(UpdateUserDepartDTO user); 
 | 
  
 | 
    void importUsers(MultipartFile file, String pwd) throws IOException; 
 | 
  
 | 
      void importLingYangUser(AutoLoginUserDTO userParam, String pwd, Company com); 
 | 
  
 | 
    void importPlat(CompanyInitDataDTO user, String pwd, Company com); 
 | 
} 
 |