| | |
| | | package com.vci.ubcs.code.service; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.github.yulichang.base.MPJBaseService; |
| | | import com.vci.ubcs.code.dto.CodeReferConfigDTO; |
| | | import com.vci.ubcs.code.entity.CodeReferConfig; |
| | | import com.vci.ubcs.code.vo.CodeReferConfigVO; |
| | | import com.vci.ubcs.starter.web.pagemodel.BaseQueryObject; |
| | | import com.vci.ubcs.starter.web.pagemodel.BladeQueryObject; |
| | | import org.springblade.core.mp.support.Query; |
| | | import org.springblade.core.tool.api.R; |
| | | import org.springframework.data.domain.Page; |
| | | import org.springframework.data.domain.PageRequest; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 参照配置表(CodeReferConfig)表服务接口 |
| | |
| | | * @author ludc |
| | | * @since 2023-05-19 17:47:59 |
| | | */ |
| | | public interface CodeReferConfigService extends IService<CodeReferConfig> { |
| | | public interface CodeReferConfigService extends MPJBaseService<CodeReferConfig> { |
| | | |
| | | /** |
| | | * 通过ID查询单条数据 |
| | |
| | | * @param oid 主键 |
| | | * @return 实例对象 |
| | | */ |
| | | CodeReferConfig queryById(String oid); |
| | | CodeReferConfigVO queryById(String oid); |
| | | |
| | | /** |
| | | * 分页查询 |
| | |
| | | * @param bladeQueryObject 筛选条件 |
| | | * @return 查询结果 |
| | | */ |
| | | IPage<CodeReferConfigVO> queryByPage(BladeQueryObject bladeQueryObject); |
| | | IPage<CodeReferConfigVO> queryByJoinPage(BladeQueryObject bladeQueryObject); |
| | | |
| | | /** |
| | | * 分页查询 |
| | | * |
| | | * @param codeReferConfigVO 筛选条件 |
| | | * @return 查询结果 |
| | | */ |
| | | List<CodeReferConfigVO> queryByList(CodeReferConfigVO codeReferConfigVO); |
| | | |
| | | /** |
| | | * 新增数据 |
| | | * |
| | | * @param codeReferconfig 实例对象 |
| | | * @param codeReferConfigVO 实例对象 |
| | | * @return 实例对象 |
| | | */ |
| | | CodeReferConfig insert(CodeReferConfig codeReferconfig); |
| | | R insert(CodeReferConfigVO codeReferConfigVO); |
| | | |
| | | /** |
| | | * 修改数据 |
| | | * |
| | | * @param codeReferconfig 实例对象 |
| | | * @param codeReferConfigVO 实例对象 |
| | | * @return 实例对象 |
| | | */ |
| | | CodeReferConfig update(CodeReferConfig codeReferconfig); |
| | | R update(CodeReferConfigVO codeReferConfigVO); |
| | | |
| | | /** |
| | | * 通过主键删除数据 |
| | | * |
| | | * @param oid 主键 |
| | | * @param codeReferConfigDTO |
| | | * @return 是否成功 |
| | | */ |
| | | boolean deleteById(String oid); |
| | | R deleteById(CodeReferConfigDTO codeReferConfigDTO); |
| | | |
| | | } |