Преглед на файлове

사용자 아이디 대문자로 저장함

dwkim преди 2 години
родител
ревизия
3872ce89e1
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      src/main/resources/mybatis/sqlmaps/oper/UserMng.xml

+ 2 - 2
src/main/resources/mybatis/sqlmaps/oper/UserMng.xml

@@ -86,7 +86,7 @@
86 86
         insert into np_user_info  /* insertUserInfo */
87 87
         (user_id, user_nm, tel_no, email, user_pw,  user_stat_cd, user_stat_dt, auth_tp_cd, affl_shop_id, brand_id, store_id, spply_id, add_dt, add_id, chg_dt, chg_id)
88 88
         values
89
-        (#{entity.userId}, #{entity.userNm}, #{entity.telNo}, #{entity.email}, #{entity.userPw}
89
+        (upper(#{entity.userId}), #{entity.userNm}, #{entity.telNo}, #{entity.email}, #{entity.userPw}
90 90
          ,#{entity.userStatCd}, now(), nvl(#{entity.authTpCd},'60'),  #{entity.afflShopId}, #{entity.brandId}, #{entity.storeId}, #{entity.spplyId}, now(), #{userId}, now(), #{userId})
91 91
     </insert>
92 92
 
@@ -107,7 +107,7 @@
107 107
         (user_id, auth_no, add_dt, add_id)
108 108
         values
109 109
         <foreach collection="gridInsertData" item="item" separator=",">
110
-            ( #{item.userId},#{item.authNo}, now(), #{userId})
110
+            (upper(#{item.userId}),#{item.authNo}, now(), #{userId})
111 111
         </foreach>
112 112
     </insert>
113 113