|
@@ -60,6 +60,19 @@ public class TbIncdOcrrController {
|
|
|
return this.service.findAllProgressHistory(fromDt, toDt);
|
|
|
}
|
|
|
|
|
|
+ @ApiOperation(value = "돌발 입력시각기준 이력정보조회(TB_INCD_OCRR)", response = TbIncdOcrrDto.class, responseContainer = "ArrayList")
|
|
|
+ @GetMapping(value = "/history", produces = {"application/json; charset=utf8"})
|
|
|
+ public List<TbIncdOcrrDto> findAllHistory(
|
|
|
+ @ApiParam(name = "FROM_DT", value = "조회시작시각(YYYYMMDDHH24)", example = "2021011200", required = true)
|
|
|
+ @RequestParam String FROM_DT,
|
|
|
+ @ApiParam(name = "TO_DT", value = "조회종료시각(YYYYMMDDHH24)", example = "2022061223", required = true)
|
|
|
+ @RequestParam String TO_DT
|
|
|
+ ) {
|
|
|
+ String fromDt = FROM_DT + "0000";
|
|
|
+ String toDt = TO_DT + "5959";
|
|
|
+ return this.service.findAllHistory(fromDt, toDt);
|
|
|
+ }
|
|
|
+
|
|
|
@ApiOperation(value = "VMS 돌발상황 정보 조회(TB_INCD_OCRR_VMS)", response = TbIncdOcrrVmsDto.class)
|
|
|
@GetMapping(value = "/vms/incd/{id}", produces = {"application/json; charset=utf8"})
|
|
|
public TbIncdOcrrVmsDto findIncdOcrrVmsById(
|