|
|
@@ -8,6 +8,7 @@ import java.util.HashMap;
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
|
|
|
import com.style24.core.biz.service.TscLookbookService;
|
|
|
+import com.style24.front.biz.service.TsfPlanningService;
|
|
|
import com.style24.persistence.domain.Lookbook;
|
|
|
import com.style24.persistence.domain.MainLayout;
|
|
|
import com.style24.persistence.domain.Contents;
|
|
|
@@ -16,6 +17,7 @@ import com.style24.persistence.domain.Cate4Srch;
|
|
|
import com.style24.persistence.domain.GoodsSearch;
|
|
|
import com.style24.persistence.domain.BrandGroup;
|
|
|
import com.style24.persistence.domain.Goods;
|
|
|
+import com.style24.persistence.domain.Plan;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.mobile.device.Device;
|
|
|
@@ -57,9 +59,13 @@ public class TsfDisplayController extends TsfBaseController {
|
|
|
|
|
|
@Autowired
|
|
|
private TsfGoodsService goodsService;
|
|
|
+
|
|
|
@Autowired
|
|
|
private TscLookbookService coreLookbookService;
|
|
|
|
|
|
+ @Autowired
|
|
|
+ private TsfPlanningService planningService;
|
|
|
+
|
|
|
/**
|
|
|
* 몰 메인
|
|
|
* @return
|
|
|
@@ -250,6 +256,13 @@ public class TsfDisplayController extends TsfBaseController {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ // 기획전 컨텐츠일때
|
|
|
+ if("SBM011".equals(brandMain.getContentsLoc())){
|
|
|
+ Plan plan = new Plan();
|
|
|
+ plan.setBrandGroupNo(paramMap.get("brandGroupNo"));
|
|
|
+ planningService.getPlanningListForGoods(plan);
|
|
|
+ }
|
|
|
+
|
|
|
// 룩북일때
|
|
|
if("SBM010".equals(brandMain.getContentsLoc()) || "SBMM010".equals(brandMain.getContentsLoc())){
|
|
|
Lookbook lookbook = new Lookbook();
|