| | |
| | | import com.vci.ubcs.code.vo.pagemodel.CodeClassifyTemplateAttrVO; |
| | | import com.vci.ubcs.starter.revision.model.TreeQueryObject; |
| | | import com.vci.ubcs.starter.web.pagemodel.Tree; |
| | | import org.springblade.core.launch.constant.AppConstant; |
| | | import org.springblade.core.mp.support.BladePage; |
| | | import org.springblade.core.tool.api.R; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | |
| | | * @since 2023-04-06 |
| | | */ |
| | | @FeignClient( |
| | | value = "ubcs-code" |
| | | value = AppConstant.APPLICATION_NAME_CODE |
| | | ) |
| | | public interface ICodeClassifyClient { |
| | | |
| | |
| | | String TOP = API_PREFIX + "/top"; |
| | | String CODE_CLASSIFY_TREE=API_PREFIX+"/referCodeClassifyTree"; |
| | | String CODE_ATTRIBUTE_LIST=API_PREFIX+"/listCodeAttributeByClassId"; |
| | | String CODE_ALL_PARENT_OID=API_PREFIX+"/selectAllParentOid"; |
| | | String CODE_GETBYID="/getById"; |
| | | |
| | | /** |
| | | * 获取主题库定义表列表 |
| | | * |
| | |
| | | @PostMapping(CODE_CLASSIFY_TREE) |
| | | public List<Tree> referCodeClassifyTree(@RequestBody TreeQueryObject treeQueryObject); |
| | | |
| | | /** |
| | | * 获取所有上级节点的oid |
| | | * @param oid |
| | | * @return |
| | | */ |
| | | @PostMapping(CODE_ALL_PARENT_OID) |
| | | public R<List<String> > selectAllParentOid(@RequestParam("oid") String oid); |
| | | |
| | | /*** |
| | | * 获取主数据模板属性信息 |
| | | * @param codeClassifyId |