摘要: 在调用数据库mapper层之前,增加一个缓存层。 先让实体类实现2个key的返回接口 public interface EntityInterface { Integer getKeyId(); String getKeyName(); } 原调用mapper的改为调用这个类 @Service("C 阅读全文
posted @ 2021-01-22 18:22 然然1907 阅读(115) 评论(0) 推荐(0) 编辑