| | |
| | | */ |
| | | private Logger logger = LoggerFactory.getLogger(getClass()); |
| | | |
| | | |
| | | |
| | | /** |
| | | * 获取所有业务类型(树形结构) |
| | | * 获取所有属性(树形结构) |
| | | * @return 查询结果 |
| | | */ |
| | | @GetMapping( "/getTreeAttributes") |
| | | @VciBusinessLog(operateName = "获取属性(树形结构)") |
| | | public BaseResult<List<Tree>> getTreeAttributesByBtmName(TreeQueryObject treeQueryObject){ |
| | | try { |
| | | List<Tree> trees= attributeService.getTreeAttributesByBtmName(treeQueryObject); |
| | | List<Tree> trees = attributeService.getTreeAttributesByBtmName(treeQueryObject); |
| | | return BaseResult.dataList(trees); |
| | | // return BaseResult.tree(trees); |
| | | }catch (Throwable e) { |
| | |
| | | return BaseResult.fail(exceptionMessage); |
| | | } |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 属性列表 |
| | |
| | | /** |
| | | * 添加单条属性到属性池 |
| | | * @param osAttributeDTO |
| | | * @return 列表的内容 |
| | | * @return |
| | | */ |
| | | @PostMapping( "/addAttribute") |
| | | @VciBusinessLog(operateName = "添加属性") |