| | |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "查询字典表并统计记录") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "name", value = "名称", dataType = "String", paramType = "query", example = ""), |
| | | @ApiImplicitParam(name = "dirs", value = "目录ID", dataType = "String", paramType = "query", example = "2,5,309"), |
| | | @ApiImplicitParam(name = "depid", value = "单位ID", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectTabCount") |
| | | public ResponseMsg<Object> selectTabCount(String name, String dirs, Integer depid) { |
| | | try { |
| | | List<DictEntity> list = baseQueryService.selectTabCount(name, dirs, depid); |
| | | |
| | | return success(list); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | } |