Commit e6ad665ef7a488854376a0c492605dcade0ea6ff
1 parent
6adc3d2dec
Exists in
master
and in
6 other branches
开通高危模块数据同步
Showing 2 changed files with 2 additions and 1 deletions
platform-common/src/main/java/com/lyms/platform/common/dao/BaseMongoDAOImpl.java
View file @
e6ad665
| ... | ... | @@ -156,7 +156,6 @@ |
| 156 | 156 | || "SyncDataModel".equals(data.getClass().getSimpleName()) |
| 157 | 157 | || "SmsConfigModel".equals(data.getClass().getSimpleName()) |
| 158 | 158 | || "OperateLogModel".equals(data.getClass().getSimpleName()) |
| 159 | - || "ModularFunctionConfigModel".equals(data.getClass().getSimpleName()) | |
| 160 | 159 | || "TrackDown".equals(data.getClass().getSimpleName())) { |
| 161 | 160 | if(!"LisReport".equals(data.getClass().getSimpleName())){ |
| 162 | 161 | //ExceptionUtils.catchException("NotSerializable for class :"+data.getClass().getSimpleName() ); |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/ModularFunctionConfigFacde.java
View file @
e6ad665
| ... | ... | @@ -70,6 +70,7 @@ |
| 70 | 70 | conMap.put("value", "2"); |
| 71 | 71 | configs.add(conMap); |
| 72 | 72 | modularFunctionConfigModel.setConfigs(configs); |
| 73 | + modularFunctionConfigModel.setId(String.valueOf(organization.getId())); | |
| 73 | 74 | modularFunctionConfigServcie.saveDiagnoseConfig(modularFunctionConfigModel); |
| 74 | 75 | }else{ |
| 75 | 76 | System.out.println("----跳过开通医院高危模块功能:"+organization.getId()); |
| ... | ... | @@ -95,6 +96,7 @@ |
| 95 | 96 | modularFunctionConfigServcie.updateDiagnoseConfig(modularFunctionConfigModel); |
| 96 | 97 | operateLogFacade.addModifyOptLog(userId, Integer.parseInt(hospitalId), operateBeforeContent, modularFunctionConfigModel, OptActionEnums.UPDATE.getId(), "配置医院功能模块"); |
| 97 | 98 | } else { |
| 99 | + modularFunctionConfigModel.setId(request.getHospitalId()); | |
| 98 | 100 | modularFunctionConfigModel = modularFunctionConfigServcie.saveDiagnoseConfig(modularFunctionConfigModel); |
| 99 | 101 | operateLogFacade.addAddOptLog(userId, Integer.parseInt(hospitalId), modularFunctionConfigModel, OptActionEnums.ADD.getId(), "配置医院功能模块"); |
| 100 | 102 | } |