|
|
@@ -603,12 +603,17 @@ public class AliPayCommonServiceImpl implements AliPayCommonService {
|
|
|
//排除推广链接
|
|
|
if (StrUtil.isEmpty(appId)) {
|
|
|
Long goodsId = orderDon.getGoodsId();
|
|
|
- //是否是AI订单
|
|
|
+ //是否是流媒体订单
|
|
|
Integer selectCount = goodsDonCategoryRelateMapper.selectCount(Wrappers.lambdaQuery(GoodsDonCategoryRelate.class).eq(GoodsDonCategoryRelate::getGoodsId, goodsId).eq(GoodsDonCategoryRelate::getCategory, 2));
|
|
|
List<Integer> payCategorys = Lists.newArrayList(0);
|
|
|
if (selectCount > 0) {
|
|
|
payCategorys.add(2);
|
|
|
}
|
|
|
+ //是否是AI订单
|
|
|
+ Integer selectAICount = goodsDonCategoryRelateMapper.selectCount(Wrappers.lambdaQuery(GoodsDonCategoryRelate.class).eq(GoodsDonCategoryRelate::getGoodsId, goodsId).eq(GoodsDonCategoryRelate::getCategory, 1));
|
|
|
+ if (selectAICount > 0) {
|
|
|
+ payCategorys.add(1);
|
|
|
+ }
|
|
|
//获取每日订单限制 支付宝商户
|
|
|
ZfbShopOrderDayLimit dayLimit = getZfbShopOrdersDayLimit(orderDon.getGoodsId(), scope, payCategorys);
|
|
|
if (dayLimit == null) {
|