|
@@ -197,7 +197,7 @@ public class TsfDisplayController extends TsfBaseController {
|
|
|
cate4Srch.setMaxRow(20);
|
|
cate4Srch.setMaxRow(20);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- Collection<Goods> goodsList = goodsService.getContentsCategoryGoodsList(cate4Srch);
|
|
|
|
|
|
|
+ Collection<Goods> goodsList = goodsService.getContentsCategoryGoodsListMain(cate4Srch);
|
|
|
mainLayout.setGoodsList(goodsList);
|
|
mainLayout.setGoodsList(goodsList);
|
|
|
|
|
|
|
|
if ("A".equals(mainLayout.getContentsYn())) {
|
|
if ("A".equals(mainLayout.getContentsYn())) {
|
|
@@ -207,7 +207,7 @@ public class TsfDisplayController extends TsfBaseController {
|
|
|
|
|
|
|
|
if (contentsLoc.equals("SMM004")) {
|
|
if (contentsLoc.equals("SMM004")) {
|
|
|
contents.setPageGb("MALL");
|
|
contents.setPageGb("MALL");
|
|
|
- mainLayout.setBestItemList(displayService.getBestItemForGoods(contents));
|
|
|
|
|
|
|
+ mainLayout.setBestItemList(displayService.getBestItemForGoodsMain(contents));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
if (contentsLoc.equals("SMM006")) {
|
|
if (contentsLoc.equals("SMM006")) {
|
|
@@ -219,19 +219,19 @@ public class TsfDisplayController extends TsfBaseController {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
if (contentsLoc.equals("SMM007")) {
|
|
if (contentsLoc.equals("SMM007")) {
|
|
|
- mainLayout.setBrandPickList(displayService.getContentsForGoods(contents));
|
|
|
|
|
|
|
+ mainLayout.setBrandPickList(displayService.getContentsForGoodsMain(contents));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
if (contentsLoc.equals("SMM009") || contentsLoc.equals("SMM012")) {
|
|
if (contentsLoc.equals("SMM009") || contentsLoc.equals("SMM012")) {
|
|
|
if (contentsLoc.equals("SMM009")) {
|
|
if (contentsLoc.equals("SMM009")) {
|
|
|
contents.setMaxRow(5);
|
|
contents.setMaxRow(5);
|
|
|
}
|
|
}
|
|
|
- mainLayout.setMdPickList(displayService.getContentsForGoods(contents));
|
|
|
|
|
|
|
+ mainLayout.setMdPickList(displayService.getContentsForGoodsMain(contents));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
if (contentsLoc.equals("SMM003") || contentsLoc.equals("SBM007")) {
|
|
if (contentsLoc.equals("SMM003") || contentsLoc.equals("SBM007")) {
|
|
|
if (Integer.parseInt(mainLayout.getContentsCnt()) > 0) {
|
|
if (Integer.parseInt(mainLayout.getContentsCnt()) > 0) {
|
|
|
- mainLayout.setNewItemList(displayService.getContentsForGoods(contents));
|
|
|
|
|
|
|
+ mainLayout.setNewItemList(displayService.getContentsForGoodsMain(contents));
|
|
|
} else {
|
|
} else {
|
|
|
mainLayout.setNewItemList(displayService.getMainNewGoodsList(contents));
|
|
mainLayout.setNewItemList(displayService.getMainNewGoodsList(contents));
|
|
|
}
|
|
}
|
|
@@ -335,7 +335,7 @@ public class TsfDisplayController extends TsfBaseController {
|
|
|
cate4Srch.setMaxRow(20);
|
|
cate4Srch.setMaxRow(20);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- Collection<Goods> goodsList = goodsService.getContentsCategoryGoodsList_old(cate4Srch);
|
|
|
|
|
|
|
+ Collection<Goods> goodsList = goodsService.getContentsCategoryGoodsList(cate4Srch);
|
|
|
mainLayout.setGoodsList(goodsList);
|
|
mainLayout.setGoodsList(goodsList);
|
|
|
|
|
|
|
|
if ("A".equals(mainLayout.getContentsYn())) {
|
|
if ("A".equals(mainLayout.getContentsYn())) {
|
|
@@ -345,7 +345,7 @@ public class TsfDisplayController extends TsfBaseController {
|
|
|
|
|
|
|
|
if (contentsLoc.equals("SMM004")) {
|
|
if (contentsLoc.equals("SMM004")) {
|
|
|
contents.setPageGb("MALL");
|
|
contents.setPageGb("MALL");
|
|
|
- mainLayout.setBestItemList(displayService.getBestItemForGoods_old(contents));
|
|
|
|
|
|
|
+ mainLayout.setBestItemList(displayService.getBestItemForGoods(contents));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
if (contentsLoc.equals("SMM006")) {
|
|
if (contentsLoc.equals("SMM006")) {
|
|
@@ -357,19 +357,19 @@ public class TsfDisplayController extends TsfBaseController {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
if (contentsLoc.equals("SMM007")) {
|
|
if (contentsLoc.equals("SMM007")) {
|
|
|
- mainLayout.setBrandPickList(displayService.getContentsForGoods_old(contents));
|
|
|
|
|
|
|
+ mainLayout.setBrandPickList(displayService.getContentsForGoods(contents));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
if (contentsLoc.equals("SMM009") || contentsLoc.equals("SMM012")) {
|
|
if (contentsLoc.equals("SMM009") || contentsLoc.equals("SMM012")) {
|
|
|
if (contentsLoc.equals("SMM009")) {
|
|
if (contentsLoc.equals("SMM009")) {
|
|
|
contents.setMaxRow(5);
|
|
contents.setMaxRow(5);
|
|
|
}
|
|
}
|
|
|
- mainLayout.setMdPickList(displayService.getContentsForGoods_old(contents));
|
|
|
|
|
|
|
+ mainLayout.setMdPickList(displayService.getContentsForGoods(contents));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
if (contentsLoc.equals("SMM003") || contentsLoc.equals("SBM007")) {
|
|
if (contentsLoc.equals("SMM003") || contentsLoc.equals("SBM007")) {
|
|
|
if (Integer.parseInt(mainLayout.getContentsCnt()) > 0) {
|
|
if (Integer.parseInt(mainLayout.getContentsCnt()) > 0) {
|
|
|
- mainLayout.setNewItemList(displayService.getContentsForGoods_old(contents));
|
|
|
|
|
|
|
+ mainLayout.setNewItemList(displayService.getContentsForGoods(contents));
|
|
|
} else {
|
|
} else {
|
|
|
mainLayout.setNewItemList(displayService.getMainNewGoodsList(contents));
|
|
mainLayout.setNewItemList(displayService.getMainNewGoodsList(contents));
|
|
|
}
|
|
}
|