Browse Source

param name change

shjung 3 years ago
parent
commit
2561a2aed5

+ 5 - 5
src/main/java/com/its/api/op/controller/history/TbUnitSystSttsHsController.java

@@ -35,11 +35,11 @@ public class TbUnitSystSttsHsController {
     @ApiOperation(value = "이력조회(TB_UNIT_SYST_STTS_HS, TB_UNIT_SYST)", response = TbUnitSystSttsHsDto.class, responseContainer = "ArrayList")
     @GetMapping(value = "", produces = {"application/json; charset=utf8"})
     public List<TbUnitSystSttsHsDto> findAll(
-            @ApiParam(name = "SYST_ID", value = "시스템 ID(syst_id)", example = "UTP01", required = true)
-            @RequestParam String SYST_ID,
-            @ApiParam(name = "CRTN_DT", value = "이력조회일자(YYYYMMDD)", example = "20220125", required = true)
-            @RequestParam String CRTN_DT) {
-        return service.findAllByDateRange(SYST_ID, CRTN_DT);
+            @ApiParam(name = "systId", value = "시스템 ID(syst_id)", example = "UTP01", required = true)
+            @RequestParam String systId,
+            @ApiParam(name = "crtnDt", value = "이력조회일자(YYYYMMDD)", example = "20220125", required = true)
+            @RequestParam String crtnDt) {
+        return service.findAllByDateRange(systId, crtnDt);
     }
 
 }

+ 5 - 5
src/main/java/com/its/api/op/controller/history/TbUserCnncHsController.java

@@ -26,11 +26,11 @@ public class TbUserCnncHsController {
     @ApiOperation(value = "사용자접속이력 전체조회(TB_USERCNNC_HS)", response = TbUserCnncHsDto.class, responseContainer = "ArrayList")
     @GetMapping(value = "", produces = {"application/json; charset=utf8"})
     public List<TbUserCnncHsDto> findAllByDateRange(
-            @ApiParam(name = "FROM_DT", value = "조회시작시각(YYYYMMDDHH24MI00)", example = "20220119135000", required = true)
-            @RequestParam String FROM_DT,
-            @ApiParam(name = "TO_DT", value = "조회종료시각(YYYYMMDDHH24MI59)", example = "20220208122859", required = true)
-            @RequestParam String TO_DT) {
-        return service.findAllByDateRange(FROM_DT, TO_DT);
+            @ApiParam(name = "fromDt", value = "조회시작시각(YYYYMMDDHH24MI00)", example = "20220119135000", required = true)
+            @RequestParam String fromDt,
+            @ApiParam(name = "toDt", value = "조회종료시각(YYYYMMDDHH24MI59)", example = "20220208122859", required = true)
+            @RequestParam String toDt) {
+        return service.findAllByDateRange(fromDt, toDt);
     }
 
 }