| | |
| | | import com.vci.ubcs.starter.revision.model.TreeQueryObject; |
| | | import com.vci.ubcs.starter.web.pagemodel.BaseQueryObject; |
| | | import com.vci.ubcs.starter.web.pagemodel.DataGrid;import com.vci.ubcs.starter.web.pagemodel.Tree; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.springblade.core.log.exception.ServiceException; |
| | | import org.springblade.core.tool.api.R; |
| | | import java.io.File; |
| | |
| | | * @param codeClassifyEntity 主题库分类数据传输对象 |
| | | * @return 执行结果 |
| | | */ |
| | | R addSave(CodeClassify codeClassifyEntity) ; |
| | | R addSave(CodeClassify codeClassifyEntity); |
| | | |
| | | /** |
| | | * 修改主题库分类 |
| | | * @param codeClassifyEntity 主题库分类数据传输对象 |
| | | * @return 执行结果 |
| | | */ |
| | | R editSave(CodeClassify codeClassifyEntity) ; |
| | | R editSave(CodeClassify codeClassifyEntity); |
| | | |
| | | /** |
| | | * 检查 主题库分类是否删除 |
| | | * @param codeClassify 主题库分类数据传输对象,必须要有oid和ts属性 |
| | |
| | | * @param treeQueryObject 树形查询对象 |
| | | * @return 主题库分类显示树 |
| | | */ |
| | | List<Tree> referTree(TreeQueryObject treeQueryObject); |
| | | List<Tree> referTree(TreeQueryObject treeQueryObject) throws ServiceException; |
| | | |
| | | /** |
| | | * 查询主题库分类 树 |
| | | * @param treeQueryObject 树查询对象 |
| | | * @return 主题库分类 显示树 |
| | | */ |
| | | List<Tree> treeCodeClassify(TreeQueryObject treeQueryObject); |
| | | List<Tree> treeCodeClassify(TreeQueryObject treeQueryObject) throws ServiceException; |
| | | |
| | | /** |
| | | * 导出分类 |
| | |
| | | List<CodeClassify> selectAllLevelParents(String oid); |
| | | |
| | | /** |
| | | * 获取所有上级节点的oid |
| | | * @param oid |
| | | * @return |
| | | */ |
| | | List<String> selectAllParentOid(String oid); |
| | | |
| | | /** |
| | | * 主键获取主题库分类 |
| | | * @param oid 主键 |
| | | * @return 主题库分类显示对象 |
| | |
| | | /** |
| | | * 根据分类描述备注和库节点查询分类信息 |
| | | * @param oid |
| | | * @param fieldInPath |
| | | * @return |
| | | */ |
| | | List<CodeClassifyVO> selectAllClassifyByOid(String oid); |
| | | List<CodeClassifyVO> selectAllClassifyByOid(String oid, String fieldInPath); |
| | | |
| | | /** |
| | | * 根据顶层节点oid查询所有除当前节点以外所有不参与校验的分类oid |
| | | * @param topOid |
| | | * @param currentOid |
| | | * @return |
| | | */ |
| | | String selectLeafByParentClassifyOid(String topOid, String currentOid); |
| | | |
| | | /** |
| | | * 流水依赖生成 |
| | | */ |
| | | R flowingDependencyGen(String classifyOid); |
| | | |
| | | /** |
| | | * 根据顶层节点oid查询所有叶子节点分类oid |
| | | * @param pid |
| | | * @return |
| | | */ |
| | | String selectLeafByPid(String pid); |
| | | |
| | | } |