From 5df33661fc5d9366bd25e769e90caf0255edc95c Mon Sep 17 00:00:00 2001
From: wyu <kknd09321@nate.com>
Date: 수, 03 11월 2021 14:33:58 +0900
Subject: [PATCH] - 사용자 등급관리 findByLevelId 파라미터 Name 변경 - 사용자 삭제 알림 명칭 지정 추가

---
 src/main/resources/mybatis/query-template/user-template.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/resources/mybatis/query-template/user-template.xml b/src/main/resources/mybatis/query-template/user-template.xml
index a1433b4..93a60ef 100644
--- a/src/main/resources/mybatis/query-template/user-template.xml
+++ b/src/main/resources/mybatis/query-template/user-template.xml
@@ -170,10 +170,10 @@
         GROUP BY u.id ORDER BY issueCount desc, loginCount DESC;
     </select>
 
-    <select id="findByLevelId" resultType="java.util.HashMap" parameterType="java.lang.Long">
+    <select id="findByLevelId" resultType="java.lang.Long" parameterType="java.lang.Long">
         SELECT count(u.id)
         FROM user u
-        WHERE u.level_id = #{id}
+        WHERE u.level_id = #{levelId}
     </select>
 
 </mapper>
\ No newline at end of file

--
Gitblit v1.8.0