Commit cf1dd547 authored by 赵啸非's avatar 赵啸非

添加事项同步数据

parent a0e19894
......@@ -255,13 +255,13 @@ public class MatterServiceImpl extends AbstractCRUDCacheServiceImpl<MatterDao, M
try {
root = JSON.parseObject(sqclJson);
} catch (Exception e1) {
log.error("error json:" + sqclJson);
//log.error("error json:" + sqclJson);
return;
}
}
if (root.isEmpty()) {
log.info("root is null");
//log.info("root is null");
return;
}
JSONArray jsonArray = null;
......@@ -360,13 +360,13 @@ public class MatterServiceImpl extends AbstractCRUDCacheServiceImpl<MatterDao, M
try {
root = JSON.parseObject(sltjJson);
} catch (Exception e1) {
log.error("error json:" + sltjJson);
// log.error("error json:" + sltjJson);
return;
}
}
if (root.isEmpty()) {
log.info("root is null");
//log.info("root is null");
return;
}
......@@ -399,13 +399,13 @@ public class MatterServiceImpl extends AbstractCRUDCacheServiceImpl<MatterDao, M
try {
root = JSON.parseObject(sfbzJson);
} catch (Exception e1) {
log.error("error json:" + sfbzJson);
//log.error("error json:" + sfbzJson);
return;
}
}
if (root.isEmpty()) {
log.info("root is null");
//log.info("root is null");
return;
}
......@@ -439,24 +439,24 @@ public class MatterServiceImpl extends AbstractCRUDCacheServiceImpl<MatterDao, M
try {
root = JSON.parseObject(cjwtJson);
} catch (Exception e1) {
log.error("error json:" + cjwtJson);
//log.error("error json:" + cjwtJson);
return;
}
}
if (root.isEmpty()) {
log.info("root is null");
//log.info("root is null");
return;
}
JSONArray jsonArray = null;
try {
jsonArray = root.getJSONArray("常见问题");
} catch (Exception e) {
log.error("error 无常见问题");
//log.error("error 无常见问题");
}
if (ObjectUtils.isEmpty(jsonArray)) {
log.info("常见问题 is null");
//log.info("常见问题 is null");
return;
}
......@@ -496,7 +496,7 @@ public class MatterServiceImpl extends AbstractCRUDCacheServiceImpl<MatterDao, M
}
if (root==null||root.isEmpty()) {
log.info("root is null");
//log.info("root is null");
return;
}
JSONArray jsonArray = null;
......
server:
port: @profiles.server.port@
# servlet:
# context-path: /m
servlet:
context-path: /zwfw
spring:
application:
name: base-manager
......
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