商户信息接口bug修复

This commit is contained in:
张松
2025-03-12 11:16:45 +08:00
parent d80a6b747e
commit 8837ac5f58
2 changed files with 1 additions and 2 deletions

View File

@@ -31,7 +31,7 @@ public class ShopMerchantServiceImpl extends ServiceImpl<ShopMerchantMapper, Sho
return one == null ? new ShopMerchant() : one;
}
@CacheEvict(key = "#shopMerchantEditDTO.id")
@CacheEvict(key = "#shopMerchantEditDTO.shopId")
@Override
public Boolean edit(ShopMerchantEditDTO shopMerchantEditDTO) {
ShopMerchant shopMerchant = queryChain().eq(ShopMerchant::getShopId, shopMerchantEditDTO.getShopId()).one();