增加会员专区 积分专区 积分兑换内容 增加三个专区的字段
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
package com.buy507.mall.service.impl;
|
||||
|
||||
import com.github.pagehelper.PageHelper;
|
||||
import com.buy507.mall.component.RedisLock;
|
||||
import com.buy507.mall.dao.*;
|
||||
import com.buy507.mall.dto.PmsProductParam;
|
||||
@@ -9,6 +8,7 @@ import com.buy507.mall.dto.PmsProductResult;
|
||||
import com.buy507.mall.mapper.*;
|
||||
import com.buy507.mall.model.*;
|
||||
import com.buy507.mall.service.PmsProductService;
|
||||
import com.github.pagehelper.PageHelper;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
@@ -23,6 +23,9 @@ public class SmsHomeNewProductServiceImpl implements SmsHomeNewProductService {
|
||||
for (SmsHomeNewProduct SmsHomeNewProduct : homeNewProductList) {
|
||||
SmsHomeNewProduct.setRecommendStatus(1);
|
||||
SmsHomeNewProduct.setSort(0);
|
||||
SmsHomeNewProduct.setVipStatus(1);
|
||||
SmsHomeNewProduct.setPointsAreaStatus(1);
|
||||
SmsHomeNewProduct.setPointsExchangeStatus(1);
|
||||
homeNewProductMapper.insert(SmsHomeNewProduct);
|
||||
}
|
||||
return homeNewProductList.size();
|
||||
|
||||
Reference in New Issue
Block a user