修复关联表的一些bug
This commit is contained in:
parent
d1732c0d80
commit
ec3b008e2b
@ -30,4 +30,6 @@ public @interface EnableTableMap {
|
||||
String deptOnLeft() default "";
|
||||
|
||||
String deptOnRight() default "";
|
||||
|
||||
String deptFrom() default "";
|
||||
}
|
||||
|
@ -84,7 +84,8 @@ public class TableInfo {
|
||||
if (StringUtils.isNotEmpty(this.enableTableMap.dept())) {
|
||||
String lf = this.enableTableMap.deptOnLeft();
|
||||
String rf = this.enableTableMap.deptOnRight();
|
||||
String lt = this.getTableNameT();
|
||||
String lt = StringUtils.isNotEmpty(this.enableTableMap.deptFrom()) ? this.enableTableMap.deptFrom()
|
||||
: this.getTableNameT();
|
||||
String rt = this.enableTableMap.dept();
|
||||
if (StringUtils.isEmpty(lf) || StringUtils.isEmpty(rf)) {
|
||||
lf = this.enableTableMap.deptOn();
|
||||
|
Loading…
Reference in New Issue
Block a user