비밀번호 힌트 목록 불러오기

This commit is contained in:
yoon 2025-02-06 14:21:31 +09:00
parent 856dd1b618
commit 7b32de158b
3 changed files with 19 additions and 2 deletions

View File

@ -31,5 +31,7 @@ public interface commoncodMapper {
List<MapDto> getMbtiList(); List<MapDto> getMbtiList();
List<MapDto> getPwhintList();
int updateColorYon(String color); int updateColorYon(String color);
} }

View File

@ -44,5 +44,8 @@ public class commoncodService {
return commoncodmapper.getMbtiList(); return commoncodmapper.getMbtiList();
} }
public List<MapDto> getPwhintList() {
return commoncodmapper.getPwhintList();
}
} }

View File

@ -56,6 +56,18 @@
CMNCODODR != 0 CMNCODODR != 0
</select> </select>
<select id="getPwhintList" resultType="Map">
SELECT
CMNCODVAL
,CMNCODNAM
FROM
commoncod
WHERE
CMNCODLV1 = 800
AND
CMNCODODR != 0
</select>
<update id="updateColorYon" parameterType="String"> <update id="updateColorYon" parameterType="String">
UPDATE commoncod UPDATE commoncod
SET CMNCODYON = 1 SET CMNCODYON = 1