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 com.doumee.dao.system.vo.SystemQrcodeListVO;
|
|
import java.util.List;
|
|
/**
|
* 字典Service定义
|
* @author dm
|
* @since 2025/03/31 16:44
|
*/
|
public interface SystemDictService {
|
|
/**
|
* 创建
|
*
|
* @param systemDict 字典
|
* @return Integer
|
*/
|
Integer create(SystemDict systemDict);
|
|
/**
|
* 主键删除
|
*
|
* @param id 主键
|
*/
|
void deleteById(Integer id);
|
|
/**
|
* 批量主键删除
|
*
|
* @param ids 主键列表
|
*/
|
void deleteByIdInBatch(List<Integer> ids);
|
|
/**
|
* 主键更新
|
*
|
* @param systemDict 字典
|
*/
|
void updateById(SystemDict systemDict);
|
|
/**
|
* 批量主键更新
|
*
|
* @param systemDicts 字典列表
|
*/
|
void updateByIdInBatch(List<SystemDict> systemDicts);
|
|
/**
|
* 主键查询
|
*
|
* @param id 主键
|
* @return SystemDict
|
*/
|
SystemDict findById(Integer id);
|
|
/**
|
* 条件查询单条记录
|
*
|
* @param systemDict 条件参数
|
* @return SystemDict
|
*/
|
SystemDict findOne(SystemDict systemDict);
|
|
/**
|
* 条件查询
|
*
|
* @param systemDict 条件参数
|
* @return List<SystemDict>
|
*/
|
List<SystemDict> findList(SystemDict systemDict);
|
|
/**
|
* 分页查询
|
*
|
* @param pageWrap 分页参数
|
* @return PageData<SystemDictListVO>
|
*/
|
PageData<SystemDictListVO> findPage(PageWrap<QuerySystemDictDTO> pageWrap);
|
|
/**
|
* 条件统计
|
*
|
* @param systemDict 统计参数
|
* @return long
|
*/
|
long count(SystemDict systemDict);
|
|
List<SystemQrcodeListVO> qrcodeList(QuerySystemDictDTO pageWrap);
|
}
|