余额开关根据模块影响

This commit is contained in:
张松
2025-10-24 09:54:57 +08:00
parent bc14da11f5
commit d1acc9da71
5 changed files with 9 additions and 7 deletions

View File

@@ -101,7 +101,7 @@ public class MkConsumeCashbackServiceImpl extends ServiceImpl<MkConsumeCashbackM
}
}
shopConfigService.editStatusByShopIdList(shopId, consumeDiscountDTO.getIsEnable(), ShopConfig::getIsAccountPay,
shopConfigService.editStatusByShopIdList(shopId, consumeDiscountDTO.getIsEnable(), true, ShopConfig::getIsAccountPay,
consumeDiscountDTO.getUseType(), consumeDiscountDTO.getShopIdList());
if (consumeDiscountDTO.getCashbackStepList() != null && !consumeDiscountDTO.getCashbackStepList().isEmpty()) {

View File

@@ -139,7 +139,7 @@ public class MkShopRechargeServiceImpl extends ServiceImpl<MkShopRechargeMapper,
shopRechargeDetailService.save(mkShopRechargeDetail);
});
}
shopConfigService.editStatusByShopIdList(shopId, shopRechargeDTO.getIsEnable(), ShopConfig::getIsAccountPay,
shopConfigService.editStatusByShopIdList(shopId, shopRechargeDTO.getIsEnable(), false, ShopConfig::getIsAccountPay,
shopRechargeDTO.getUseType(), shopRechargeDTO.getShopIdList());