search col support multiple tables

This commit is contained in:
Shaun Chyxion 2017-06-26 22:49:26 +08:00
parent aea8190ee4
commit 00e73214cf

View File

@ -37,8 +37,9 @@ public class SearchProcessArgs {
public String getCol() {
String col = condition.getCol();
return StringUtils.isNotBlank(table) ?
table + "." + col : col;
return StringUtils.isNotBlank(table)
&& !col.contains(".") ?
table + "." + col : col;
}
public <T> T getValue() {