Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/ICodeClassifyValueService.java
@@ -13,6 +13,7 @@
import org.springblade.core.tool.api.R;
import java.rmi.ServerException;
import java.util.Collection;
import java.util.List;
@@ -25,7 +26,16 @@
public interface ICodeClassifyValueService extends IService<CodeClassifyValue> {
   /**
    * 克隆分类码值
    *
    * @param codeClassifyValues
    * @return
    */
   boolean cloneCodeClassifyVaue(List<CodeClassifyValue> codeClassifyValues);
   /**
    * 查询分类码段的码值 树
    *
    * @param treeQueryObject 树查询对象
    * @return 分类码段的码值 显示树
    * @throws VciBaseException 查询条件不符合要求的时候会抛出异常
@@ -34,6 +44,7 @@
   /**
    * 增加分类码段的码值
    *
    * @param codeClassifyValueDTO 分类码段的码值数据传输对象
    * @return 执行结果
    * @throws VciBaseException 参数为空,唯一项,必输项不通过时会抛出异常
@@ -42,6 +53,7 @@
   /**
    * 修改分类码段的码值
    *
    * @param codeClassifyValueDTO 分类码段的码值数据传输对象
    * @return 执行结果
    * @throws VciBaseException 参数为空,唯一项,必输项不通过时会抛出异常
@@ -50,6 +62,7 @@
   /**
    * 检查 分类码段的码值是否删除
    *
    * @param codeClassifyValueDTO 分类码段的码值数据传输对象,必须要有oid和ts属性
    * @return 执行结果 success为true为可以删除,false表示有数据引用,obj为true表示有下级
    * @throws VciBaseException 参数为空,被引用时抛出异常
@@ -67,6 +80,7 @@
   /**
    * 删除分类码段的码值
    *
    * @param codeClassifyValueDTO 分类码段的码值数据传输对象,oid和ts需要传输
    * @return 删除结果反馈::success:成功,fail:失败
    * @throws VciBaseException 参数为空,被引用时抛出异常
@@ -84,6 +98,7 @@
   /**
    * 主键获取分类码段的码值
    *
    * @param oid 主键
    * @return 分类码段的码值显示对象
    * @throws VciBaseException 参数为空,数据不存在时会抛出异常
@@ -92,6 +107,7 @@
   /**
    * 主键批量获取分类码段的码值
    *
    * @param oidCollections 主键集合,但是受性能影响,建议一次查询不超过10000个
    * @return 分类码段的码值显示对象
    * @throws VciBaseException 查询出现异常时会抛出
@@ -100,31 +116,43 @@
   /**
    * 参照树 分类码段的码值
    *
    * @param treeQueryObject 树形查询对象
    * @return 分类码段的码值显示树
    * @throws VciBaseException 查询条件和分页出错的时候会抛出异常
    */
   List<Tree> referTree(TreeQueryObject treeQueryObject)  throws VciBaseException;
   List<Tree> referTree(TreeQueryObject treeQueryObject) throws VciBaseException;
   /**
    * 批量添加分类码段的码值,如果保存的集合中不存在已在数据库中的码值则删除。主要是保存码值的序号
    * @param dtoList 分类码段的码值列表
    *
    * @param dtoList            分类码段的码值列表
    * @param codeclassifysecoid 分类码段的主键
    * @return 执行结果
    */
   R batchSave4Order(List<CodeClassifyValueDTO> dtoList, String codeclassifysecoid)throws VciBaseException;
   R batchSave4Order(List<CodeClassifyValueDTO> dtoList, String codeclassifysecoid) throws VciBaseException;
   /**
    * 使用码段的主键获取分类的码值内容
    * @param classifySecOid 码段的主键
    *
    * @param classifySecOid         码段的主键
    * @param parentClassifyValueOid 上级分类的主键
    * @return 分类码值的内容
    */
   List<CodeClassifyValueVO> listCodeClassifyValueBySecOid(String classifySecOid, String parentClassifyValueOid);
   /**
    * 根据主键获取码值字符串
    *
    * @param oid
    * @return
    */
   String getClassifyValueStr(String oid);
   /**
    * 数据对象转换为显示对象
    * @param  codeClassifyValueDO 数据对象
    *
    * @param codeClassifyValueDO 数据对象
    * @return 显示对象
    * @throws VciBaseException 拷贝属性出错的时候会抛出异常
    */
@@ -132,11 +160,21 @@
   /**
    * 批量数据对象转换为显示对象
    *
    * @param codeClassifyValueDOs 数据对象列表
    * @return 显示对象
    * @throws VciBaseException 参数为空或者不存在的时候会抛出异常
    */
   List<CodeClassifyValueVO> codeClassifyValueDO2VOs(Collection<CodeClassifyValue>  codeClassifyValueDOs) throws VciBaseException;
   List<CodeClassifyValueVO> codeClassifyValueDO2VOs(Collection<CodeClassifyValue> codeClassifyValueDOs) throws VciBaseException;
   }
   /**
    * 根据codeClassifySecOid删除码值
    *
    * @param codeClassifySecOid
    * @return
    * @throws ServerException
    */
   Boolean deleteClassifyValueBySecOid(String codeClassifySecOid) throws ServerException;
}