|
@ -272,7 +272,7 @@ public class CustomerFootBarServiceImpl extends BaseServiceImpl<CustomerFootBarD |
|
|
public void deleteFootBar(String id) { |
|
|
public void deleteFootBar(String id) { |
|
|
CustomerFootBarEntity defaultFootbar = baseDao.selectById(id); |
|
|
CustomerFootBarEntity defaultFootbar = baseDao.selectById(id); |
|
|
// 注释07.28
|
|
|
// 注释07.28
|
|
|
// baseDao.physicsDeleteByAppTypeAndBarKey(defaultFootbar.getAppType(), defaultFootbar.getBarKey());
|
|
|
baseDao.physicsDeleteByAppTypeAndBarKey(defaultFootbar.getAppType(), defaultFootbar.getBarKey(),id); |
|
|
|
|
|
|
|
|
// 删除缓存中的footbar。若缓存删除失败,则事务回滚,db中的不应该成功
|
|
|
// 删除缓存中的footbar。若缓存删除失败,则事务回滚,db中的不应该成功
|
|
|
redisUtils.delete(RedisKeys.getCustomerFootbarKey(defaultFootbar.getCustomerId(), defaultFootbar.getAppType())); |
|
|
redisUtils.delete(RedisKeys.getCustomerFootbarKey(defaultFootbar.getCustomerId(), defaultFootbar.getAppType())); |
|
|