only-仅本店

This commit is contained in:
2025-09-11 17:01:09 +08:00
parent d7b41d61e3
commit 855ee133fe
3 changed files with 8 additions and 2 deletions

View File

@@ -1303,6 +1303,12 @@ public class ShopSyncServiceImpl implements ShopSyncService {
return;
}
ShopCoupon couponSource = couponService.getById(couponId);
if (couponSource == null) {
return;
}
if ("only".equals(couponSource.getUseShopType())) {
return;
}
List<Long> ids = new ArrayList<>();
if ("all".equals(couponSource.getUseShopType())) {
QueryWrapper queryWrapper = new QueryWrapper();