| | |
| | | package com.vci.ubcs.code.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.vci.ubcs.code.entity.CodeShowFieldConfig; |
| | | import com.vci.ubcs.code.entity.CodeSrchCondConfig; |
| | | import com.vci.ubcs.code.entity.CodeSrchCondConfig; |
| | | import com.vci.ubcs.code.service.impl.CodeSrchCondConfigServiceImpl; |
| | | import com.vci.ubcs.code.vo.CodeSrchCondConfigVO; |
| | | import org.springframework.data.domain.Page; |
| | | import org.springframework.data.domain.PageRequest; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 引用码段,参照配置界面,查询条件配置表(CodeSrchCondConfig)表服务接口 |
| | |
| | | * @author ludc |
| | | * @since 2023-05-19 17:58:56 |
| | | */ |
| | | public interface CodeSrchCondConfigService { |
| | | public interface CodeSrchCondConfigService extends IService<CodeSrchCondConfig> { |
| | | |
| | | /** |
| | | * 通过ID查询单条数据 |
| | |
| | | * @param codeSrchCondConfig 实例对象 |
| | | * @return 实例对象 |
| | | */ |
| | | CodeSrchCondConfig insert(CodeSrchCondConfig codeSrchCondConfig); |
| | | boolean insert(CodeSrchCondConfig codeSrchCondConfig); |
| | | |
| | | /** |
| | | * 批量新增数据 |
| | | * |
| | | * @param codeSrchCondConfigVOS 实例对象 |
| | | * @return 实例对象 |
| | | */ |
| | | boolean insertBatch(List<CodeSrchCondConfigVO> codeSrchCondConfigVOS); |
| | | |
| | | /** |
| | | * 修改数据 |
| | |
| | | * @param codeSrchCondConfig 实例对象 |
| | | * @return 实例对象 |
| | | */ |
| | | CodeSrchCondConfig update(CodeSrchCondConfig codeSrchCondConfig); |
| | | boolean update(CodeSrchCondConfig codeSrchCondConfig); |
| | | |
| | | /** |
| | | * 批量——修改数据 |
| | | * |
| | | * @param codeSrchCondConfigVOS 实例对象 |
| | | * @return 实例对象 |
| | | */ |
| | | boolean updateBatch(List<CodeSrchCondConfigVO> codeSrchCondConfigVOS); |
| | | |
| | | /** |
| | | * 通过主键删除数据 |
| | |
| | | */ |
| | | boolean deleteById(String oid); |
| | | |
| | | /** |
| | | * 通过关联的参照配置id删除数据 |
| | | * |
| | | * @param oid 参照配置主键 |
| | | * @return 是否成功 |
| | | */ |
| | | boolean deleteByReferConfigOid(String oid); |
| | | |
| | | } |