1:新增业务

2:为url和关键字业务添加url和website查询条件
This commit is contained in:
renkaige
2018-12-17 17:01:17 +06:00
parent 092d1ed317
commit 474aa995fd
4 changed files with 69 additions and 20 deletions

View File

@@ -228,7 +228,7 @@ public class LogDataService {
String type = filedsType.get(key).trim();
if (type.equals("java.lang.String")) {
String field = filedAndColumnMap.get(key).toLowerCase();
if (field.equals("url")) {
if (field.equals("url")||field.equals("website")) {
whereSB.append(" and " + field + " like '" + value.toString().trim() + "%'");
} else {
whereSB.append(" and " + field + "='"