Skip to content

Commit

Permalink
Update 文章_Weed3 for java 新的微型ORM框架.md
Browse files Browse the repository at this point in the history
  • Loading branch information
noear committed May 6, 2022
1 parent 9a79d3e commit 27c6c80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 文章_Weed3 for java 新的微型ORM框架.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ db.table("user u")
.selectItem("u.*,e.sex user_sex", User.class);


//++(折开来拼接条件)::
//查询++(折开来拼接条件)::
var tb = db.table("user u");
if(test.a){
tb.innerJoin("user_ext e").onEq("u.id","e.user_id");
Expand All @@ -251,7 +251,7 @@ if(test.b){

tb.selectItem("u.*,e.sex,e.label", User.class);

//++2(通过构建函数拼接条件)::
//查询++2(通过构建函数拼接条件)::
db.table("user u")
.build(tb->{
if(test.a){
Expand Down

0 comments on commit 27c6c80

Please sign in to comment.