Merge remote-tracking branch 'origin/test' into test

This commit is contained in:
2025-12-18 17:58:42 +08:00
2 changed files with 5 additions and 1 deletions

View File

@@ -63,7 +63,7 @@ public class PpPackageServiceImpl extends ServiceImpl<PpPackageMapper, PpPackage
Long shopId = StpKit.USER.getShopId();
ShopConfig shopConfig = new ShopConfig();
shopConfig.setIsPackagePromotion(status);
boolean update = shopConfigService.update(shopConfig, query().eq(ShopConfig::getId, shopId));
boolean update = shopConfigService.update(shopConfig, QueryWrapper.create().eq(ShopConfig::getId, shopId));
if (update && status == 0) {
// 下架所有进行中的套餐订单
UpdateChain.of(PpPackage.class)