Repository中自己写修改、删除语句是需要添加的注解

1、修改时

2、删除时

在实现层中也需要添加注解

原文地址:https://www.cnblogs.com/dhc1995/p/14989471.html