Commit 49b34a157b103fa17e18ffffc53c4bd87835698f
1 parent
9c72982cb4
Exists in
master
and in
6 other branches
SmsConfigModel 过滤掉不同步
Showing 1 changed file with 1 additions and 1 deletions
platform-common/src/main/java/com/lyms/platform/common/dao/BaseMongoDAOImpl.java
View file @
49b34a1
... | ... | @@ -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()) || "SyncDataModel".equals(data.getClass().getSimpleName())) { | |
159 | + if (!(data instanceof Serializable) ||"LisReport".equals(data.getClass().getSimpleName()) || "SyncDataModel".equals(data.getClass().getSimpleName())|| "SmsConfigModel".equals(data.getClass().getSimpleName())) { | |
160 | 160 | if(!"LisReport".equals(data.getClass().getSimpleName())){ |
161 | 161 | //ExceptionUtils.catchException("NotSerializable for class :"+data.getClass().getSimpleName() ); |
162 | 162 | } |