| | |
| | | |
| | | import annotation.Log; |
| | | import com.ycl.platform.domain.entity.CheckResult; |
| | | import com.ycl.platform.domain.vo.CheckResultVO; |
| | | import com.ycl.platform.service.ICheckResultService; |
| | | import com.ycl.system.AjaxResult; |
| | | import com.ycl.system.controller.BaseController; |
| | |
| | | /** |
| | | * 查询考核结果列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:result:list')") |
| | | @PreAuthorize("@ss.hasPermi('system:result:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(CheckResult checkResult) |
| | | { |
| | | startPage(); |
| | | List<CheckResult> list = checkResultService.selectCheckResultList(checkResult); |
| | | List<CheckResultVO> list = checkResultService.selectCheckResultList(checkResult); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, CheckResult checkResult) |
| | | { |
| | | List<CheckResult> list = checkResultService.selectCheckResultList(checkResult); |
| | | ExcelUtil<CheckResult> util = new ExcelUtil<CheckResult>(CheckResult.class); |
| | | List<CheckResult> list = checkResultService.selectCheckResult(checkResult); |
| | | ExcelUtil<CheckResult> util = new ExcelUtil<>(CheckResult.class); |
| | | util.exportExcel(response, list, "考核结果数据"); |
| | | } |
| | | |
| | | /** |
| | | * 获取考核结果详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:result:query')") |
| | | @PreAuthorize("@ss.hasPermi('system:result:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) |
| | | { |