Merge remote-tracking branch 'origin/test' into test
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user