Commit 00ee6816bbaa2245942e2f7f7140dc9b3de45b1a

Authored by jiangjiazhi
1 parent 1c20ecc623

修改新电子病历

Showing 1 changed file with 1 additions and 1 deletions

platform-common/src/main/java/com/lyms/platform/common/dao/BaseMongoDAOImpl.java View file @ 00ee681
... ... @@ -155,7 +155,7 @@
155 155 model.setAction(action);
156 156 if (null != data) {
157 157 model.setClassName(LymsEncodeUtil.aesEncrypt(data.getClass().getName(), mongo_crypto_key));
158   - model.setJsonData(LymsEncodeUtil.aesEncrypt(JsonUtil.obj2JsonString(data), mongo_crypto_key));
  158 + model.setJsonData(LymsEncodeUtil.aesEncrypt(JsonUtil.obj2Str(data), mongo_crypto_key));
159 159 }
160 160 model.setCreated(new Date());
161 161 model.setModified(model.getCreated());