|
|
@@ -240,8 +240,8 @@ public class CmsGroupServiceImpl extends ServiceImpl<GroupsMapper,GroupsTrips> i
|
|
|
}
|
|
|
groupsTrips.setStatus(GroupsTrips.Status.validity);
|
|
|
GoodsDonSku sku = skuMapper.selectById(groupsTrips.getSkuId());
|
|
|
- //下架上过车的POE 账号
|
|
|
- if (sku.getGoodsId().equals(35l)) {
|
|
|
+ //下架上过车的POE,PS AI账号
|
|
|
+ if (Constant.DOWN_GOODS_PAY.contains(sku.getGoodsId())) {
|
|
|
Number number = beanSearcher.searchCount(GroupsRelation.class, MapUtils.builder()
|
|
|
.field(GroupsRelation::getGroupsId, groupsTrips.getId())
|
|
|
.field(GroupsRelation::getUserId, 0).op(Operator.NotEqual)
|