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.
108 lines
2.3 KiB
108 lines
2.3 KiB
3 years ago
|
package com.epmet.service;
|
||
|
|
||
|
import com.epmet.commons.mybatis.service.BaseService;
|
||
|
import com.epmet.commons.tools.page.PageData;
|
||
|
import com.epmet.commons.tools.utils.Result;
|
||
|
import com.epmet.dto.ChangeWelfareDTO;
|
||
|
import com.epmet.dto.CheckWelfareByIdCardDTO;
|
||
|
import com.epmet.entity.ChangeWelfareEntity;
|
||
|
|
||
|
import java.util.List;
|
||
|
import java.util.Map;
|
||
|
|
||
|
/**
|
||
|
* 福利表
|
||
|
*
|
||
|
* @author generator generator@elink-cn.com
|
||
|
* @since v1.0.0 2022-05-09
|
||
|
*/
|
||
|
public interface ChangeWelfareService extends BaseService<ChangeWelfareEntity> {
|
||
|
|
||
|
/**
|
||
|
* 默认分页
|
||
|
*
|
||
|
* @param params
|
||
|
* @return PageData<ChangeWelfareDTO>
|
||
|
* @author generator
|
||
|
* @date 2022-05-09
|
||
|
*/
|
||
|
PageData<ChangeWelfareDTO> page(Map<String, Object> params);
|
||
|
|
||
|
/**
|
||
|
* 默认查询
|
||
|
*
|
||
|
* @param params
|
||
|
* @return java.util.List<ChangeWelfareDTO>
|
||
|
* @author generator
|
||
|
* @date 2022-05-09
|
||
|
*/
|
||
|
List<ChangeWelfareDTO> list(Map<String, Object> params);
|
||
|
|
||
|
/**
|
||
|
* 单条查询
|
||
|
*
|
||
|
* @param id
|
||
|
* @return ChangeWelfareDTO
|
||
|
* @author generator
|
||
|
* @date 2022-05-09
|
||
|
*/
|
||
|
ChangeWelfareDTO get(String id);
|
||
|
|
||
|
/**
|
||
|
* 默认保存
|
||
|
*
|
||
|
* @param dto
|
||
|
* @return void
|
||
|
* @author generator
|
||
|
* @date 2022-05-09
|
||
|
*/
|
||
|
Result save(ChangeWelfareDTO dto);
|
||
|
|
||
|
/**
|
||
|
* 默认更新
|
||
|
*
|
||
|
* @param dto
|
||
|
* @return void
|
||
|
* @author generator
|
||
|
* @date 2022-05-09
|
||
|
*/
|
||
|
void update(ChangeWelfareDTO dto);
|
||
|
|
||
|
/**
|
||
|
* 批量删除
|
||
|
*
|
||
|
* @param ids
|
||
|
* @return void
|
||
|
* @author generator
|
||
|
* @date 2022-05-09
|
||
|
*/
|
||
|
void delete(String[] ids);
|
||
|
|
||
|
/**
|
||
|
* @describe: 移除福利人员
|
||
|
* @author wangtong
|
||
|
* @date 2022/5/9 11:11
|
||
|
* @params [dto]
|
||
|
* @return com.epmet.commons.tools.utils.Result
|
||
|
*/
|
||
|
Result removeWelfare(ChangeWelfareDTO dto);
|
||
|
|
||
|
/**
|
||
|
* @describe: 通过身份证号查询是否属于福利人员,是-true,否-false
|
||
|
* @author wangtong
|
||
|
* @date 2022/5/9 13:54
|
||
|
* @params [dto]
|
||
|
* @return java.lang.Boolean
|
||
|
*/
|
||
|
Boolean checkWelfareByIdCard(CheckWelfareByIdCardDTO dto);
|
||
|
|
||
|
/**
|
||
|
* @describe: 保存福利人员
|
||
|
* @author wangtong
|
||
|
* @date 2022/5/9 14:10
|
||
|
* @params []
|
||
|
* @return com.epmet.commons.tools.utils.Result
|
||
|
*/
|
||
|
Result saveWelfareInfo(ChangeWelfareDTO dto);
|
||
|
}
|