| | |
| | | Map<String,String> selectAllLevelChildOid(@Param("oid") String oid); |
| | | |
| | | /** |
| | | * 查询所有上层父节点的oid |
| | | * @param oid |
| | | * @return |
| | | */ |
| | | List<String> selectAllParentOid(@Param("oid") String oid); |
| | | |
| | | /** |
| | | * 校验是否包含子节点 |
| | | * |
| | | * @param oid 分类的主键 |
| | |
| | | */ |
| | | List<CodeClassify> selectByFieldNamePath(@Param("fieldPath") String fieldPath,@Param("fieldName") String fieldName); |
| | | |
| | | public List<CodeClassify> getIdPathToNamePathByParentId(@Param("parentId")String parentId); |
| | | List<CodeClassify> getIdPathToNamePathByParentId(@Param("parentId")String parentId); |
| | | |
| | | CodeClassify selectByIdRel(@Param("oid") String oid); |
| | | /** |
| | |
| | | * @return |
| | | */ |
| | | List<CodeClassify> selectAllClassifyByOid(@Param("oid") String oid,@Param("fieldInPath")String fieldInPath,@Param("tenantId") String tenantId); |
| | | |
| | | /** |
| | | * 根据顶层节点oid查询所有除当前节点以外所有不参与校验的分类oid |
| | | * @param topOid |
| | | * @param currentOid |
| | | * @return |
| | | */ |
| | | List<CodeClassify> selectLeafByParentClassifyOid(@Param("topOid") String topOid,@Param("currentOid")String currentOid); |
| | | |
| | | /** |
| | | * 根据顶层节点oid查询所有叶子节点分类oid |
| | | * @param pid |
| | | * @return |
| | | */ |
| | | List<CodeClassify> selectLeafByPid(@Param("pid") String pid); |
| | | |
| | | } |