This commit is contained in:
wangjinlei
2023-11-27 14:47:05 +08:00
parent 2b1cd1ecd6
commit 7fc8f9894d
3 changed files with 3 additions and 3 deletions

View File

@@ -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;
// 遍历商品总价计算

View File

@@ -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);

View File

@@ -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);