开通手膜脚膜权限
This commit is contained in:
@@ -301,7 +301,8 @@ public class AliPayServiceImpl implements AliPayService {
|
|||||||
|
|
||||||
List<Integer> collect = buyOrderProductDao.selectList(new LambdaQueryWrapper<BuyOrderProduct>().eq(BuyOrderProduct::getOrderId, order.getOrderId())).stream().map(BuyOrderProduct::getProductId).collect(Collectors.toList());
|
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)||collect.contains(131)||collect.contains(136)||collect.contains(137)){
|
if(collect.contains(128)||collect.contains(129)||collect.contains(130)||collect.contains(131)
|
||||||
|
||collect.contains(136)||collect.contains(137)||collect.contains(139)||collect.contains(1612)){
|
||||||
MyUserEntity userInfo = userService.getById(order.getUserId());
|
MyUserEntity userInfo = userService.getById(order.getUserId());
|
||||||
userInfo.setPointPower(1);
|
userInfo.setPointPower(1);
|
||||||
userService.updateById(userInfo);
|
userService.updateById(userInfo);
|
||||||
|
|||||||
@@ -254,7 +254,8 @@ public class WxpayServiceImpl extends ServiceImpl<PayWechatOrderDao, PayWechatOr
|
|||||||
couponService.insertCouponHistoryByProductId(order);
|
couponService.insertCouponHistoryByProductId(order);
|
||||||
List<Integer> collect = buyOrderProductDao.selectList(new LambdaQueryWrapper<BuyOrderProduct>().eq(BuyOrderProduct::getOrderId, order.getOrderId())).stream().map(BuyOrderProduct::getProductId).collect(Collectors.toList());
|
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)||collect.contains(131)||collect.contains(136)||collect.contains(137)){
|
if(collect.contains(128)||collect.contains(129)||collect.contains(130)||collect.contains(131)
|
||||||
|
||collect.contains(136)||collect.contains(137)||collect.contains(139)||collect.contains(1612)){
|
||||||
MyUserEntity userInfo = userService.getById(order.getUserId());
|
MyUserEntity userInfo = userService.getById(order.getUserId());
|
||||||
userInfo.setPointPower(1);
|
userInfo.setPointPower(1);
|
||||||
userService.updateById(userInfo);
|
userService.updateById(userInfo);
|
||||||
|
|||||||
Reference in New Issue
Block a user