Skip to content

Commit

Permalink
3.5.2.4-SNAPSHOT
Browse files Browse the repository at this point in the history
  • Loading branch information
miemieYaho committed Oct 12, 2022
1 parent 46cfd84 commit 5dad4d4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import java.time.LocalDateTime

allprojects {
group = 'com.baomidou'
version = "3.5.2.3-SNAPSHOT"
version = "3.5.2.4-SNAPSHOT"
}

ext {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,9 @@ void doIt() {
// 别名被声明要替换
origin = "SELECT t_user.* FROM t_user_real t_user";
assertEquals("SELECT t_user.* FROM t_user_real_r t_user", interceptor.changeTable(origin));

// 别名被声明要替换
origin = "SELECT t.* FROM t_user_real t left join entity e on e.id = t.id";
assertEquals("SELECT t.* FROM t_user_real_r t left join entity e on e.id = t.id", interceptor.changeTable(origin));
}
}

0 comments on commit 5dad4d4

Please sign in to comment.