ソースを参照

[최수빈] 다다익선 오타 수정

bin2107 5 年 前
コミット
0b164e30e7

+ 12 - 12
style24.admin/src/main/java/com/style24/admin/biz/service/TsaMorebetterService.java

@@ -50,7 +50,7 @@ public class TsaMorebetterService {
 
     /**
      * 다다익선 마스터 조회
-     * @param param
+     * @param
      * @return
      * @author bin2107
      * @since 2021. 1. 8
@@ -61,7 +61,7 @@ public class TsaMorebetterService {
 
     /**
      * 다다익선 구간 조회
-     * @param param
+     * @param
      * @return
      * @author bin2107
      * @since 2021. 1. 8
@@ -72,7 +72,7 @@ public class TsaMorebetterService {
 
     /**
      * 다다익선 구간 조회
-     * @param param
+     * @param
      * @return
      * @author bin2107
      * @since 2021. 1. 8
@@ -107,7 +107,7 @@ public class TsaMorebetterService {
 
     /**
      * 다다익선 구간 조회
-     * @param param
+     * @param
      * @return
      * @author bin2107
      * @since 2021. 1. 8
@@ -253,7 +253,7 @@ public class TsaMorebetterService {
 
     /**
      * 다다익선 공급업체 삭제
-     * @param tmtb
+     * @param
      * @return
      * @author bin2107
      * @since 2021. 1. 5
@@ -271,7 +271,7 @@ public class TsaMorebetterService {
 
     /**
      * 다다익선 브랜드 삭제
-     * @param tmtb
+     * @param
      * @return
      * @author bin2107
      * @since 2021. 1. 16
@@ -289,7 +289,7 @@ public class TsaMorebetterService {
 
     /**
      * 다다익선 적용상품 삭제
-     * @param tmtb
+     * @param
      * @return
      * @author bin2107
      * @since 2021. 1. 16
@@ -307,7 +307,7 @@ public class TsaMorebetterService {
 
     /**
      * 다다익선 제외상품 삭제
-     * @param tmtb
+     * @param
      * @return
      * @author bin2107
      * @since 2021. 1. 16
@@ -325,18 +325,18 @@ public class TsaMorebetterService {
 
     /**
      * 다다익선 다다익선 할인구간 삭제
-     * @param tmtb
+     * @param
      * @return
      * @author bin2107
      * @since 2021. 1. 5
      */
     @Transactional("shopTxnManager")
     public void deleteTmtbSectionValList(MoreBetterSection moreBetterSection) {
-        if (moreBetterSection == null || (moreBetterSection.getArrSecionSq() == null && moreBetterSection.getArrSecionSq().length <= 0)) {
+        if (moreBetterSection == null || (moreBetterSection.getArrSectionSq() == null && moreBetterSection.getArrSectionSq().length <= 0)) {
             throw new IllegalStateException(message.getMessage("FAIL_1001"));
         }
 
-        if (moreBetterSection.getArrSecionSq().length > 0) {
+        if (moreBetterSection.getArrSectionSq().length > 0) {
             morebetterDao.deleteTmtbSectionList(moreBetterSection);
             morebetterDao.deleteTmtbValList(moreBetterSection);
         }
@@ -344,7 +344,7 @@ public class TsaMorebetterService {
 
     /**
      * 다다익선 제외상품 삭제
-     * @param tmtb
+     * @param
      * @return
      * @author bin2107
      * @since 2021. 1. 16

+ 1 - 1
style24.admin/src/main/java/com/style24/persistence/domain/MoreBetterSection.java

@@ -31,6 +31,6 @@ public class MoreBetterSection extends TscBaseDomain {
 	private String  udtDt;			// 수정일시
 
 	@JsonFormat(with = JsonFormat.Feature.ACCEPT_SINGLE_VALUE_AS_ARRAY)
-	private String[] arrSecionSq;
+	private String[] arrSectionSq;
 
 }

+ 4 - 4
style24.admin/src/main/java/com/style24/persistence/mybatis/shop/TsaMorebetter.xml

@@ -409,9 +409,9 @@
 		/* TsaMarketing.deleteTmtbSectionList */
 		DELETE FROM TB_TMTB_SECTION
 		WHERE TMTB_SQ =  #{tmtbSq}
-		<if test="arrSecionSq != null and arrSecionSq.length>0">
+		<if test="arrSectionSq != null and arrSectionSq.length>0">
 			AND TMTB_SECTION_SQ IN
-			<foreach collection="arrSecionSq" item="item" index="index"  open="(" close=")" separator=",">
+			<foreach collection="arrSectionSq" item="item" index="index"  open="(" close=")" separator=",">
 				#{item}
 			</foreach>
 		</if>
@@ -421,9 +421,9 @@
 		/* TsaMarketing.deleteTmtbValList */
 		DELETE FROM TB_TMTB_VAL
 		WHERE TMTB_SQ =  #{tmtbSq}
-		<if test="arrSecionSq != null and arrSecionSq.length>0">
+		<if test="arrSectionSq != null and arrSectionSq.length>0">
 			AND TMTB_SECTION_SQ IN
-			<foreach collection="arrSecionSq" item="item" index="index"  open="(" close=")" separator=",">
+			<foreach collection="arrSectionSq" item="item" index="index"  open="(" close=")" separator=",">
 				#{item}
 			</foreach>
 		</if>

+ 3 - 3
style24.admin/src/main/webapp/WEB-INF/views/marketing/MorebetterRegForm.html

@@ -768,10 +768,10 @@
 
 			var removedData = gagaAgGrid.removeRowData(gridOptionsSectionGbList, false);
 
-			var arrSecionSq = [];
+			var arrSectionSq = [];
 
 			$.each(selectedData, function(idx, item) {
-				arrSecionSq.push(item.tmtbSectionSq);
+				arrSectionSq.push(item.tmtbSectionSq);
 			});
 
 			if (removedData.length > 0) {
@@ -780,7 +780,7 @@
 					cancelBtnText: "취소",
 					sureBtnText: "확인",
 					sureBtnClick: function(){
-						var data = { arrSecionSq : arrSecionSq
+						var data = { arrSectionSq : arrSectionSq
 									,tmtbSq : $('#moreBetterForm input[name=disTmtbSq]').val()
 						};