From 67653076105301c3ae20615f0ceecaec2207a645 Mon Sep 17 00:00:00 2001 From: mjkhan21 Date: Thu, 18 Apr 2024 11:20:54 +0900 Subject: [PATCH] IFNULL -> NVL --- src/main/resources/sql/mapper/base/user-mapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/sql/mapper/base/user-mapper.xml b/src/main/resources/sql/mapper/base/user-mapper.xml index 4dec4ce5..5b7540b1 100644 --- a/src/main/resources/sql/mapper/base/user-mapper.xml +++ b/src/main/resources/sql/mapper/base/user-mapper.xml @@ -103,7 +103,7 @@ SELECT * AND NSTT_CD = #{institute} -SELECT LPAD(IFNULL(MAX(USER_ID) + 1, 1), 10, '0') NEW_ID FROM TB_USER +SELECT LPAD(NVL(MAX(USER_ID) + 1, 1), 10, '0') NEW_ID FROM TB_USER /* 사용자 정보 등록(userMapper.insertUser) */ INSERT INTO TB_USER ( USER_ID