Skip to content

Commit

Permalink
增加注释
Browse files Browse the repository at this point in the history
  • Loading branch information
jiayu.qiu committed Mar 13, 2015
1 parent c9ffcf4 commit 1f04745
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ SpringEL表达式使用起来确实非常方便,如果需要,@Cache中的exp
... ...
}

@CacheDelete({"'goods_comment_'+#args[0].goodsId+'*'"})
@CacheDelete({"'goods_comment_'+#args[0].goodsId+'*'"}) // 删除当前所属商品的所有评论,不删除其它商品评论
public void addComment(Comment comment) {
... ...// 省略添加评论代码
}
Expand Down

0 comments on commit 1f04745

Please sign in to comment.