| | |
| | | @GetMapping("/pageReply") |
| | | public R<IPage<WorkReportVo>> pageReply(WorkReportVo workReport, Query query) { |
| | | IPage<WorkReportVo> pages = workReportService.selectWorkReplyPage(Condition.getPage(query), workReport); |
| | | // List<WorkReportVo> records = pages.getRecords(); |
| | | // for (WorkReportVo record : records) { |
| | | // record.setReplyRealName(getReplyRealName(record)); |
| | | // record.setReplyDeptName(getReplyDeptName(record)); |
| | | // } |
| | | return R.data(pages); |
| | | } |
| | | |
| | |
| | | */ |
| | | @PostMapping("/remove") |
| | | public R remove(@ApiParam(value = "主键集合") @RequestParam String ids) { |
| | | arg.sendPostRemoveByIds(arg.url+"/workReport/remove",ids); |
| | | return R.status(workReportService.removeByIds(Func.toLongList(ids))); |
| | | } |
| | | |