package com.doumee.service.system;
|
|
import com.doumee.core.model.PageData;
|
import com.doumee.core.model.PageWrap;
|
import com.doumee.dao.system.dto.QuerySystemDictDTO;
|
import com.doumee.dao.system.model.SystemDict;
|
import com.doumee.dao.system.vo.SystemDictListVO;
|
|
import java.util.List;
|
|
/**
|
* 字典Service定义
|
* @author Eva.Caesar Liu
|
* @date 2022/03/15 09:54
|
*/
|
public interface SystemDictService {
|
|
/**
|
* 创建
|
* @author Eva.Caesar Liu
|
* @date 2022/03/15 09:54
|
*/
|
Integer create(SystemDict systemDict);
|
|
/**
|
* 主键删除
|
* @author Eva.Caesar Liu
|
* @date 2022/03/15 09:54
|
*/
|
void deleteById(Integer id);
|
|
/**
|
* 批量主键删除
|
* @author Eva.Caesar Liu
|
* @date 2022/03/15 09:54
|
*/
|
void deleteByIdInBatch(List<Integer> ids);
|
|
/**
|
* 主键更新
|
* @author Eva.Caesar Liu
|
* @date 2022/03/15 09:54
|
*/
|
void updateById(SystemDict systemDict);
|
|
/**
|
* 批量主键更新
|
* @author Eva.Caesar Liu
|
* @date 2022/03/15 09:54
|
*/
|
void updateByIdInBatch(List<SystemDict> systemDicts);
|
|
/**
|
* 主键查询
|
* @author Eva.Caesar Liu
|
* @date 2022/03/15 09:54
|
*/
|
SystemDict findById(Integer id);
|
|
/**
|
* 条件查询单条记录
|
* @author Eva.Caesar Liu
|
* @date 2022/03/15 09:54
|
*/
|
SystemDict findOne(SystemDict systemDict);
|
|
/**
|
* 条件查询
|
* @author Eva.Caesar Liu
|
* @date 2022/03/15 09:54
|
*/
|
List<SystemDict> findList(SystemDict systemDict);
|
|
/**
|
* 分页查询
|
* @author Eva.Caesar Liu
|
* @date 2022/03/15 09:54
|
*/
|
PageData<SystemDictListVO> findPage(PageWrap<QuerySystemDictDTO> pageWrap);
|
|
/**
|
* 条件统计
|
* @author Eva.Caesar Liu
|
* @date 2022/03/15 09:54
|
*/
|
long count(SystemDict systemDict);
|
|
|
|
}
|