| | |
| | | @ApiOperationSupport(order = 2) |
| | | @ApiOperation(value = "列表", notes = "固定过滤本部门,onlyMine=1时仅我的数据") |
| | | public R<List<GdClueEventListVO>> list(@ApiParam(value = "是否仅我的数据,1为是,0为否") |
| | | @RequestParam(value = "onlyMine", required = false, defaultValue = "0") Integer onlyMine) { |
| | | List<GdClueEventListVO> list = gdClueEventService.listGdClueEventByDept(onlyMine); |
| | | @RequestParam(value = "onlyMine", required = false, defaultValue = "0") Integer onlyMine, |
| | | @ApiParam(value = "事件编号关键字") |
| | | @RequestParam(value = "keyword", required = false) String keyword) { |
| | | List<GdClueEventListVO> list = gdClueEventService.listGdClueEventByDept(onlyMine, keyword); |
| | | return R.data(list); |
| | | } |
| | | |
| | |
| | | @GetMapping("/count") |
| | | @ApiOperationSupport(order = 3) |
| | | @ApiOperation(value = "数量统计", notes = "返回全部工单与我的工单数量") |
| | | public R<GdClueEventCountVO> count() { |
| | | return R.data(gdClueEventService.getGdClueEventCount()); |
| | | public R<GdClueEventCountVO> count(@ApiParam(value = "事件编号关键字") |
| | | @RequestParam(value = "keyword", required = false) String keyword) { |
| | | return R.data(gdClueEventService.getGdClueEventCount(keyword)); |
| | | } |
| | | |
| | | /** |