shjung 2 anos atrás
pai
commit
c85ae0f4ac

+ 28 - 22
src/main/java/com/its/op/controller/its/vms/TbVmsDsplSchController.java

@@ -174,42 +174,48 @@ public class TbVmsDsplSchController {
 
     /**
      * [전체 VMS 편집 - VMS 목록]
-     * @param type
-     * @param kind
-     * @param form
+     * @param vmsSizeType
+     * @param vmsSchType
+     * @param vmsSchFormType
+     * @param formId
      * @return
      */
     @ApiOperation(value = "VMS 스케줄 VMS 목록 조회[전체 VMS 편집](TB_VMS_DSPL_SCH)", response = TbVmsDsplSchVmsListDto.class, responseContainer = "ArrayList")
-    @GetMapping(value = "/vms-list/edit/{type}/{kind}/{form}", produces = {"application/json; charset=utf8"})
+    @GetMapping(value = "/vms-list/edit/{vmsSizeType}/{vmsSchType}/{vmsSchFormType}/{formId}", produces = {"application/json; charset=utf8"})
     public List<TbVmsDsplSchVmsListDto> findAllByEditVmsList(
-            @ApiParam(name = "type", value = "VMS 유형(크기) 코드", example = "VMP2", required = true)
-            @PathVariable final String type,
-            @ApiParam(name = "kind", value = "VMS 스케줄 종류(0:교통정보,1:돌발,2:공사/행사문안,3:홍보문안,4:우회도로,5:고정스케줄, 6:기본스케줄,...)", example = "3", required = true)
-            @PathVariable final Integer kind,
-            @ApiParam(name = "form", value = "VMS 폼 번호", example = "10404", required = true)
-            @PathVariable final Integer form
+            @ApiParam(name = "vmsSizeType", value = "VMS 유형(크기) 코드", example = "VMP2", required = true)
+            @PathVariable final String vmsSizeType,
+            @ApiParam(name = "vmsSchType", value = "VMS 스케줄 유형(A:자동, F:고정, B:기본)", example = "A", required = true)
+            @PathVariable final String vmsSchType,
+            @ApiParam(name = "vmsSchFormType", value = "VMS 폼 스케쥴 유형(0:교통,1:돌발,2:공사행사,3:홍보,4:우회,5:정체,6:안전,7:동영상,8:스트리밍영상)", example = "0", required = true)
+            @PathVariable final Integer vmsSchFormType,
+            @ApiParam(name = "formId", value = "VMS 폼 번호", example = "10404", required = true)
+            @PathVariable final Integer formId
             ) {
-        return this.service.findAllByAllEditVmsList(type, "A", kind, form, true);
+        return this.service.findAllByAllEditVmsList(vmsSizeType, vmsSchType, vmsSchFormType, formId, true);
     }
 
     /**
      * [전체 VMS 등록 - VMS 목록]
-     * @param type
-     * @param kind
-     * @param form
+     * @param vmsSizeType
+     * @param vmsSchType
+     * @param vmsSchFormType
+     * @param formId
      * @return
      */
     @ApiOperation(value = "VMS 스케줄 VMS 목록 조회[전체 VMS 등록](TB_VMS_DSPL_SCH)", response = TbVmsDsplSchVmsListDto.class, responseContainer = "ArrayList")
-    @GetMapping(value = "/vms-list/add/{type}/{kind}/{form}", produces = {"application/json; charset=utf8"})
+    @GetMapping(value = "/vms-list/add/{vmsSizeType}/{vmsSchType}/{vmsSchFormType}/{formId}", produces = {"application/json; charset=utf8"})
     public List<TbVmsDsplSchVmsListDto> findAllByAddVmsList(
-            @ApiParam(name = "type", value = "VMS 유형(크기) 코드", example = "VMP2", required = true)
-            @PathVariable final String type,
-            @ApiParam(name = "kind", value = "VMS 스케줄 종류(0:교통정보,1:돌발,2:공사/행사문안,3:홍보문안,4:우회도로,5:고정스케줄, 6:기본스케줄,...)", example = "3", required = true)
-            @PathVariable final Integer kind,
-            @ApiParam(name = "form", value = "VMS 폼 번호", example = "10065", required = true)
-            @PathVariable final Integer form
+            @ApiParam(name = "vmsSizeType", value = "VMS 유형(크기) 코드", example = "VMP2", required = true)
+            @PathVariable final String vmsSizeType,
+            @ApiParam(name = "vmsSchType", value = "VMS 스케줄 유형(A:자동, F:고정, B:기본)", example = "A", required = true)
+            @PathVariable final String vmsSchType,
+            @ApiParam(name = "vmsSchFormType", value = "VMS 폼 스케쥴 유형(0:교통,1:돌발,2:공사행사,3:홍보,4:우회,5:정체,6:안전,7:동영상,8:스트리밍영상)", example = "0", required = true)
+            @PathVariable final Integer vmsSchFormType,
+            @ApiParam(name = "formId", value = "VMS 폼 번호", example = "10404", required = true)
+            @PathVariable final Integer formId
     ) {
-        return this.service.findAllByAllEditVmsList(type, "A", kind, form, false);
+        return this.service.findAllByAllEditVmsList(vmsSizeType, vmsSchType, vmsSchFormType, formId, false);
     }
 
     /**