feature/jp-0331 #526

Open
jungpyo2001 wants to merge 998 commits from feature/jp-0331 into main
2 changed files with 3 additions and 2 deletions
Showing only changes of commit 7b9a8b7aba - Show all commits

View File

@ -28,6 +28,7 @@ public class UserService {
*/ */
public int setStoreSave(StoreRequest storeReq) throws Exception { public int setStoreSave(StoreRequest storeReq) throws Exception {
int resultCnt = userMapper.setStoreSave(storeReq); int resultCnt = userMapper.setStoreSave(storeReq);
userMapper.setStoreInfoSave(storeReq);
userMapper.setStoreSapCdSave(storeReq); userMapper.setStoreSapCdSave(storeReq);
userMapper.setStoreNorthModuleSave(storeReq); userMapper.setStoreNorthModuleSave(storeReq);
return resultCnt; return resultCnt;

View File

@ -175,7 +175,7 @@
WHEN MATCHED THEN WHEN MATCHED THEN
UPDATE SET UPDATE SET
BIZ_NO = #{bizNo} BIZ_NO = #{bizNo}
, LAST_EDIT_DATETIME = #{lastEditDatetime} , LAST_EDIT_DATETIME = (CASE WHEN #{lastEditDatetime} != '' THEN #{lastEditDatetime} ELSE #{registDatetime} END)
WHEN NOT MATCHED THEN WHEN NOT MATCHED THEN
INSERT ( INSERT (
SALE_STORE_ID SALE_STORE_ID
@ -184,7 +184,7 @@
) VALUES ( ) VALUES (
#{saleStoreId} #{saleStoreId}
, #{bizNo} , #{bizNo}
, #{lastEditDatetime} , (CASE WHEN #{lastEditDatetime} != '' THEN #{lastEditDatetime} ELSE #{registDatetime} END)
); );
</insert> </insert>