Commit df3e2aa958c7f157a1c2bc709e44902d802fa24e
1 parent
f3c0d0901b
Exists in
master
and in
6 other branches
update
Showing 2 changed files with 2 additions and 2 deletions
platform-common/src/main/java/com/lyms/platform/common/dao/BaseMongoDAOImpl.java
View file @
df3e2aa
... | ... | @@ -156,7 +156,7 @@ |
156 | 156 | public static String mongo_crypto_key = Config.getItem("mongo_crypto_key", "0"); |
157 | 157 | public static String mongo_sync = Config.getItem("mongo_sync", "0"); |
158 | 158 | public void addSyncData(String action, Object data, String id) { |
159 | - if (!(data instanceof Serializable) ||"LisReport".equals(data.getClass().getSimpleName())) { | |
159 | + if (!(data instanceof Serializable) ||"LisReport".equals(data.getClass().getSimpleName()) || "SyncDataModel".equals(data.getClass().getSimpleName())) { | |
160 | 160 | if(!"LisReport".equals(data.getClass().getSimpleName())){ |
161 | 161 | ExceptionUtils.catchException("NotSerializable for class :"+data.getClass().getSimpleName() ); |
162 | 162 | } |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/SyncDataTaskService.java
View file @
df3e2aa
... | ... | @@ -224,7 +224,7 @@ |
224 | 224 | if (ids.length() > 0) { |
225 | 225 | Map<String,String> params = new HashMap<String, String>(); |
226 | 226 | params.put("ids", ids.toString()); |
227 | - String result = HttpClientUtil.doPost("https://area-qhd-api.healthbaby.com.cn:18019/updateSyncData", params, "utf-8"); | |
227 | + String result = HttpClientUtil.doPost("https://area-dz-api.healthbaby.com.cn:12356/updateSyncData", params, "utf-8"); | |
228 | 228 | System.out.println("exc result = "+ result); |
229 | 229 | } |
230 | 230 | } |