|
@ -66,6 +66,20 @@ public class EpdcEventsController { |
|
|
return new Result<PageData<EpdcEventsDTO>>().ok(page); |
|
|
return new Result<PageData<EpdcEventsDTO>>().ok(page); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* @describe: 创城页面事件 |
|
|
|
|
|
* @author wangtong |
|
|
|
|
|
* @date 2022/7/22 13:50 |
|
|
|
|
|
* @params [params] |
|
|
|
|
|
* @return com.elink.esua.epdc.commons.tools.utils.Result<com.elink.esua.epdc.commons.tools.page.PageData<com.elink.esua.epdc.dto.events.EpdcEventsDTO>> |
|
|
|
|
|
*/ |
|
|
|
|
|
@GetMapping("pageCreateCity") |
|
|
|
|
|
@DataFilter(tableAlias = "temp", deptId = "grid_id", prefix = "AND", isPendingCreator = false) |
|
|
|
|
|
public Result<PageData<EpdcEventsDTO>> genCityPage(@RequestParam Map<String, Object> params) { |
|
|
|
|
|
PageData<EpdcEventsDTO> page = epdcEventsService.listGenOfPendingReviewEvents(params); |
|
|
|
|
|
return new Result<PageData<EpdcEventsDTO>>().ok(page); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
@GetMapping("{id}") |
|
|
@GetMapping("{id}") |
|
|
public Result<EpdcEventsDetailDTO> get(@PathVariable("id") String id) { |
|
|
public Result<EpdcEventsDetailDTO> get(@PathVariable("id") String id) { |
|
|
EpdcEventsDetailDTO data = epdcEventsService.getEvent(id); |
|
|
EpdcEventsDetailDTO data = epdcEventsService.getEvent(id); |
|
@ -204,6 +218,19 @@ public class EpdcEventsController { |
|
|
ExcelUtils.exportExcelToTarget(response, "待回应", list, UnEventsExcel.class); |
|
|
ExcelUtils.exportExcelToTarget(response, "待回应", list, UnEventsExcel.class); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* @describe: 创城-项目管理 -待回应 |
|
|
|
|
|
* @author wangtong |
|
|
|
|
|
* @date 2022/7/22 14:02 |
|
|
|
|
|
* @params [params, response] |
|
|
|
|
|
* @return void |
|
|
|
|
|
*/ |
|
|
|
|
|
@GetMapping("unexportCreateCity") |
|
|
|
|
|
public void unexportCreateCity(@RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception { |
|
|
|
|
|
List<EpdcEventsDTO> list= epdcEventsService.unGenEventList(params); |
|
|
|
|
|
ExcelUtils.exportExcelToTarget(response, "待回应", list, UnEventsExcel.class); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
/*** |
|
|
/*** |
|
|
* 项目管理 -已驳回 |
|
|
* 项目管理 -已驳回 |
|
|
* @param params |
|
|
* @param params |
|
|