package ink.wgink.service.department.service;

import ink.wgink.exceptions.SaveException;
import ink.wgink.exceptions.UpdateException;
import ink.wgink.pojo.ListPage;
import ink.wgink.pojo.result.SuccessResultList;
import ink.wgink.service.department.pojo.dtos.DepartmentUserAdjustmentDTO;

import java.util.List;
import java.util.Map;

/**
 * When you feel like quitting. Think about why you started
 * 当你想要放弃的时候，想想当初你为何开始
 *
 * @ClassName: IDepartmentUserAdjustmentService
 * @Description: 部门用户调整
 * @Author: wanggeng
 * @Date: 2021/1/29 11:35 上午
 * @Version: 1.0
 */
public interface IDepartmentUserAdjustmentService {

    /**
     * 新增部门用户调整
     *
     * @param params
     */
    void save(Map<String, Object> params);

    /**
     * 部门用户调整分页列表
     *
     * @param page 分页
     * @return
     */
    SuccessResultList<List<DepartmentUserAdjustmentDTO>> listPage(ListPage page);

}
