forked from rongchao/epmet-cloud-rizhao
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
118 lines
2.4 KiB
118 lines
2.4 KiB
package com.epmet.service;
|
|
|
|
import com.epmet.commons.mybatis.service.BaseService;
|
|
import com.epmet.commons.tools.page.PageData;
|
|
import com.epmet.commons.tools.security.dto.TokenDto;
|
|
import com.epmet.commons.tools.utils.Result;
|
|
import com.epmet.dto.ChangeRelocationDTO;
|
|
import com.epmet.dto.form.OnlyIdFormDTO;
|
|
import com.epmet.entity.ChangeRelocationEntity;
|
|
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
|
|
/**
|
|
* 合同表
|
|
*
|
|
* @author generator generator@elink-cn.com
|
|
* @since v1.0.0 2022-05-06
|
|
*/
|
|
public interface ChangeRelocationService extends BaseService<ChangeRelocationEntity> {
|
|
|
|
/**
|
|
* 默认分页
|
|
*
|
|
* @param params
|
|
* @return PageData<ChangeRelocationDTO>
|
|
* @author generator
|
|
* @date 2022-05-06
|
|
*/
|
|
PageData<ChangeRelocationDTO> page(Map<String, Object> params);
|
|
|
|
/**
|
|
* 默认查询
|
|
*
|
|
* @param params
|
|
* @return java.util.List<ChangeRelocationDTO>
|
|
* @author generator
|
|
* @date 2022-05-06
|
|
*/
|
|
List<ChangeRelocationDTO> list(Map<String, Object> params);
|
|
|
|
/**
|
|
* 单条查询
|
|
*
|
|
* @param id
|
|
* @return ChangeRelocationDTO
|
|
* @author generator
|
|
* @date 2022-05-06
|
|
*/
|
|
ChangeRelocationDTO get(String id);
|
|
|
|
/**
|
|
* 默认保存
|
|
*
|
|
* @param dto
|
|
* @return void
|
|
* @author generator
|
|
* @date 2022-05-06
|
|
*/
|
|
void save(ChangeRelocationDTO dto);
|
|
|
|
/**
|
|
* 默认更新
|
|
*
|
|
* @param dto
|
|
* @return void
|
|
* @author generator
|
|
* @date 2022-05-06
|
|
*/
|
|
void update(ChangeRelocationDTO dto);
|
|
|
|
/**
|
|
* 批量删除
|
|
*
|
|
* @param ids
|
|
* @return void
|
|
* @author generator
|
|
* @date 2022-05-06
|
|
*/
|
|
void delete(String[] ids);
|
|
|
|
/**
|
|
* @describe: 保存迁出信息
|
|
* @author wangtong
|
|
* @date 2022/5/7 9:49
|
|
* @params [dto]
|
|
* @return com.epmet.commons.tools.utils.Result
|
|
*/
|
|
Result saveOutOfInfo(ChangeRelocationDTO dto);
|
|
|
|
/**
|
|
* 从家庭中移除
|
|
*
|
|
* @Param dto
|
|
* @Return
|
|
* @Author zhaoqifeng
|
|
* @Date 2022/6/27 10:52
|
|
*/
|
|
void moveOutHome(ChangeRelocationDTO dto);
|
|
|
|
/**
|
|
* 从家庭中移除
|
|
*
|
|
* @Param dto
|
|
* @Return
|
|
* @Author zhaoqifeng
|
|
* @Date 2022/6/27 10:52
|
|
*/
|
|
void moveOutHomeConfirm(ChangeRelocationDTO dto);
|
|
|
|
/**
|
|
* 恢复迁出人员
|
|
* @return
|
|
*/
|
|
void recovery(TokenDto tokenDto,OnlyIdFormDTO dto);
|
|
|
|
|
|
}
|
|
|