|
|
@@ -1054,7 +1054,7 @@ public class TsfGoodsService {
|
|
|
goodsList.addAll(goodsDao.getContentsCategoryNewGoodsList(cate));
|
|
|
}
|
|
|
}
|
|
|
- } else if (cate.getContentsLoc().equals("SCM003") || cate.getContentsLoc().equals("SBM008") || cate.getContentsLoc().equals("SBM009")) { // 베스트상품인 경우
|
|
|
+ } else if (cate.getContentsLoc().equals("SCM003") || cate.getContentsLoc().equals("SBM008") || cate.getContentsLoc().equals("SBM009") || cate.getContentsLoc().equals("SOM003") || cate.getContentsLoc().equals("SOM002")) { // 베스트상품인 경우
|
|
|
// TODO: 추천솔루션
|
|
|
int dispCnt = cate.getMaxRow();
|
|
|
|
|
|
@@ -1070,9 +1070,13 @@ public class TsfGoodsService {
|
|
|
itemList = eigeneaiApi.getCategoryWeeklySellBestGoodsList(cnt, cate.getCate1No());
|
|
|
}else if(cate.getContentsLoc().equals("SBM008")){
|
|
|
itemList = eigeneaiApi.getBrandWeeklySellBestGoodsList(cnt, cate.getBrandGroupNo());
|
|
|
- }else{
|
|
|
- // SBM009 브랜드메인 MD PICK
|
|
|
+ }else if(cate.getContentsLoc().equals("SBM009")){
|
|
|
itemList = eigeneaiApi.getBrandMonthlyClickBestGoodsList(cnt, cate.getBrandGroupNo());
|
|
|
+ }else if(cate.getContentsLoc().equals("SOM002")){
|
|
|
+ itemList = eigeneaiApi.getOutletMonthlyClickBestGoodsList(cnt);
|
|
|
+ }else{
|
|
|
+ // SOM003 아울렛 베스트
|
|
|
+ itemList = eigeneaiApi.getOutletWeeklySellBestGoodsList(cnt);
|
|
|
}
|
|
|
|
|
|
for(Eigeneai.Result tempData: itemList){
|
|
|
@@ -1088,19 +1092,6 @@ public class TsfGoodsService {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- for (Goods temp : goodsList) {
|
|
|
- if (temp.getSizes() != null) {
|
|
|
- temp.setSizeArr(temp.getSizes().split(","));
|
|
|
- }
|
|
|
- if (temp.getColorChips() != null) {
|
|
|
- temp.setColorArr(temp.getColorChips().split(","));
|
|
|
- }
|
|
|
- if (temp.getIcon() != null) {
|
|
|
- temp.setBenefitArr(temp.getIcon().split(","));
|
|
|
- }
|
|
|
- }
|
|
|
- } else if (cate.getContentsLoc().equals("SOM003") || cate.getContentsLoc().equals("SOM002")) {
|
|
|
- goodsList = goodsDao.getContentsCategoryGoodsList(cate);
|
|
|
for (Goods temp : goodsList) {
|
|
|
if (temp.getSizes() != null) {
|
|
|
temp.setSizeArr(temp.getSizes().split(","));
|