| | |
| | | |
| | | |
| | | /** |
| | | * 查询任务 |
| | | * |
| | | * @param type |
| | | * @param serid |
| | | * 任务查询 |
| | | * @param type 任务状态 0:未开始 1:正在进行 2:已完成 |
| | | * @param serid 用户id |
| | | * @param jurisdiction 辖区id |
| | | * @param workjurisdiction 工作辖区 |
| | | * @param tasktype 任务状态 |
| | | * @return |
| | | */ |
| | | @PostMapping("/selectLi") |
| | | public R selectLi(String type, String serid, String jurisdiction, String workjurisdiction, String tasktype) { |
| | | public R selectLi(Integer type, String serid, String jurisdiction, String workjurisdiction, String tasktype) { |
| | | List<TaskqdVO> list = taskqdService.selectLi(type, serid, jurisdiction, workjurisdiction, tasktype); |
| | | for (int i = 0; i < list.size(); i++) { |
| | | Integer nums = list.get(i).getNums(); |
| | |
| | | * @param response |
| | | */ |
| | | @GetMapping("export-task") |
| | | public void exportTask(@ApiIgnore @RequestParam TaskqdVO task, HttpServletResponse response) { |
| | | public void exportTask(TaskqdVO task, HttpServletResponse response) { |
| | | List<TaskExcel> list = taskqdService.exportTask(task); |
| | | ExcelUtil.export(response, "任务数据" + DateUtil.time(), "任务数据表", list, TaskExcel.class); |
| | | } |