删除模版缓存注解问题处理

This commit is contained in:
Chopper 2022-02-16 17:54:40 +08:00
parent 9fe633d228
commit 0b5f830d7c

View File

@ -70,7 +70,7 @@ public interface FreightTemplateService extends IService<FreightTemplate> {
* @param id 运费模板ID * @param id 运费模板ID
* @return 操作状态 * @return 操作状态
*/ */
@CacheEvict(key = "#freightTemplateVO.id") @CacheEvict(key = "#id")
boolean removeFreightTemplate(String id); boolean removeFreightTemplate(String id);
} }