| | |
| | | import org.springblade.core.tool.api.R; |
| | | import org.springblade.core.tool.utils.BeanUtil; |
| | | import org.springframework.util.CollectionUtils; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | |
| | | import java.rmi.ServerException; |
| | | import java.util.*; |
| | | |
| | | /** |
| | |
| | | * @param codeRuleOid 编码规则主键 |
| | | * @return 执行结果 |
| | | */ |
| | | boolean batchDeleteSecByCodeRuleOid(String codeRuleOid); |
| | | boolean batchDeleteSecByCodeRuleOid(String codeRuleOid)throws VciBaseException; |
| | | |
| | | /** |
| | | * 根据码段分类的类型判断属性是否是空的 |
| | |
| | | * @return 执行结果 |
| | | * @throws VciBaseException 参数为空,唯一项,必输项不通过时会抛出异常 |
| | | */ |
| | | boolean editSave(CodeBasicSecDTO codeBasicSecDTO) throws VciBaseException; |
| | | boolean editSave(CodeBasicSecDTO codeBasicSecDTO) throws VciBaseException, ServerException; |
| | | |
| | | /** |
| | | * 删除码段基础信息 |
| | |
| | | * @param pkCodeRule 目标编码规则 |
| | | * @return 克隆结果反馈::success:成功,fail:失败 |
| | | */ |
| | | R cloneCodeBasicSec(List<String> oidList, String pkCodeRule); |
| | | R cloneCodeBasicSec(List<String> oidList, String pkCodeRule) throws ServerException; |
| | | |
| | | /** |
| | | * 改变码段中父分类码段和子分类码段之间的关联oid为新的oid,并且不破坏分类码值的关联关系 |
| | | * @param basicSecs |
| | | * @return |
| | | * @throws ServerException |
| | | */ |
| | | boolean changeParentOidAssnOid(List<CodeBasicSec> basicSecs) throws ServerException; |
| | | |
| | | /** |
| | | * 查询目标分类码段所在的树结构 |
| | |
| | | * @throws VciBaseException |
| | | */ |
| | | String setMaxSerialNumberForCodeRule(CodeOrderDTO codeOrderDTO) throws VciBaseException; |
| | | /** |
| | | * 根据流水依赖获取最大流水值 |
| | | * @param codeOrderDTO 编码申请传输对象 |
| | | * @return |
| | | * @throws VciBaseException |
| | | */ |
| | | Double getMaxSerialNumberForCodeRule(CodeOrderDTO codeOrderDTO); |
| | | } |