...
|
...
|
@@ -55,9 +55,9 @@ public class SpecialDealLogicService { |
|
|
specialSearchField.append("全球购,quanqiugou,");
|
|
|
}
|
|
|
|
|
|
if (productIBO.getBundleType() != null){
|
|
|
if (productIBO.getBundleType() != null) {
|
|
|
// 处理折扣类型 0:正常商品 1:套餐 2:量贩 3:搭配
|
|
|
switch (productIBO.getBundleType()){
|
|
|
switch (productIBO.getBundleType()) {
|
|
|
case 1:
|
|
|
specialSearchField.append("套餐,taocan,");
|
|
|
break;
|
...
|
...
|
@@ -102,6 +102,9 @@ public class SpecialDealLogicService { |
|
|
// 4、处理物理分类对应的销售分类
|
|
|
List<Integer> physicalChannels = salesCategoryLogicService.getPhysicalChannelsBySmallSortId(productIBO.getSmallSortId());
|
|
|
productIBO.setPhysicalChannels(StringUtils.join(physicalChannels, ","));
|
|
|
if ("Y".equals(productIBO.getIsGlobal())) {
|
|
|
productIBO.setPhysicalChannels("1,2,3,4");
|
|
|
}
|
|
|
|
|
|
// 5、处理限购,防止数据库未设置
|
|
|
if (StringUtils.isBlank(productIBO.getIsLimitbuy())) {
|
...
|
...
|
|