|
@@ -72,6 +72,23 @@ public class TbFcltFailController {
|
|
|
return this.service.findAllListByDate(false, fromDay, toDay);
|
|
return this.service.findAllListByDate(false, fromDay, toDay);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+
|
|
|
|
|
+ @ApiOperation(value = "유형별 시설물 장애 현황 조회(완료항목 포함)", response = TbFcltFailDto.class, responseContainer = "ArrayList")
|
|
|
|
|
+ @GetMapping(value = "/list/type/all/{type}/{fromDay}/{toDay}", produces = {"application/json; charset=utf8"})
|
|
|
|
|
+ public List<TbFcltFailDto> findAllTypeListByDate(@PathVariable("type") final String type,
|
|
|
|
|
+ @PathVariable("fromDay") final String fromDay,
|
|
|
|
|
+ @PathVariable("toDay") final String toDay) {
|
|
|
|
|
+ return this.service.findAllTypeListByDate(type, true, fromDay, toDay);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ @ApiOperation(value = "유형별 시설물 장애 관리 목록 조회(완료항목제외)", response = TbFcltFailDto.class, responseContainer = "ArrayList")
|
|
|
|
|
+ @GetMapping(value = "/list/type/mng/{type}/{fromDay}/{toDay}", produces = {"application/json; charset=utf8"})
|
|
|
|
|
+ public List<TbFcltFailDto> findRegTypeListByDate(@PathVariable("type") final String type,
|
|
|
|
|
+ @PathVariable("fromDay") final String fromDay,
|
|
|
|
|
+ @PathVariable("toDay") final String toDay) {
|
|
|
|
|
+ return this.service.findAllTypeListByDate(type, false, fromDay, toDay);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
@ApiOperation(value = "시설물 장애 발생 정보 개별조회(TB_FCLT_FAIL)", response = TbFcltFailDto.class)
|
|
@ApiOperation(value = "시설물 장애 발생 정보 개별조회(TB_FCLT_FAIL)", response = TbFcltFailDto.class)
|
|
|
@GetMapping(value = "/{failNo}", produces = {"application/json; charset=utf8"})
|
|
@GetMapping(value = "/{failNo}", produces = {"application/json; charset=utf8"})
|
|
|
public TbFcltFailDto findById(@PathVariable("failNo") final String failNo) {
|
|
public TbFcltFailDto findById(@PathVariable("failNo") final String failNo) {
|