diff --git a/src/main/java/org/ioteatime/meonghanyangserver/cctv/repository/CctvRepositoryImpl.java b/src/main/java/org/ioteatime/meonghanyangserver/cctv/repository/CctvRepositoryImpl.java index 221d663e..996add27 100644 --- a/src/main/java/org/ioteatime/meonghanyangserver/cctv/repository/CctvRepositoryImpl.java +++ b/src/main/java/org/ioteatime/meonghanyangserver/cctv/repository/CctvRepositoryImpl.java @@ -107,8 +107,8 @@ public Optional findCctvWithGroupIdByCctvId(Long cctvId) { cctvEntity.group.id, cctvEntity.id, cctvEntity.cctvNickname, - cctvEntity.thingId, - cctvEntity.kvsChannelName)) + cctvEntity.kvsChannelName, + cctvEntity.thingId)) .from(cctvEntity) .where(cctvEntity.id.eq(cctvId)) .fetchOne();