Commit 29664172 authored by youxiaoji's avatar youxiaoji

+ [增加对海信园区的过滤]

parent 5eecc0ac
...@@ -259,6 +259,7 @@ public class VisitorAppointmentTool { ...@@ -259,6 +259,7 @@ public class VisitorAppointmentTool {
if (page.url().compareToIgnoreCase(destUrl) == 0) { if (page.url().compareToIgnoreCase(destUrl) == 0) {
log.info("有必填项未提供"); log.info("有必填项未提供");
} }
log.info("Submit Success");
return "提交成功"; return "提交成功";
} catch (Exception e) { } catch (Exception e) {
long endTime = System.currentTimeMillis(); long endTime = System.currentTimeMillis();
......
...@@ -37,7 +37,7 @@ public class InfoCollectorService { ...@@ -37,7 +37,7 @@ public class InfoCollectorService {
public void saveValue(String key, Object value) { public void saveValue(String key, Object value) {
log.info("key {} value {}", key, value); log.info("key {} value {}", key, value);
if(value == null || StringUtils.isEmpty(value.toString()) if(value == null || StringUtils.isEmpty(value.toString())
|| value.toString().compareToIgnoreCase("待补充") == 0) { || value.toString().compareToIgnoreCase("待补充") == 0 || value.toString().contains("海信园区")) {
return; return;
} }
values.put(key, value); values.put(key, value);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment