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.
89 lines
1.8 KiB
89 lines
1.8 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.ChangeDeathDTO;
|
|
import com.epmet.dto.form.OnlyIdFormDTO;
|
|
import com.epmet.entity.ChangeDeathEntity;
|
|
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
|
|
/**
|
|
* 死亡名单表
|
|
*
|
|
* @author generator generator@elink-cn.com
|
|
* @since v1.0.0 2022-05-05
|
|
*/
|
|
public interface ChangeDeathService extends BaseService<ChangeDeathEntity> {
|
|
|
|
/**
|
|
* 默认分页
|
|
*
|
|
* @param params
|
|
* @return PageData<ChangeDeathDTO>
|
|
* @author generator
|
|
* @date 2022-05-05
|
|
*/
|
|
PageData<ChangeDeathDTO> page(Map<String, Object> params);
|
|
|
|
/**
|
|
* 默认查询
|
|
*
|
|
* @param params
|
|
* @return java.util.List<ChangeDeathDTO>
|
|
* @author generator
|
|
* @date 2022-05-05
|
|
*/
|
|
List<ChangeDeathDTO> list(Map<String, Object> params);
|
|
|
|
/**
|
|
* 单条查询
|
|
*
|
|
* @param id
|
|
* @return ChangeDeathDTO
|
|
* @author generator
|
|
* @date 2022-05-05
|
|
*/
|
|
ChangeDeathDTO get(String id);
|
|
|
|
/**
|
|
* 默认保存
|
|
*
|
|
* @param dto
|
|
* @return void
|
|
* @author generator
|
|
* @date 2022-05-05
|
|
*/
|
|
Result save(ChangeDeathDTO dto);
|
|
|
|
/**
|
|
* 默认更新
|
|
*
|
|
* @param dto
|
|
* @return void
|
|
* @author generator
|
|
* @date 2022-05-05
|
|
*/
|
|
void update(ChangeDeathDTO dto);
|
|
|
|
/**
|
|
* 批量删除
|
|
*
|
|
* @param ids
|
|
* @return void
|
|
* @author generator
|
|
* @date 2022-05-05
|
|
*/
|
|
void delete(String[] ids);
|
|
|
|
/**
|
|
* 恢复迁出人员
|
|
* @return
|
|
*/
|
|
void recovery(TokenDto tokenDto, OnlyIdFormDTO dto);
|
|
|
|
|
|
}
|
|
|