|
|
@@ -1,6 +1,7 @@
|
|
|
package com.its.op.controller.its.rse;
|
|
|
|
|
|
import com.its.op.dto.its.rse.RseOdStatDto;
|
|
|
+import com.its.op.dto.its.rse.RseOdStatListDataDto;
|
|
|
import com.its.op.dto.its.rse.RseOdStatListDto;
|
|
|
import com.its.op.service.its.rse.TbRseOdStatHhService;
|
|
|
import io.swagger.annotations.Api;
|
|
|
@@ -27,9 +28,9 @@ public class TbRseOdStatHhController {
|
|
|
@ApiOperation(value = "RSE OD 교통량 조회(출발/도착)", response = RseOdStatDto.class, responseContainer = "ArrayList")
|
|
|
@GetMapping(value = "/tfvl/od", produces = {"application/json; charset=utf8"})
|
|
|
public List<RseOdStatDto> findAllOdListByDateRange(
|
|
|
- @ApiParam(name = "FROM_DT", value = "조회시작시각(YYYYMMDDHH24MI00)", example = "20220122000000", required = true)
|
|
|
+ @ApiParam(name = "FROM_DT", value = "조회시작시각(YYYYMMDDHH24MI00)", example = "20221214090000", required = true)
|
|
|
@RequestParam String FROM_DT,
|
|
|
- @ApiParam(name = "TO_DT", value = "조회종료시각(YYYYMMDDHH24MI59)", example = "20220122235959", required = true)
|
|
|
+ @ApiParam(name = "TO_DT", value = "조회종료시각(YYYYMMDDHH24MI59)", example = "20221214235959", required = true)
|
|
|
@RequestParam String TO_DT) {
|
|
|
return this.service.findAllOdListByDateRange(FROM_DT, TO_DT);
|
|
|
}
|
|
|
@@ -37,11 +38,21 @@ public class TbRseOdStatHhController {
|
|
|
@ApiOperation(value = "RSE OD 교통량 목록 조회(출발-도착 목록)", response = RseOdStatListDto.class, responseContainer = "ArrayList")
|
|
|
@GetMapping(value = "/tfvl/od-list", produces = {"application/json; charset=utf8"})
|
|
|
public List<RseOdStatListDto> findAllListByDateRange(
|
|
|
- @ApiParam(name = "FROM_DT", value = "조회시작시각(YYYYMMDDHH24MI00)", example = "20220122000000", required = true)
|
|
|
+ @ApiParam(name = "FROM_DT", value = "조회시작시각(YYYYMMDDHH24MI00)", example = "20221214090000", required = true)
|
|
|
@RequestParam String FROM_DT,
|
|
|
- @ApiParam(name = "TO_DT", value = "조회종료시각(YYYYMMDDHH24MI59)", example = "20220122235959", required = true)
|
|
|
+ @ApiParam(name = "TO_DT", value = "조회종료시각(YYYYMMDDHH24MI59)", example = "20221214235959", required = true)
|
|
|
@RequestParam String TO_DT) {
|
|
|
return this.service.findAllListByDateRange(FROM_DT, TO_DT);
|
|
|
}
|
|
|
|
|
|
+ @ApiOperation(value = "RSE OD 교통량 목록 조회(출발-도착 목록)", response = RseOdStatListDataDto.class, responseContainer = "ArrayList")
|
|
|
+ @GetMapping(value = "/tfvl/od-list-data", produces = {"application/json; charset=utf8"})
|
|
|
+ public List<RseOdStatListDataDto> findAllListDataByDateRange(
|
|
|
+ @ApiParam(name = "FROM_DT", value = "조회시작시각(YYYYMMDDHH24MI00)", example = "20221214090000", required = true)
|
|
|
+ @RequestParam String FROM_DT,
|
|
|
+ @ApiParam(name = "TO_DT", value = "조회종료시각(YYYYMMDDHH24MI59)", example = "20221214235959", required = true)
|
|
|
+ @RequestParam String TO_DT) {
|
|
|
+ return this.service.findAllListDataByDateRange(FROM_DT, TO_DT);
|
|
|
+ }
|
|
|
+
|
|
|
}
|