log
This commit is contained in:
@@ -263,7 +263,7 @@ public class BuyOrderController {
|
||||
// 订单总金额
|
||||
BigDecimal totalPrice = new BigDecimal(0);
|
||||
//是否存在手摸或脚模
|
||||
List<Integer> sjc =Arrays.asList(128,129,130);
|
||||
List<Integer> sjc =Arrays.asList(128,129,130,131);
|
||||
boolean sj_check = false;
|
||||
|
||||
// 遍历商品总价计算
|
||||
|
||||
@@ -216,7 +216,7 @@ public class AliPayServiceImpl implements AliPayService {
|
||||
}
|
||||
|
||||
List<Integer> collect = buyOrderProductDao.selectList(new LambdaQueryWrapper<BuyOrderProduct>().eq(BuyOrderProduct::getOrderId, orderEntity.getOrderId())).stream().map(BuyOrderProduct::getProductId).collect(Collectors.toList());
|
||||
if(collect.contains(128)||collect.contains(129)||collect.contains(130)){
|
||||
if(collect.contains(128)||collect.contains(129)||collect.contains(130)||collect.contains(131)){
|
||||
MyUserEntity userInfo = userService.getById(orderEntity.getUserId());
|
||||
userInfo.setPointPower(1);
|
||||
userService.updateById(userInfo);
|
||||
|
||||
@@ -152,7 +152,7 @@ public class WeChatPayController {
|
||||
userEbookBuyService.saveBatch(userEbookBuyEntities);
|
||||
//手摸脚模购买后会开启用户的脉穴的功能
|
||||
List<Integer> collect = buyOrderProductDao.selectList(new LambdaQueryWrapper<BuyOrderProduct>().eq(BuyOrderProduct::getOrderId, order.getOrderId())).stream().map(BuyOrderProduct::getProductId).collect(Collectors.toList());
|
||||
if(collect.contains(128)||collect.contains(129)||collect.contains(130)){
|
||||
if(collect.contains(128)||collect.contains(129)||collect.contains(130)||collect.contains(131)){
|
||||
MyUserEntity userInfo = userService.getById(order.getUserId());
|
||||
userInfo.setPointPower(1);
|
||||
userService.updateById(userInfo);
|
||||
|
||||
Reference in New Issue
Block a user