From 02a3eb5445d4224099ff79a1dfd164c5e4c2e653 Mon Sep 17 00:00:00 2001 From: Jinbao Cheng Date: Fri, 29 Nov 2019 18:09:15 +0800 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6823015..f551c4d 100644 --- a/README.md +++ b/README.md @@ -498,7 +498,7 @@ public interface MyMapper { import org.apache.ibatis.jdbc.SQL; import tech.wetech.mybatis.builder.EntityMapping; public class MyEntitySqlBuilder { - public String deleteByPrimaryKey(EntityMapping entityMapping) { + public String selectById(EntityMapping entityMapping) { return new SQL() {{ SELECT("*"); FROM(entityMapping.getTableName()); @@ -514,4 +514,4 @@ public interface UserMapper extends MyMapper { ``` ## 示例工程 -示例工程请查阅项目mybatis-ext-simple模块,提供原生Java版、SpringMVC版、SpringBoot版集成示例。 \ No newline at end of file +示例工程请查阅项目mybatis-ext-simple模块,提供原生Java版、SpringMVC版、SpringBoot版集成示例。