| | |
| | | } |
| | | return R.data(list); |
| | | } |
| | | /* |
| | | |
| | | @GetMapping("/search-list") |
| | | @Operation(summary = "查询树状列表", description = "程序目录树形结构(查询专用)") |
| | | public R<List<NcNodeVO>> searchList(NcNodeQueryVO queryVO) { |
| | | public R<List<NcNodeVO>> searchList(NcNodeOldQueryVO queryVO) { |
| | | if(Func.isEmpty(queryVO.getName())){ |
| | | return R.fail("请输入名称"); |
| | | } |
| | | List<NcNodeVO> list = ncNodeService.searchList(queryVO); |
| | | |
| | | return R.data(list); |
| | | }*/ |
| | | @GetMapping("/search") |
| | | @Operation(summary = "首页搜索", description = "搜索指定零组件号") |
| | | public R<List<Long>> search(NcNodeQueryVO queryVO) { |
| | | } |
| | | @GetMapping("/search-list2") |
| | | @Operation(summary = "涉密网首页搜索", description = "搜索指定零组件号") |
| | | public R<List<NcNodeVO>> search(NcNodeQueryVO queryVO) { |
| | | if(Func.isEmpty(queryVO.getDrawingNo())){ |
| | | return R.fail("请输入零组件号"); |
| | | } |
| | | List<Long> list = ncNodeService.searchDrawing(queryVO); |
| | | List<NcNodeVO> list = ncNodeService.searchList2(queryVO); |
| | | |
| | | return R.data(list); |
| | | } |