feiyu02
2022-11-15 909fd8929d7906f1dca68acc05e36e29b0b9192c
src/main/kotlin/cn/flightfeather/supervision/lightshare/web/SearchController.kt
@@ -66,6 +66,7 @@
        @RequestParam("per_page", required = false) perPage: Int?
    ) = subtaskService.searchSubTask3(token, updateTime, sceneType, districtCode, startTime, endTime, page, perPage)
    @ApiOperation(value = "获取巡查任务统计报告")
    @PostMapping("/subtask/excel")
    fun getExcel(
        @RequestBody config: ExcelConfigVo,
@@ -98,4 +99,9 @@
        @RequestParam("page") page: Int,
        @RequestParam("perPage") perPage: Int
    ) = searchService.searchSubTaskByKeyword(userId, keyword, page, perPage)
    @PostMapping("/dailyreport")
    fun getDailyReport(
        @RequestBody config: ExcelConfigVo
    ) = searchService.getDailyReport(config)
}