| | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import org.sxkj.gd.workorder.entity.GdClueEventEntity; |
| | | import org.sxkj.gd.workorder.param.GdClueEventRejectParam; |
| | | import org.sxkj.gd.workorder.vo.GdClueEventCountVO; |
| | | import org.sxkj.gd.workorder.vo.GdClueEventListVO; |
| | | import org.sxkj.gd.workorder.vo.GdClueEventVO; |
| | | import org.sxkj.gd.workorder.excel.GdClueEventExcel; |
| | |
| | | } |
| | | |
| | | /** |
| | | * 事件表(线索事件) 数量统计 |
| | | */ |
| | | @GetMapping("/count") |
| | | @ApiOperationSupport(order = 3) |
| | | @ApiOperation(value = "数量统计", notes = "返回全部工单与我的工单数量") |
| | | public R<GdClueEventCountVO> count() { |
| | | return R.data(gdClueEventService.getGdClueEventCount()); |
| | | } |
| | | |
| | | /** |
| | | * 事件表(线索事件) 自定义分页 |
| | | */ |
| | | @GetMapping("/page") |
| | | @ApiOperationSupport(order = 3) |
| | | @ApiOperationSupport(order = 4) |
| | | @ApiOperation(value = "分页", notes = "传入gdClueEvent") |
| | | public R<IPage<GdClueEventVO>> page(GdClueEventVO gdClueEvent, Query query) { |
| | | IPage<GdClueEventVO> pages = gdClueEventService.selectGdClueEventPage(Condition.getPage(query), gdClueEvent); |