Просмотр исходного кода

Merge branch 'develop' into jsshin

jsshin 5 лет назад
Родитель
Сommit
3d22ea35c6
19 измененных файлов с 351 добавлено и 491 удалено
  1. 0 22
      src/main/java/com/style24/front/biz/dao/TsfCommonDao.java
  2. 0 25
      src/main/java/com/style24/front/biz/service/TsfCommonService.java
  3. 3 37
      src/main/java/com/style24/front/biz/web/TsfCustomerController.java
  4. 0 27
      src/main/java/com/style24/persistence/domain/SupplyCompany.java
  5. 0 28
      src/main/java/com/style24/persistence/mybatis/shop/TsfCommon.xml
  6. 14 0
      src/main/java/com/style24/persistence/mybatis/shop/TsfDisplay.xml
  7. 1 1
      src/main/webapp/WEB-INF/views/mob/callcenter/NoticeFormMob.html
  8. 1 1
      src/main/webapp/WEB-INF/views/mob/customer/PrivacyPolicyLayerFormMob.html
  9. 0 102
      src/main/webapp/WEB-INF/views/mob/customer/SupplyCompanyLayerFormMob.html
  10. 2 2
      src/main/webapp/WEB-INF/views/mob/display/CategoryMainFormMob.html
  11. 36 37
      src/main/webapp/WEB-INF/views/mob/display/MallMainFormMob.html
  12. 2 2
      src/main/webapp/WEB-INF/views/mob/display/OutletMainFormMob.html
  13. 2 2
      src/main/webapp/WEB-INF/views/mob/mypage/MypageOrderDetailFormMob.html
  14. 4 3
      src/main/webapp/WEB-INF/views/mob/planning/PlanningEventAttendFormMob.html
  15. 238 51
      src/main/webapp/WEB-INF/views/web/customer/PrivacyPolicyFormWeb.html
  16. 0 101
      src/main/webapp/WEB-INF/views/web/customer/SupplyCompanyLayerFormWeb.html
  17. 1 1
      src/main/webapp/WEB-INF/views/web/display/BrandMainFormWeb.html
  18. 44 44
      src/main/webapp/WEB-INF/views/web/display/MallMainFormWeb.html
  19. 3 5
      src/main/webapp/ux/style24_link.js

+ 0 - 22
src/main/java/com/style24/front/biz/dao/TsfCommonDao.java

@@ -1,14 +1,11 @@
 package com.style24.front.biz.dao;
 
-import com.style24.persistence.domain.SupplyCompany;
 import org.springframework.stereotype.Repository;
 
 import com.style24.core.support.annotation.ShopDs;
 import com.style24.persistence.domain.InflowHst;
 import com.style24.persistence.domain.Order;
 
-import java.util.Collection;
-
 /**
  * 공통 Dao
  *
@@ -94,23 +91,4 @@ public interface TsfCommonDao {
 	 */
 	String getSearchEngineSyncYn();
 
-	/**
-	 * 공급업체 총 건수
-	 *
-	 * @return int - 건수
-	 * @author jsshin
-	 * @since 2021. 06. 10
-	 */
-	int getSupplyCompanyCount();
-
-	/**
-	 * 공급업체 목록
-	 *
-	 * @param supplyCompany - 페이징 정보
-	 * @return Collection<SupplyCompany> - 목록
-	 * @author jsshin
-	 * @since 2021. 06. 10
-	 */
-	Collection<SupplyCompany> getSupplyCompanyList(SupplyCompany supplyCompany);
-
 }

+ 0 - 25
src/main/java/com/style24/front/biz/service/TsfCommonService.java

@@ -1,6 +1,5 @@
 package com.style24.front.biz.service;
 
-import com.style24.persistence.domain.SupplyCompany;
 import org.apache.commons.lang3.StringUtils;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.core.env.Environment;
@@ -15,8 +14,6 @@ import com.style24.persistence.domain.Order;
 
 import lombok.extern.slf4j.Slf4j;
 
-import java.util.Collection;
-
 /**
  * 공통 Service
  *
@@ -124,26 +121,4 @@ public class TsfCommonService {
 		return commonDao.getSearchEngineSyncYn();
 	}
 
-	/**
-	 * 공급업체 총 건수
-	 *
-	 * @return int - 건수
-	 * @author jsshin
-	 * @since 2021. 06. 10
-	 */
-	public int getSupplyCompanyCount() {
-		return commonDao.getSupplyCompanyCount();
-	}
-
-	/**
-	 * 공급업체 목록
-	 *
-	 * @param supplyCompany - 페이징 정보
-	 * @return Collection<SupplyCompany> - 목록
-	 * @author jsshin
-	 * @since 2021. 06. 10
-	 */
-	public Collection<SupplyCompany> getSupplyCompanyList(SupplyCompany supplyCompany) {
-		return commonDao.getSupplyCompanyList(supplyCompany);
-	}
 }

+ 3 - 37
src/main/java/com/style24/front/biz/web/TsfCustomerController.java

@@ -4,12 +4,8 @@ import javax.servlet.http.HttpServletRequest;
 import javax.servlet.http.HttpSession;
 
 import com.style24.core.biz.service.TscMailService;
-import com.style24.front.biz.service.TsfCommonService;
 import com.style24.front.biz.service.TsfCouponService;
-import com.style24.persistence.TscPageRequest;
-import com.style24.persistence.domain.Clause;
 import com.style24.persistence.domain.Coupon;
-import com.style24.persistence.domain.SupplyCompany;
 import org.apache.commons.lang3.StringUtils;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Controller;
@@ -71,9 +67,6 @@ public class TsfCustomerController extends TsfBaseController {
 	@Autowired
 	private Yes24Login yes24Login;
 
-	@Autowired
-	private TsfCommonService commonService;
-
 	/**
 	 * 아이디 찾기 화면
 	 *
@@ -944,7 +937,7 @@ public class TsfCustomerController extends TsfBaseController {
 		ModelAndView mav = new ModelAndView(super.getDeviceViewName("customer/PrivacyPolicyForm"));
 
 		mav.addObject("clause", clauseService.getClause(TscConstants.Site.STYLE24.value(), "G057_11"));
-		mav.addObject("clauseList", clauseService.getClauseList(TscConstants.Site.STYLE24.value(), "G057_11"));
+
 		return mav;
 	}
 
@@ -1031,12 +1024,6 @@ public class TsfCustomerController extends TsfBaseController {
 		return mav;
 	}
 
-	@GetMapping("/clause/info/{clauseSq}")
-	@ResponseBody
-	public Clause getClauseInfo(@PathVariable Integer clauseSq) {
-		return clauseService.getClauseInfo(clauseSq);
-	}
-
 	/**
 	 * 공급업체목록 화면
 	 *
@@ -1045,33 +1032,12 @@ public class TsfCustomerController extends TsfBaseController {
 	 * @since 2021. 04. 01
 	 */
 	@PostMapping("/supply/company/layer")
-	public ModelAndView getSupplyCompanyLayer(HttpServletRequest request) {
+	public ModelAndView getSupplyCompanyLayer() {
 		ModelAndView mav = new ModelAndView();
-		mav.addObject("mallGb", request.getParameter("mallGb"));
-		mav.setViewName(super.getDeviceViewName("customer/SupplyCompanyLayerForm"));
+		mav.setViewName(super.getDeviceViewName("customer/SupplyComanyLayerForm"));
 		return mav;
 	}
 
-	/**
-	 * 공급업체목록
-	 *
-	 * @param supplyCompany
-	 * @return GagaMap
-	 * @author jsshin
-	 * @since 2021. 06. 10
-	 */
-	@PostMapping("/supply/company/list")
-	@ResponseBody
-	public GagaMap getSupplyCompanyList(@RequestBody SupplyCompany supplyCompany) {
-		GagaMap result = new GagaMap();
-		TscPageRequest pageable = new TscPageRequest((supplyCompany.getPageNo() > 0 ? supplyCompany.getPageNo() - 1 : 0), supplyCompany.getPageSize(), supplyCompany.getPageUnit());
-		pageable.setTotalCount(commonService.getSupplyCompanyCount());
-		supplyCompany.setPageable(pageable);
-		result.set("supplyCompanyList",commonService.getSupplyCompanyList(supplyCompany));
-		result.set("paging", supplyCompany);
-		return result;
-	}
-
 	/**
 	 * 개인정보위탁 화면
 	 *

+ 0 - 27
src/main/java/com/style24/persistence/domain/SupplyCompany.java

@@ -1,27 +0,0 @@
-package com.style24.persistence.domain;
-
-import com.fasterxml.jackson.annotation.JsonFormat;
-import com.style24.persistence.TscBaseDomain;
-
-import com.style24.persistence.TscPageRequest;
-import lombok.Data;
-
-/**
- * 공급업체 Domain
- *
- * @author gagamel
- * @since 2020. 10. 7
- */
-@SuppressWarnings("serial")
-@Data
-public class SupplyCompany extends TscBaseDomain {
-
-	private String supplyCompCd;		// 공급업체코드
-	private String supplyCompNm;		// 공급업체명
-	private String ownerNm;
-
-	private TscPageRequest pageable;
-	private int pageNo = 1;
-	private int pageSize = 10;
-	private int pageUnit = 5;
-}

+ 0 - 28
src/main/java/com/style24/persistence/mybatis/shop/TsfCommon.xml

@@ -87,33 +87,5 @@
 		WHERE  CD_GB = 'G085'
 		AND    CD = 'SEARCHSYNCYN'
 	</select>
-	
-	<select id="getSupplyCompanyCount" resultType="int">
-		/* TsfCommon.getSupplyCompanyCount */
-		SELECT COUNT(*) AS CNT
-		FROM   TB_SUPPLY_COMPANY SC
-		     , TB_SUPPLY_VENDOR SV
-		WHERE  SC.SUPPLY_VENDOR_CD = SV.SUPPLY_VENDOR_CD
-		AND    SC.USE_YN = 'Y'
-	</select>
-
-	<select id="getSupplyCompanyList" parameterType="SupplyCompany" resultType="SupplyCompany">
-		/* TsfCommon.getSupplyCompanyList */
-		SELECT SUPPLY_COMP_CD
-		     , SUPPLY_COMP_NM
-		     , OWNER_NM
-		     , NUMB
-		FROM (
-		      SELECT SC.SUPPLY_COMP_CD       /*공급업체코드*/
-		           , SC.SUPPLY_COMP_NM       /*공급업체명*/
-		           , SV.OWNER_NM             /*대표자명*/
-		           , ROW_NUMBER() OVER(ORDER BY SV.REG_DT DESC)   AS NUMB
-		      FROM   TB_SUPPLY_COMPANY SC
-		           , TB_SUPPLY_VENDOR SV
-		      WHERE  SC.SUPPLY_VENDOR_CD = SV.SUPPLY_VENDOR_CD
-		      AND    SC.USE_YN = 'Y'
-		) ORIGINAL
-		WHERE NUMB BETWEEN #{pageable.startRow} AND #{pageable.endRow}
-	</select>
 
 </mapper>

+ 14 - 0
src/main/java/com/style24/persistence/mybatis/shop/TsfDisplay.xml

@@ -295,6 +295,20 @@
 		                   WHERE  BRAND_GROUP_NO = #{brandGroupNo}
 		                  )
 		</if>
+		AND    EXISTS (SELECT 1
+		               FROM   TB_CATE_STOCK
+		               WHERE  SITE_CD = C4.SITE_CD
+		               AND    CATE_NO = C4.CATE1_NO
+		               <if test='brandGroupNo != null'>
+		               AND    BRAND_GROUP_NO = #{brandGroupNo}
+		               </if>
+		               <if test='formalGb != null'>
+		               AND    FORMAL_GB = #{formalGb}
+		               </if>
+		               <if test='soldoutGoodsDispYn != null and soldoutGoodsDispYn =="N"'>
+		               AND    STOCK_QTY > 0 /*품절상품전시여부가 N일 때 재고가 있는 카테고리만*/
+		               </if>
+		              )
 		<if test="keyword != null and keyword != ''"> <!-- 상품검색키워드 -->
 		AND    LEAF_CATE_NO IN (SELECT CG.CATE_NO
 		                        FROM   TB_CATE_GOODS CG

+ 1 - 1
src/main/webapp/WEB-INF/views/mob/callcenter/NoticeFormMob.html

@@ -95,7 +95,7 @@
 				tag += '	</div>\n';
 				tag += '	<div class="fold_cont">\n';
 				tag += '		<div class="fold_answer">\n';
-				tag += '			<div class="answer_body">' + item.noticeContent.escapeHtml() + '</div>\n';
+				tag += '			<div class="answer_body">' + item.noticeContent + '</div>\n';
 				tag += '		</div>\n';
 				tag += '	</div>\n';
 				tag += '</li>\n';

+ 1 - 1
src/main/webapp/WEB-INF/views/mob/customer/PrivacyPolicyLayerFormMob.html

@@ -32,7 +32,7 @@
 </div>
 <script th:inline="javascript">
 /*<![CDATA[*/
-	$("#partners").on('click', function() {
+	$("#partners").click(function() {
 		cfnSupplyComanyLayer();
 	});
 	//약관내부링크

+ 0 - 102
src/main/webapp/WEB-INF/views/mob/customer/SupplyCompanyLayerFormMob.html

@@ -1,102 +0,0 @@
-<!DOCTYPE html>
-<html lang="ko"
-	  xmlns:th="http://www.thymeleaf.org">
-<!--
- *******************************************************************************
- * @source  : SupplyCompanyLayerFormMob.html
- * @desc    : 공급업체 리스트 page
- *============================================================================
- * STYLE24
- * Copyright(C) 2021 TSIT, All rights reserved.
- *============================================================================
- * VER  DATE         AUTHOR      DESCRIPTION
- * ===  ===========  ==========  =============================================
- * 1.0  2021.06.09   jsshin       최초 작성
- *******************************************************************************
- -->
-<div class="modal-dialog" role="document">
-	<div class="modal-content">
-		<div class="modal-header">
-			<h5 class="modal-title" id="exampleFullLabel">업체 리스트</h5>
-		</div>
-		<div class="modal-body">
-			<div class="pop_cont">
-				<!-- 컨텐츠 시작 -->
-				<div class="ps ptn" >
-					<table>
-						<colgroup>
-							<col width="*">
-							<col width="30%">
-						</colgroup>
-						<thead>
-							<tr>
-								<th>업체명</th>
-								<th>대표자</th>
-							</tr>
-						</thead>
-						<tbody id="supplyCompanyList">
-						</tbody>
-					</table>
-					<div class="paging_wrap">
-						<ul class="pageNav" id="paging">
-						</ul>
-					</div>
-				</div>
-				<!-- 컨텐츠 종료 -->
-			</div>
-		</div>
-	</div>
-</div>
-<form id="supplyCompanyForm" name="supplyCompanyForm" th:action="@{/customer/supply/company/list}" th:method="post">
-	<input type="hidden" name="pageNo" value="1" />
-	<input type="hidden" name="pageSize" value="10" />
-</form>
-<script src="/ux/plugins/gaga/gaga.paging.js"></script>
-<script th:inline="javascript">
-/*<![CDATA[*/
-	var mallGb = [[${mallGb}]];
-	var fnGetSupplyCompanyList = function () {
-		gagaPaging.init('supplyCompanyForm', fnSearchCallback, 'paging', 10);
-		gagaPaging.load(1);
-	}
-
-	var fnSearchCallback = function (result) {
-		$('#supplyCompanyList').html('');
-		let html = '';
-		if (!gagajf.isNull(result) && result.supplyCompanyList.length > 0) {
-			$.each(result.supplyCompanyList, function (idx, item) {
-				html += '<tr>\n';
-				html += '    <td>\n';
-				html += item.supplyCompNm;
-				html += '    </td>\n';
-				html += '    <td>\n';
-				html += item.ownerNm;
-				html += '    </td>\n';
-				html += '</tr>\n';
-			});
-		}
-		$('#supplyCompanyList').html(html);
-
-		gagaPaging.createSinglePagination(result.paging.pageable);
-	}
-
-	$(document).ready(function() {
-		fnGetSupplyCompanyList();
-		$('#supplyCompanyPop .close-modal').on('click', function () {
-			cfnPrivacyPolicyLayer(mallGb);
-		});
-	});
-
-	//약관내부링크
-	$(function(){
-		$(".hook_list ul li a").on("click", function(){
-			var hookHeader = $(".modal-header").outerHeight() + 3000;
-			var hookHref = $(this).attr("href");
-			var hookPot = $(hookHref == "#" || hookHref == "" ? "body" : hookHref);
-			var hookPos = hookPot.offset().top - hookHeader;
-			$("html, body").animate({ scrollTop: hookPos }, 3000);
-		});
-	});
-/*]]>*/
-</script>
-</html>

+ 2 - 2
src/main/webapp/WEB-INF/views/mob/display/CategoryMainFormMob.html

@@ -61,7 +61,7 @@
 				</th:block>
 
 				<th:block th:if="${contentsLoc=='002'}">
-					<div class="inner wide" th:if="${newGoodsList != null and !newGoodsList.empty}">
+					<div class="inner wide" th:if="${newGoodsList != null}">
 						<div class="new_item">
 							<h2 class="dp_subtitle" th:text="${contentsTitle}">신상품</h2>
 							<div class="swiper-container item_list">
@@ -93,7 +93,7 @@
 				</th:block>
 
 				<th:block th:if="${contentsLoc=='003'}">
-					<div class="inner" th:if="${bestGoodsList != null and !bestGoodsList.empty}">
+					<div class="inner" th:if="${bestGoodsList != null}">
 						<div class="best_item">
 							<h2 class="dp_subtitle" th:text="${contentsTitle}">베스트 상품</h2>
 							<div class="item_list">

+ 36 - 37
src/main/webapp/WEB-INF/views/mob/display/MallMainFormMob.html

@@ -93,7 +93,7 @@
 
 					<th:block th:if="${contentsLoc=='003'}">
 						<!-- 3. 트렌디한 신상아이템 -->
-						<div class="inner" th:if="${mainData.goodsList != null and !mainData.goodsList.empty}">
+						<div class="inner" th:if="${mainData.goodsList != null}">
 							<div class="main_trendy">
 								<th:block th:if="${mainData.contentsTitle != null and !mainData.contentsTitle.empty}">
 									<div class="titWrap">
@@ -143,9 +143,11 @@
 						<div class="inner">
 							<div class="main_it">
 								<div class="titWrap">
-									<a href="javascript:void(0)" onclick="cfnGoToPage(_PAGE_BEST_MAIN);">
-										<h2 th:text="${contentsTitle}"></h2>
-									</a>
+									<th:block th:each="ContentsData, ContentsStat : ${mainData.ContentsList}">
+										<a href="javascript:void(0)" th:onclick="cfnGoToPage([[${ContentsData.strVar1}]]);">
+											<h2 th:text="${contentsTitle}"></h2>
+										</a>
+									</th:block>
 								</div>
 								<div class="inner_head">
 									<ul class="it_nav">
@@ -238,7 +240,7 @@
 					<th:block th:if="${contentsLoc=='006'}">
 						<!-- 6. 타임딜 : 슬라이드 -->
 						<th:block th:each="socialData, socialStat : ${mainData.socialInfo}">
-						<div class="inner bg_dark" th:if="${socialData.socialGoodsList != null and !socialData.socialGoodsList.empty}">
+						<div class="inner bg_dark" th:if="${socialData.socialGoodsList != null}">
 							<div class="main_deal">
 								<div class="titWrap">
 									<a href="javascript:void(0)" onclick="cfnGoToPage(_PAGE_SOCIAL_MAIN);">
@@ -291,7 +293,7 @@
 
 					<th:block th:if="${contentsLoc=='007'}">
 						<!-- 7. 브랜드픽 -->
-						<div class="inner" th:if="${mainData.ContentsList != null and !mainData.ContentsList.empty}">
+						<div class="inner" th:if="${mainData.ContentsList != null}">
 							<div class="main_pick" >
 								<div class="titWrap">
 									<h2 th:text="${contentsTitle}"></h2>
@@ -366,7 +368,7 @@
 
 					<th:block th:if="${contentsLoc=='008'}">
 						<!-- 8. 가로 긴 배너 슬라이드 -->
-						<div class="inner wide" th:if="${mainData.ContentsList != null and !mainData.ContentsList.empty}">
+						<div class="inner wide">
 							<div class="main_1stage">
 								<div class="swiper-container post-bnnWide">
 									<div class="swiper-wrapper">
@@ -397,7 +399,7 @@
 
 					<th:block th:if="${contentsLoc=='009'}">
 						<!-- 9. MD추천 스타일 -->
-						<div class="inner" th:if="${mainData.mdPickList != null and !mainData.mdPickList.empty}">
+						<div class="inner">
 							<div class="main_recomm">
 								<div class="titWrap">
 									<h2 th:text="${contentsTitle}">MD가 추천하는 스타일</h2>
@@ -721,7 +723,7 @@
 
 					<th:block th:if="${contentsLoc=='011'}">
 						<!-- 11. TV 슬라이드 -->
-						<div class="inner wide bg_dark" th:if="${mainData.ContentsList != null and !mainData.ContentsList.empty}">
+						<div class="inner wide bg_dark" th:if="${mainData.ContentsList != null}">
 							<div class="titWrap">
 								<h2 data-style="unusual" th:text="${mainData.contentsTitle}">STYLE24 TV</h2>
 							</div>
@@ -753,45 +755,42 @@
 		var mainLayoutList = [[${mainLayoutList}]];
 		// console.log(mainLayoutList);
 
-		if(!gagajf.isNull($("#socailForm").find("input[name=targetTime]").val())){
-			var targetTime = $("#socailForm").find("input[name=targetTime]").val().toDate("YYYYMMDD");
-			if(targetTime != null && targetTime != ''){
-				/* 핫딜 countDown */
-				var endTime = new Date(targetTime); // 남은시간 지정
-				endTime = (Date.parse(endTime) / 1000);
+		var targetTime = $("#socailForm").find("input[name=targetTime]").val().toDate("YYYYMMDD");
+		if(targetTime != null && targetTime != ''){
+			/* 핫딜 countDown */
+			var endTime = new Date(targetTime); // 남은시간 지정
+			endTime = (Date.parse(endTime) / 1000);
 
-				var countdown = document.getElementById("tiles"); // get tag element
+			var countdown = document.getElementById("tiles"); // get tag element
 
-				getCountdown();
+			getCountdown();
 
-				setInterval(function () { getCountdown(); }, 1000);
+			setInterval(function () { getCountdown(); }, 1000);
 
-				function getCountdown(){
-					// find the amount of "seconds" between now and target
-					var now = new Date();
-					now = (Date.parse(now) / 1000);
+			function getCountdown(){
+				// find the amount of "seconds" between now and target
+				var now = new Date();
+				now = (Date.parse(now) / 1000);
 
-					var timeLeft = endTime - now;
+				var timeLeft = endTime - now;
 
-					var days = Math.floor(timeLeft / 86400);
-					var hours = Math.floor((timeLeft - (days * 86400)) / 3600);
-					var minutes = Math.floor((timeLeft - (days * 86400) - (hours * 3600 )) / 60);
-					var seconds = Math.floor((timeLeft - (days * 86400) - (hours * 3600) - (minutes * 60)));
+				var days = Math.floor(timeLeft / 86400);
+				var hours = Math.floor((timeLeft - (days * 86400)) / 3600);
+				var minutes = Math.floor((timeLeft - (days * 86400) - (hours * 3600 )) / 60);
+				var seconds = Math.floor((timeLeft - (days * 86400) - (hours * 3600) - (minutes * 60)));
 
-					if (hours < '10') { hours = '0' + hours; }
-					if (minutes < '10') { minutes = '0' + minutes; }
-					if (seconds < '10') { seconds = '0' + seconds; }
+				if (hours < '10') { hours = '0' + hours; }
+				if (minutes < '10') { minutes = '0' + minutes; }
+				if (seconds < '10') { seconds = '0' + seconds; }
 
-					// format countdown string + set tag value
-					countdown.innerHTML = "<span>" + hours + "</span><span>" + minutes + "</span><span>" + seconds + "</span>";
-				}
+				// format countdown string + set tag value
+				countdown.innerHTML = "<span>" + hours + "</span><span>" + minutes + "</span><span>" + seconds + "</span>";
+			}
 
-				function pad(n) {
-					return (n < 10 ? '0' : '') + n;
-				}
+			function pad(n) {
+				return (n < 10 ? '0' : '') + n;
 			}
 		}
-
 		// 컨텐츠 호출
 		$(document).ready(function() {
 			// 몰메인 띠배너 표출

+ 2 - 2
src/main/webapp/WEB-INF/views/mob/display/OutletMainFormMob.html

@@ -55,7 +55,7 @@
 				</th:block>
 
 				<th:block th:if="${contentsLoc=='002'}">
-					<div class="inner wide" th:if="${mdPickGoodsList != null and !mdPickGoodsList.empty}">
+					<div class="inner wide" th:if="${mdPickGoodsList != null}">
 						<div class="md_item">
 							<h2 class="dp_subtitle" th:text="${contentsTitle}">MD가 추천하는 아울렛 아이템</h2>
 							<div class="swiper-container item_list">
@@ -91,7 +91,7 @@
 				</th:block>
 
 				<th:block th:if="${contentsLoc=='003'}">
-					<div class="inner" th:if="${bestGoodsList != null and !bestGoodsList.empty}">
+					<div class="inner" th:if="${bestGoodsList != null}">
 						<div class="best_item">
 							<h2 class="dp_subtitle" th:text="${contentsTitle}">베스트 상품</h2>
 							<div class="item_list">

+ 2 - 2
src/main/webapp/WEB-INF/views/mob/mypage/MypageOrderDetailFormMob.html

@@ -947,7 +947,7 @@
 				
 				gagajf.ajaxJsonSubmit(url, jsonData, function(result) {
 					cfnGoToPage(_PAGE_MYPAGE_ORDER_LIST);
-				});
+				}, true);
 			}
 		});
 	}
@@ -1006,7 +1006,7 @@
 
 		gagajf.ajaxJsonSubmit(url, jsonData, function(result) {
 			cfnGoToPage(_PAGE_MYPAGE_ORDER_DETAIL + ordNo);
-		});
+		}, true);
 	}
 
 	// 전체구매확정 버튼 클릭 이벤트

+ 4 - 3
src/main/webapp/WEB-INF/views/mob/planning/PlanningEventAttendFormMob.html

@@ -284,8 +284,8 @@ var appendHtml = function () {
 
 		$("#monthTbody").append(html);
 		if (cfCheckLogin()) {
+			$('.day').html('<span>' + custAttendList.length + '</span>일');
 			$.each(custAttendList, function(idx1, item1) {
-				$('.day').html('<span>' + custAttendList.length + '</span>일');
 				if(item1.entryDt == item.sun || item1.entryDt == item.mon || item1.entryDt == item.tue|| item1.entryDt == item.wed
 						|| item1.entryDt == item.thu || item1.entryDt == item.fri || item1.entryDt == item.sat){
 					$("#td_"+item1.entryDt).attr("class","complete");
@@ -312,7 +312,7 @@ var fnInfoConfirmCallBack = function(result) {
 	mcxDialog.alert(result.msg);
 	appendHtml();
 	$("#td_"+date).attr("class","complete");
-	$('.day').html('<span>' + (custAttendList.length +1) + '</span>일');
+	$('.day').html('<span>' + result.custAttendList.length + '</span>일');
 	
 };
 
@@ -334,8 +334,9 @@ $(document).ready(function() {
 	
 	if (!cfCheckLogin()) {
 		$(".day").html("<span>0</span>일");
+		$("#td_"+date).attr("class","today");
 	}else{
-		$('.day').html('<span>' + (custAttendList.length +1) + '</span>일');
+		$('.day').html('<span>' + custAttendList.length + '</span>일');
 		$("#td_"+date).attr("class","today"); 
 		$.each(custAttendList, function(idx, item) {
 			if(item.entryDt == date){

+ 238 - 51
src/main/webapp/WEB-INF/views/web/customer/PrivacyPolicyFormWeb.html

@@ -35,50 +35,252 @@
 				</div>
 			</div>
 			<div class="cont_body" th:utext="${#strings.replace(#strings.replace(clause,'&amplt;','<'),'&ampgt;','>')}">
+				<!-- <p>
+                        아이스타일이십사 주식회사에서 운영하는 www.istyle24.com은 고객님의 개인정보를 소중히 여기며, 안전한 거래를 위해 관련법령의 규정을 반영하여 준수하고 있습니다.
+                    </p>                    
+                    <div class="hookGrp">
+                        <div class="hook_list">
+                            <ul>
+                                <li>
+                                    <a href="#prvc1"><span>제1조 개인정보의 수집, 이용목적</span></a>
+                                    <a href="#prvc2"><span>제2조 정의</span></a>
+                                    <a href="#prvc3"><span>제3조 약관 등의 명시와 설명 및 개정</span></a>
+                                    <a href="#prvc4"><span>제4조 서비스의 제공 및 변경</span></a>
+                                    <a href="#prvc5"><span>제5조 서비스의 중단</span></a>
+                                    <a href="#prvc6"><span>제6조 회원가입</span></a>
+                                    <a href="#prvc7"><span>제7조 회원 탈퇴 및 자격 상실 등</span></a>
+                                    <a href="#prvc8"><span>제8조 회원에 대한 통지</span></a>
+                                </li>
+                                <li>
+                                    <a href="#prvc9"><span>제9조 구매신청</span></a>
+                                    <a href="#prvc10"><span>제10조 계약의 성립</span></a>
+                                    <a href="#prvc11"><span>제 11조</span></a>
+                                    <a href="#prvc12"><span>제 12조</span></a>
+                                    <a href="#prvc13"><span>제 13조</span></a>
+                                    <a href="#prvc14"><span>제 14조</span></a>
+                                    <a href="#prvc15"><span>제 15조</span></a>
+                                    <a href="#prvc16"><span>제 16조</span></a>
+                                </li>
+                                <li>
+                                    <a href="#prvc17"><span>제 17조</a>
+                                    <a href="#prvc18"><span>제 18조</span></a>
+                                    <a href="#prvc19"><span>제 19조</span></a>
+                                    <a href="#prvc20"><span>제 20조</span></a>
+                                    <a href="#prvc21"><span>제 21조</span></a>
+                                    <a href="#prvc22"><span>제 22조</span></a>
+                                    <a href="#prvc23"><span>제 23조</span></a>
+                                    <a href="#prvc24"><span>제24조 재판권 및 준거법</span></a>
+                                </li>
+                            </ul>
+                            
+                        </div>
+                        <div class="hook_cont"> 
+                            <div id="prvc1">
+                                <h4><span>제1조 개인정보의 수집, 이용목적</span></h4>
+                                <p>
+                                    이 약관은 아이스타일이십사 주식회사가 운영하는 www.istyle24.com(이하 "몰"이라 한다)에서 제공하는 인터넷 관련 서비스 (이하 "서비스"라 한다)를 이용함에 있어 사이버 몰과 이용자의
+                                    권리, 의무 및 책임사항을 규정함을 목적으로 합니다.
+                                </p>
+                                <table>
+                                    <colgroup>
+                                        <col width="300">
+                                        <col width="*">
+                                    </colgroup>   
+                                    <thead>
+                                        <tr>
+                                            <th>구분</th>
+                                            <th>이용목적</th>
+                                        </tr>
+                                    </thead>
+                                    <tbody>
+                                        <tr>
+                                            <td rowspan="5">회원관리</td>
+                                            <td>회원제 서비스 이용에 따른 본인확인, 개인식별</td>
+                                        </tr>
+                                        <tr>
+                                            <td>불량회원의 부정이용 방지와 비인가 사용 방지, 중복가입방지</td>
+                                        </tr>
+                                        <tr>
+                                            <td></td>
+                                        </tr>
+                                        <tr>
+                                            <td></td>
+                                        </tr>
+                                        <tr>
+                                            <td></td>
+                                        </tr>
+                                        <tr>
+                                            <td rowspan="3">서비스 제공에 관한 계약의 이행 및 서비스 제공에 따른 요금정산</td>
+                                            <td>콘텐츠 제공, 이벤트 당첨 결과안내 및 경품배송</td>
+                                        </tr>
+                                        <tr>
+                                            <td>금융거래 본인 인증 및 금융 서비스</td>
+                                        </tr>
+                                        <tr>
+                                            <td>물품 배송, 구매 및 요금 결제</td>
+                                        </tr>
+                                        <tr>
+                                            <td rowspan="7">마케팅 광고에 활용</td>
+                                            <td></td>
+                                        </tr>
+                                        <tr>
+                                            <td></td>
+                                        </tr>
+                                        <tr>
+                                            <td></td>
+                                        </tr>
+                                        <tr>
+                                            <td></td>
+                                        </tr>
+                                        <tr>
+                                            <td></td>
+                                        </tr>
+                                        <tr>
+                                            <td></td>
+                                        </tr>
+                                        <tr>
+                                            <td></td>
+                                        </tr>
+                                    </tbody>
+                                </table>
+                            </div>
+                            <div id="prvc2">
+                                <h4><span>제2조 정의</span></h4>
+                                <p>1. “몰”이란 아이스타일24가 재화 또는 용역(이하 “재화 등”이라 함)을 이용자에게 제공하기 위하여 컴퓨터 등 정보통신설비를 이용하여 재화 등을 거래할 수 있도록 설정한 가상의 영업장을 말하며, 아울러 사이버몰을 운영하는 사업자의 의미로도 사용합니다.</p>
+                                <p>2. '이용자'란 "몰"에 접속하여 이 약관에 따라 "몰"이 제공하는 서비스를 받는 회원 및 비회원을 말합니다.</p>
+                                <p>3. '회원'이라 함은 "몰"에 개인정보를 제공하여 회원등록을 한 자로서, "몰"의 정보를 지속적으로 제공받으며, "몰"이 제공하는 서비스를 계속적으로 이용할 수 있는 자를 말합니다.</p>
+                                <p>4. ‘비회원’이라 함은 회원에 가입하지 않고 몰”이 제공하는 서비스를 이용하는 자를 말합니다.</p>
+                                <p>5. '아이디(ID)'란 이용자가 회원가입 당시 몰에 등록한 사용자 '개인이용문자'를 말합니다.</p>
+                                <p>6. '비밀번호'란 회원의 동일성 확인과 비밀보호를 위하여 회원 스스로가 설정하여 몰에 등록한 '개인이용문자'로 회원으로 로그인을 하기위해 아이디와 같이 사용됩니다.</p>
+                                <p>7. ‘영업일’이란 회사가 정상적으로 서비스를 제공한 날로서 토요일, 일요일 및 법정 공휴일을 제외한 날을 말합니다.</p>
+                                <p>8. ‘아이포인트’란 아이스타일24를 통하여 회원이 상품을 구매할 때, 구매금액의 일정 비율이 적립되는 ‘몰’전용 마일리지로 적립일로부터 3년이 지나면 자동 소멸 됩니다</p>
+                                <p>9. ‘아이머니’란 상품구매 시 현금과 같이 이용할 수 있는 ‘몰’ 전용 사이버머니로, 적립된 아이포인트를 일정한 단위로 환전하여 사용할 수 있습니다.</p>
+                                <p>10. 기타 ‘2조’에서 정의되지 아니한 이 약관상의 용어의 의미는 일반적인 거래관행에 의합니다.</p>
+                            </div>
+                            <div id="prvc3">
+                                <h4><span>제3조 약관 등의 명시와 설명 및 개정</span></h4>
+                                <p>1. "몰"은 이 약관의 내용과 상호 및 대표자 성명, 영업소 소재지 주소(소비자의 불만을 처리할 수 있는 곳의 주소를 포함), 전화번호, 팩스번호, 전자우편주소, 사업자등록번호,
+                                    통신판매업신고번호, 개인정보관리책임자 등을 이용자가 쉽게 알 수 있도록 www.istyle24.com의 초기 서비스화면(전면)에 게시합니다.
+                                    다만, 이용약관의 내용은 이용자가 연결화면을 통하여 볼 수 있도록 할 수 있습니다.</p>
+                                <p>2. "몰"은 이용자가 약관에 동의하기에 앞서 약관에 정하여져 있는 내용 중 청약철회 배송책임 환불조건 등과 같은 중요한 내용을 이용자가 이해할 수 있도록 별도의 연결화면 또는 팝업화면 등을
+                                    제공하여 이용자의 확인을 구하여야 합니다.</p>
+                                <p>3. "몰"은 전자상거래등에서의소비자보호에관한법률, 약관의규제에관한법률, 전자거래기본법, 전자서명법, 정보통신망이용촉진등에관한법률, 방문판매등에관한법률, 소비자보호법 등
+                                    관련법을 위배하지 않는 범위에서 이 약관을 개정할 수 있습니다.</p>
+                                <p>4. "몰"이 약관을 개정할 경우에는 적용일자 및 개정사유를 명시하여 현행약관과 함께 몰의 초기화면에 그 적용일자 7일 이전부터 적용일자 전일까지 공지합니다.
+                                    다만, 이용자에게 불리하게 약관내용을 변경하는 경우에는 최소한 30일 이상의 사전 유예기간을 두고 공지합니다. 이 경우 "몰"은 개정 전 내용과 개정 후 내용을 명확하게 비교하여 이용자가
+                                    알기 쉽도록 표시합니다.</p>
+                                <p>5. "몰"이 약관을 개정할 경우에는 그 개정 약관은 그 적용일자 이후에 체결되는 계약에만 적용되고 그 이전에 이미 체결된 계약에 대해서는 개정전의 약관조항이 그대로 적용됩니다.
+                                    다만 이미 계약을 체결한 이용자가 개정 약관 조항의 적용을 받기를 원하는 뜻을 제3조에 의한 개정약관의 공지기간내에 "몰"에 송신하여 "몰"의 동의를 받은 경우에는 개정약관 조항이
+                                    적용됩니다.</p>
+                                <p>6. 본 약관에서 정하지 아니한 사항과 이 약관의 해석에 관하여는 전자상거래등에서의 소비자보호에관한법률, 약관의규제등에관한법률, 공정거래위원회가 정하는 전자상거래등에서의
+                                    소비자보호지침 및 관계법령 또는 상관례에 따릅니다.</p>
+                            </div>
+                            <div id="prvc4">
+                                <h4><span>제4조 서비스의 제공 및 변경</span></h4>
+                                <p>1. “몰"은 다음과 같은 업무를 수행합니다.</p>
+                                <ol>
+                                    <li>① 재화 또는 용역에 대한 정보 제공 및 구매계약의 체결</li>
+                                    <li>② 구매계약이 체결된 재화 또는 용역의 배송</li>
+                                    <li>③ 기타 “몰”이 정하는 업무</li>
+                                </ol>
+                                <p>2. "몰"은 재화 또는 용역의 품절 또는 기술적 사양의 변경 등의 경우에는 장차 체결되는 계약에 의해 제공할 재화 또는 용역의 내용을 변경할 수 있습니다. 이 경우에는 변경된 재화 또는 용역의
+                                    내용 및 제공일자를 명시하여 현재의 재화 또는 용역의 내용을 게시한 곳에 즉시 공지합니다.단, "몰"이 합리적으로 예측할 수 없는 불가피한 여건이나 사정이 있는 경우, 위 공지를 하지 않을 수
+                                    있습니다.
+                                    </p>
+                                <p>3. "몰"이 제공하기로 이용자와 계약을 체결한 서비스의 내용을 재화등의 품절 또는 기술적 사양의 변경 등의 사유로 변경할 경우에는 그 사유를 이용자에게 통지 합니다.</p>
+                                <p>4. 전항의 경우 "몰"은 이로 인하여 이용자가 입은 손해를 배상합니다. 다만, "몰"이 고의 또는 과실이 없음을 입증하는 경우에는 그러하지 아니합니다.</p>
+                            </div>
+                            <div id="prvc5">
+                                <h4><span>제5조 서비스의 중단</span></h4>
+                                <p>1. "몰"은 컴퓨터 등 정보통신설비의 보수점검·교체 및 고장, 통신의 두절 등의 사유가 발생한 경우에는 서비스의 제공을 일시적으로 중단할 수 있습니다.</p>
+                                <p>2. "몰"은 제1항의 사유로 서비스의 제공이 일시적으로 중단됨으로 인하여 이용자 또는 제3자가 입은 손해에 대하여 배상합니다.단, "몰"에 고의 또는 과실이 없는 경우에는 그러하지
+                                    아니합니다.</p>
+                                <p>3. "사업종목의 전환, 사업의 포기, 업체간의 통합 등의 이유로 서비스를 제공할 수 없게 되는 경우에는 "몰"은 제8조에 정한 방법으로 이용자에게 통지하고 당초 "몰"에서 제시한 조건에 따라
+                                    소비자에게 보상합니다.</p>
+                                <p>4. 다만, "몰"이 보상기준 등을 고지하지 아니한 경우에는 이용자들의 적립금 등을 "몰"에서 통용되는 통화가치에 상응하는 현물 또는 현금으로 이용자에게 지급합니다.</p>
+                            </div>
+                            <div>
+                                <h4  id="prvc6"><span>제6조 회원가입</span></h4>
+                                <p>1. 이용자는 "몰"이 정한 가입 양식에 따라 회원정보를 기입한 후 이 약관에 동의한다는 의사표시를 함으로서 회원가입을 신청합니다.</p>
+                                <p>2. "몰"은 제1항과 같이 회원으로 가입할 것을 신청한 이용자 중 다음 각호에 해당하지 않는 한 회원으로 등록합니다.</p>
+                                <ol>
+                                    <li>① 가입신청자가 이 약관 제7조 제3항에 의하여 이전에 회원자격을 상실한 적이 있는 경우, 다만 제7조 제3항에 의한 회원자격 상실후 3년이 경과한 자로서 "몰"의 회원 재가입 승낙을 얻은
+                                        경우에는 예외로 한다.</li>
+                                    <li>② 등록 내용에 허위, 기재누락, 오기가 있는 경우</li>
+                                    <li>③ 만 14세가 되지 않은 자가 신청하였을 경우</li>
+                                    <li>④기타 회원으로 등록하는 것이 "몰"의 기술상 현저히 지장이 있다고 판단되는 경우</li>
+                                </ol>
+                                <p>3. 회원가입계약의 성립시기는 "몰"의 승낙이 회원에게 도달한 시점으로 합니다.</p>
+                                <p>4. 가입신청자가 "몰"에 회원으로 가입하더라도 로그인하지 않은 상태에서 주문하는 경우는 회원주문이 아니라 비회원주문으로 인정합니다.</p>
+                                <p>5. 회원은 제15조 제1항에 의한 등록사항에 변경이 있는 경우, 즉시 전자우편 기타 방법으로 "몰"에 대하여 그 변경사항을 알려야 합니다.이러한 변경사항의 미 통보로 인해 발생하는 손해는
+                                    회원에게 그 책임이 있습니다.</p>
+                            </div>
+                            <div id="prvc7">
+                                <h4><span>제7조 회원 탈퇴 및 자격 상실 등</span></h4>
+                                <p>1. 회원은 "몰"에 언제든지 탈퇴를 요청할 수 있으며 "몰"은 즉시 회원탈퇴를 처리합니다.</p>
+                                <p>2. 회원이 다음 각호의 사유에 해당하는 경우, "몰"은 회원자격을 제한 및 정지시킬 수 있습니다.</p>
+                                <p>3. "몰"이 회원 자격을 제한 정지 시킨 후, 동일한 행위가 2회 이상 반복되거나 30일 이내에 그 사유가 시정되지 아니하는 경우 "몰"은 회원자격을 상실시킬 수 있습니다.</p>
+                                <p>4. "몰"이 회원자격을 상실시키는 경우에는 회원등록을 말소합니다. 이 경우 회원에게 이를 통지하고, 회원등록 말소 전에 최소한 30일 이상의 기간을 정하여 소명할 기회를 부여합니다.</p>
+                            </div>
+                            <div id="prvc8">
+                                <h4><span>제8조 회원에 대한 통지</span></h4>
+                                <p>1. "몰"이 회원에 대한 통지를 하는 경우, 회원이 "몰"에 제출하여 지정한 전자우편 주소로 할 수 있습니다.</p>
+                                <p>2. "몰"은 불특정다수 회원에 대한 통지의 경우 1주일이상 "몰" 게시판에 게시함으로서 개별 통지에 갈음할 수 있습니다.
+                                    다만, 회원 본인의 거래와 관련하여 중대한 영향을 미치는 사항에 대하여는 개별통지를 합니다.</p>
+                            </div>
+                            <div id="prvc9">
+                                <h4><span>제9조 구매신청</span></h4>
+                                <p>"몰"이용자는 "몰"상에서 다음 또는 이와 유사한 방법에 의하여 구매를 신청하며, "몰"은 이용자가 구매신청을 함에 있어서 다음의 각 내용을 알기 쉽게 제공하여야 합니다.
+                                    단, 회원인 경우 제2호 내지 제4호의 적용을 제외할 수 있습니다.</p>
+                                <p>1. 재화 등의 검색 및 선택</p>
+                                <p>2. 성명, 주소, 전화번호, 전자우편주소(또는 이동전화번호) 등의 입력</p>
+                                <p>3. 약관내용, 청약철회권이 제한되는 서비스, 배송료 설치비 등의 비용부담과 관련한 내용에 대한 확인</p>
+                                <p>4. 이 약관에 동의하고 위 3.호의 사항을 확인하거나 거부하는 표시(예, 마우스 클릭)</p>
+                                <p>5. 재화 등의 구매신청 및 이에 관한 확인 또는 "몰"의 확인에 대한 동의</p>
+                                <p>6. 결제방법의 선택</p>
+                            </div>
+                            <div id="prvc10">
+                                <h4><span>제10조 계약의 성립</span></h4>
+                                <p>1."몰"은 제9조와 같은 구매신청에 대하여 다음 각호에 해당하면 승낙하지 않을 수 있습니다. 다만, 미성년자와 계약을 체결하는 경우에는 법정대리인의 동의를 얻지 못하면 미성년자 본인 또는
+                                    법정대리인이 계약을 취소할 수 있다는 내용을 고지하여야 합니다.</p>
+                                    <ol>
+                                        <li>① 신청 내용에 허위, 기재누락, 오기가 있는 경우</li>
+                                        <li>② 미성년자가 담배, 주류 등 청소년보호법에서 금지하는 재화 및 용역을 구매하는 경우</li>
+                                        <li>③ 기타 구매신청에 승낙하는 것이 "몰" 기술상 현저히 지장이 있다고 판단하는 경우</li>
+                                    </ol>
+                                <p>2. "몰"의 승낙이 제12조 제1항의 수신확인통지형태로 이용자에게 도달한 시점에 계약이 성립한 것으로 봅니다.</p>
+                                <p>3. "몰"의 승낙의 의사표시에는 이용자의 구매 신청에 대한 확인 및 판매가능 여부, 구매신청의 정정 취소 등에 관한 정보 등을 포함하여야 합니다.</p>
+                                <p>4. 이 약관에 동의하고 위 3.호의 사항을 확인하거나 거부하는 표시(예, 마우스 클릭)</p>
+                                <p>5. 재화 등의 구매신청 및 이에 관한 확인 또는 "몰"의 확인에 대한 동의</p>
+                            </div>
+                            <div id="prvc24">
+                                <h4><span>제24조 재판권 및 준거법</span></h4>
+                                <p>1."몰"과 이용자간에 발생한 전자상거래 분쟁에 관한 소송은 제소 당시의 이용자의 주소에 의하고, 주소가 없는 경우에는 거소를 관할하는 지방법원의 전속관할로 합니다.
+                                    다만, 제소 당시 이용자의 주소 또는 거소가 분명하지 않거나 외국 거주자의 경우에는 민사소송법상의 관할법원에 제기합니다.</p>
+                                <p>2. "몰"과 이용자간에 제기된 전자상거래 소송에는 한국법을 적용합니다.</p>
+                            </div>
+                            <div id="prvc">
+                                <h4><span></span></h4>
+                                <p></p>
+                                <p></p>
+                                <p></p>
+                                <p></p>
+                                <p></p>
+                            </div>
+                            
+                            <div>
+                                <p>부칙 : 본 약관은 2016년 01월 04일부터 시행하며, 종전의 약관내용은 본 약관으로 대체합니다.</p>
+                            </div>
 
+                        </div>
+                    </div> -->
 			</div>
-			<div class="cont_foot">
-				<div id="prvc_sel">
-					<form class="form_wrap">
-						<div class="form_field">
-							<div class="select_custom prvs_detail">
-								<div class="combo">
-									<div class="select">개인정보 처리방침 v1.0</div>
-									<ul class="list" style="display: none;">
-										<th:block th:if="${clauseList}" th:each="oneData, status : ${clauseList}">
-											<li th:text="${oneData.clauseTitle}" th:onclick="fnGetCaluseInfo([[${oneData.clauseSq}]]);"></li>
-										</th:block>
-									</ul>
-								</div>
-							</div>
-						</div>
-					</form>
-				</div>
-			</div>
-
 		</div>
 	</div>
 </div>
 
 <script th:inline="javascript">
 /*<![CDATA[*/
-
-	$(document).ready(function() {
-		$(document).on("click","#partners",function(event){
-			cfnSupplyComanyLayer();
-		});
-	});
-
-	var fnGetCaluseInfo = function (clauseSq) {
-		$.get('/customer/clause/info/' + clauseSq
-			, function (data) {
-			if(!gagajf.isNull(data.clauseContent)) {
-				$('.cont_body').html(data.clauseContent);
-				$("html, body").animate({scrollTop : $("#container").offset().top},100)
-			}
-		});
-	};
-
 	// 약관 내부 링크
 	$(function() {
 		$(".hook_list ul li a").on("click", function() {
@@ -88,21 +290,6 @@
 			var hookPos = hookPot.offset().top - hookHeader;
 			$("html, body").animate({ scrollTop: hookPos }, 300);
 		});
-
-		$(window).scroll(function(){
-			var scroll = $(this).scrollTop();
-			var headerH = $(".header").height();
-			if ($(window).scrollTop() > headerH){
-				$(".header").addClass("minify");
-				return false;
-			}
-			else {
-				$(".header").removeClass("minify");
-				return false;
-			}
-		});
-
-		var prvc_select = new sCombo('.select_custom.prvs_detail');
 	});
 /*]]>*/
 </script>

+ 0 - 101
src/main/webapp/WEB-INF/views/web/customer/SupplyCompanyLayerFormWeb.html

@@ -1,101 +0,0 @@
-<!DOCTYPE html>
-<html lang="ko"
-	  xmlns:th="http://www.thymeleaf.org">
-<!--
- *******************************************************************************
- * @source  : SupplyCompanyLayerFormWeb.html
- * @desc    : 공급업체 리스트 page
- *============================================================================
- * STYLE24
- * Copyright(C) 2021 TSIT, All rights reserved.
- *============================================================================
- * VER  DATE         AUTHOR      DESCRIPTION
- * ===  ===========  ==========  =============================================
- * 1.0  2021.06.09   jsshin       최초 작성
- *******************************************************************************
- -->
-<div class="modal-dialog" role="document">
-	<div class="modal-content">
-		<div class="modal-header">
-			<h5 class="modal-title" id="psptnLabel">업체 리스트</h5>
-		</div>
-		<div class="modal-body">
-			<div class="pop_cont">
-				<!-- 컨텐츠 시작 -->
-				<div class="ps ptn" >
-					<table>
-						<colgroup>
-							<col width="*">
-							<col width="30%">
-						</colgroup>
-						<thead>
-							<tr>
-								<th>업체명</th>
-								<th>대표자</th>
-							</tr>
-						</thead>
-						<tbody id="supplyCompanyList">
-						</tbody>
-					</table>
-					<div class="paging_wrap">
-						<ul class="pageNav" id="paging">
-						</ul>
-					</div>
-				</div>
-				<!-- 컨텐츠 종료 -->
-			</div>
-		</div>
-		<div class="modal-footer">
-			<a href="#close-modal" rel="modal:close" className="close-modal" class="btn btn_default">닫기</a>
-		</div>
-	</div>
-</div>
-<form id="supplyCompanyForm" name="supplyCompanyForm" th:action="@{/customer/supply/company/list}" th:method="post">
-	<input type="hidden" name="pageNo" value="1" />
-	<input type="hidden" name="pageSize" value="5" />
-</form>
-<script src="/ux/plugins/gaga/gaga.paging.js"></script>
-<script th:inline="javascript">
-/*<![CDATA[*/
-	var fnGetSupplyCompanyList = function () {
-		gagaPaging.init('supplyCompanyForm', fnSearchCallback, 'paging', 10);
-		gagaPaging.load(1);
-	}
-
-	var fnSearchCallback = function (result) {
-		$('#supplyCompanyList').html('');
-		let html = '';
-		if (!gagajf.isNull(result) && result.supplyCompanyList.length > 0) {
-			$.each(result.supplyCompanyList, function (idx, item) {
-				html += '<tr>\n';
-				html += '    <td>\n';
-				html += item.supplyCompNm;
-				html += '    </td>\n';
-				html += '    <td>\n';
-				html += item.ownerNm;
-				html += '    </td>\n';
-				html += '</tr>\n';
-			});
-		}
-		$('#supplyCompanyList').html(html);
-
-		gagaPaging.createPagination(result.paging.pageable);
-	}
-
-	$(document).ready(function() {
-		fnGetSupplyCompanyList();
-	});
-
-	//약관내부링크
-	$(function(){
-		$(".hook_list ul li a").on("click", function(){
-			var hookHeader = $(".modal-header").outerHeight() + 3000;
-			var hookHref = $(this).attr("href");
-			var hookPot = $(hookHref == "#" || hookHref == "" ? "body" : hookHref);
-			var hookPos = hookPot.offset().top - hookHeader;
-			$("html, body").animate({ scrollTop: hookPos }, 3000);
-		});
-	});
-/*]]>*/
-</script>
-</html>

+ 1 - 1
src/main/webapp/WEB-INF/views/web/display/BrandMainFormWeb.html

@@ -25,7 +25,7 @@
 <!--			<th:block th:if="${brandMainLayoutData.ContentsList != null and !brandMainLayoutData.ContentsList.empty}">-->
 				<th:block th:if="${contentsLoc=='004'}">
 					<!-- 1. 비주얼 슬라이드 -->
-					<div class="content wide main_visual brand_visual" th:if="${brandMainLayoutData.ContentsList != null and !brandMainLayoutData.ContentsList.empty}">
+					<div class="content wide main_visual brand_visual" th:if="${brandMainLayoutData.ContentsList != null}">
 						<div class="cont_head dpnone">
 							<p class="t_c">비주얼 슬라이드</p>
 						</div>

+ 44 - 44
src/main/webapp/WEB-INF/views/web/display/MallMainFormWeb.html

@@ -107,7 +107,7 @@
 
 				<!-- 3. 트렌디한 신상아이템 -->
 				<th:block th:if="${contentsLoc=='003'}">
-					<div class="content main_trendy" th:if="${mainLayoutData.goodsList != null and !mainLayoutData.goodsList.empty}">
+					<div class="content main_trendy" th:if="${mainLayoutData.goodsList != null}">
 						<div class="cont_head">
 							<p class="displayH t_c" th:text="${mainLayoutData.contentsTitle}"></p>
 						</div>
@@ -147,12 +147,14 @@
 
 				<!-- 4. 잇 아이템 -->
 				<th:block th:if="${contentsLoc=='004'}">
-					<div class="content main_it" th:if="${mainLayoutData.BestItemList != null and !mainLayoutData.BestItemList.empty}">
+					<div class="content main_it" th:if="${mainLayoutData.BestItemList != null}">
 						<div class="cont_head">
 							<p class="displayH" id="id004">
 								<input type="hidden" name="title" th:value="${mainLayoutData.contentsTitle}">
 							</p>
-							<a href="javascript:void(0);" onclick="cfnGoToPage(_PAGE_BEST_MAIN);"><span>전체보기</span></a>
+							<th:block th:each="ContentsData, ContentsStat : ${mainLayoutData.ContentsList}">
+								<a href="javascript:void(0);" th:onclick="cfnGoToPage([[${ContentsData.strVar1}]]);"><span>전체보기</span></a>
+							</th:block>
 						</div>
 						<div class="cont_body">
 							<div class="it_nav">
@@ -203,7 +205,7 @@
 
 				<!-- 5. 프로모션배너 -->
 				<th:block th:if="${contentsLoc=='005'}">
-					<div class="content main_2stage" th:if="${mainLayoutData.ContentsList != null and !mainLayoutData.ContentsList.empty}">
+					<div class="content main_2stage" th:if="${mainLayoutData.ContentsList != null}">
 						<div class="cont_head dpnone">
 							<p class="t_c">프로모션배너</p>
 						</div>
@@ -238,7 +240,7 @@
 				<!-- 6. 타임딜 : 슬라이드 -->
 				<th:block th:if="${contentsLoc=='006'}">
 					<th:block th:each="socialData, socialStat : ${mainLayoutData.socialInfo}">
-					<div class="content wide main_deal" th:if="${socialData.socialGoodsList != null and !socialData.socialGoodsList.empty}">
+					<div class="content wide main_deal" th:if="${socialData.socialGoodsList != null}">
 						<div class="cont_head">
 							<p class="displayH" id="id006">
 								<input type="hidden" name="title" th:value="${mainLayoutData.contentsTitle}">
@@ -269,56 +271,54 @@
 							<script>
 								/* 핫딜 countDown */
 								// var target_date = new Date().getTime() + (1000*3600*8); // set the countdown date
-								if(!gagajf.isNull($("#socailForm").find("input[name=targetTime]").val())){
-									var target_date = $("#socailForm").find("input[name=targetTime]").val().toDate("YYYYMMDD");
-									var days, hours, minutes, seconds; // variables for time units
-
-									var countdown = document.getElementById("tiles"); // get tag element
-
-									getCountdown();
+								var target_date = $("#socailForm").find("input[name=targetTime]").val().toDate("YYYYMMDD");
+								var days, hours, minutes, seconds; // variables for time units
 
-									var timerStop = setInterval(function () { getCountdown(); }, 1000);
+								var countdown = document.getElementById("tiles"); // get tag element
 
-									var fixDate = new Date().getTime();
-									var fixTarget = (target_date - fixDate) / 1000;
-									var width = (86400-fixTarget)*100/86400;
+								getCountdown();
 
-									function getCountdown(){
+								var timerStop = setInterval(function () { getCountdown(); }, 1000);
 
-										// find the amount of "seconds" between now and target
-										var current_date = new Date().getTime();
-										var seconds_left = (target_date - current_date) / 1000;
+								var fixDate = new Date().getTime();
+								var fixTarget = (target_date - fixDate) / 1000;
+								var width = (86400-fixTarget)*100/86400;
 
-										seconds_left = seconds_left % 86400;
+								function getCountdown(){
 
-										hours = pad( parseInt(seconds_left / 3600) );
-										seconds_left = seconds_left % 3600;
+									// find the amount of "seconds" between now and target
+									var current_date = new Date().getTime();
+									var seconds_left = (target_date - current_date) / 1000;
 
-										minutes = pad( parseInt(seconds_left / 60) );
-										seconds = pad( parseInt( seconds_left % 60 ) );
+									seconds_left = seconds_left % 86400;
 
-										// format countdown string + set tag value
-										countdown.innerHTML = "<span>" + hours + "</span><span>" + minutes + "</span><span>" + seconds + "</span>";
+									hours = pad( parseInt(seconds_left / 3600) );
+									seconds_left = seconds_left % 3600;
 
-										var elem = document.getElementById("barCurrent");
-										function progressMove(){
-											width += (100-width)/fixTarget;
-											elem.style.width = width + "%";
-										}
-										progressMove();
+									minutes = pad( parseInt(seconds_left / 60) );
+									seconds = pad( parseInt( seconds_left % 60 ) );
 
-										if(seconds_left < 1){
-											clearInterval(timerStop);
-											elem.style.width = "100%";
-										}
+									// format countdown string + set tag value
+									countdown.innerHTML = "<span>" + hours + "</span><span>" + minutes + "</span><span>" + seconds + "</span>";
 
+									var elem = document.getElementById("barCurrent");
+									function progressMove(){
+										width += (100-width)/fixTarget;
+										elem.style.width = width + "%";
 									}
+									progressMove();
 
-									function pad(n) {
-										return (n < 10 ? '0' : '') + n;
+									if(seconds_left < 1){
+										clearInterval(timerStop);
+										elem.style.width = "100%";
 									}
-									/* countDown */
+
+								}
+
+								function pad(n) {
+									return (n < 10 ? '0' : '') + n;
 								}
+								/* countDown */
 
 							</script>
 						</div>
@@ -362,7 +362,7 @@
 
 				<!-- 7. 브랜드픽 -->
 				<th:block th:if="${contentsLoc=='007'}">
-					<div class="content main_pick" th:if="${mainLayoutData.ContentsList != null and !mainLayoutData.ContentsList.empty}">
+					<div class="content main_pick">
 						<div class="cont_head">
 							<p class="displayH t_c" th:text="${mainLayoutData.contentsTitle}">브랜드 PICK1</p>
 						</div>
@@ -441,7 +441,7 @@
 				<!-- 8. 가로 긴 배너 슬라이드 -->
 				<!-- bnn_1stage -->
 				<th:block th:if="${contentsLoc=='008'}">
-					<div class="content wide main_1stage" th:if="${mainLayoutData.ContentsList != null and !mainLayoutData.ContentsList.empty}">
+					<div class="content wide main_1stage">
 						<div class="cont_head dpnone">
 							<p class="t_c">배너 슬라이드</p>
 						</div>
@@ -479,7 +479,7 @@
 
 				<!-- 9. MD추천 스타일 -->
 				<th:block th:if="${contentsLoc=='009'}">
-					<div class="content main_recomm" th:if="${mainLayoutData.mdPickList != null and !mainLayoutData.mdPickList.empty}">
+					<div class="content main_recomm" >
 						<div class="cont_head">
 							<p class="displayH t_c" th:text="${mainLayoutData.contentsTitle}"></p>
 						</div>
@@ -541,7 +541,7 @@
 
 				<!-- 11. TV 슬라이드 -->
 				<th:block th:if="${contentsLoc=='011'}">
-					<div class="content wide main_tv" th:if="${mainLayoutData.ContentsList != null and !mainLayoutData.ContentsList.empty}">
+					<div class="content wide main_tv" th:if="${mainLayoutData.ContentsList != null}">
 						<div class="cont_head">
 							<p class="displayH t_c" th:text="${mainLayoutData.contentsTitle}"></p>
 						</div>

+ 3 - 5
src/main/webapp/ux/style24_link.js

@@ -1014,18 +1014,16 @@ function cfnPrivacyPolicyLayer(mallGb) {
 	cfnOpenLayer(_PAGE_PRIVACY_POLICY_LAYER, 'policiesPrivacyPop', params);
 }
 
-function cfnSupplyComanyLayer(mallGb) {
+function cfnSupplyComanyLayer() {
 	let str;
 	if (_frontGb === 'P') {
-		str ='<div class="modal fade pd_pop psptn_pop" id="supplyCompanyPop" tabIndex="-1" role="dialog" aria-labelledby="psptnLabel" aria-hidden="true"></div>'
+
 	} else {
 		str = '<div class="modal pop_full fade" id="supplyCompanyPop" role="dialog" aria-labelledby="partnersPopFullLabel" aria-hidden="true"></div>';
 	}
-	if($('#supplyCompanyPop').length == 0) {
+	if($('#partnersPop').length == 0) {
 		$('body').append(str);
 	}
-	let params = {}
-	params.mallGb = mallGb;
 	cfnOpenLayer(_PAGE_SUPPLY_COMPANY_LAYER,'supplyCompanyPop');
 }