| | |
| | | package com.vci.ubcs.code.service; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.vci.ubcs.code.dto.CodeBasicSecDTO; |
| | | import com.vci.ubcs.code.entity.CodeBasicSec; |
| | | import com.vci.ubcs.code.vo.pagemodel.CodeBasicSecVO; |
| | | import com.vci.ubcs.com.vci.starter.exception.VciBaseException; |
| | | import com.vci.ubcs.com.vci.starter.web.pagemodel.KeyValue; |
| | | |
| | | /** |
| | | * 固定码段的码值服务接口 |
| | |
| | | public interface ICodeBasicSecService extends IService<CodeBasicSec> { |
| | | |
| | | /** |
| | | * 查询所有的码段基础信息 |
| | | * @param codeBasicSecVO 查询条件 |
| | | * @param page 分页和排序 |
| | | * @return 执行结果 |
| | | * @throws VciBaseException 查询条件和分页出错的时候会抛出异常 |
| | | */ |
| | | IPage<CodeBasicSecVO> gridCodeBasicSec(IPage<CodeBasicSecVO> page, CodeBasicSecVO codeBasicSecVO) throws VciBaseException; |
| | | |
| | | /** |
| | | * 根据编码规则批量删除码段基本信息 |
| | | * @param codeRuleOid 编码规则主键 |
| | | * @return 执行结果 |
| | | */ |
| | | boolean batchDeleteSecByCodeRuleOid(String codeRuleOid); |
| | | |
| | | /** |
| | | * 根据码段分类的类型判断属性是否是空的 |
| | | * |
| | | * @param codeBasicSecDTO 码段基础信息数据传输对象 |
| | | * @return 有空的则传key-属性名 value-字段含义,没有空的则传 key-success value-true |
| | | */ |
| | | KeyValue checkAttrNullableBySecType(CodeBasicSecDTO codeBasicSecDTO); |
| | | |
| | | /** |
| | | * 增加码段基础信息 |
| | | * @param codeBasicSecDTO 码段基础信息数据传输对象 |
| | | * @return 执行结果 |
| | | * @throws VciBaseException 参数为空,唯一项,必输项不通过时会抛出异常 |
| | | */ |
| | | boolean addSave(CodeBasicSecDTO codeBasicSecDTO) throws VciBaseException; |
| | | |
| | | |
| | | } |