瀏覽代碼

解密开关由配置控制

chengyao 4 年之前
父節點
當前提交
1c8364cfc7

+ 1 - 0
doc/031.20210326v2.0.2/qc_initv2.0.2.sql

@@ -312,5 +312,6 @@ CREATE TABLE `med_index_relevance` (
   UNIQUE KEY `index_all` (`relevance_type`,`hospital_id`,`behospital_code`) USING BTREE
 ) ENGINE=InnoDB AUTO_INCREMENT=345204 DEFAULT CHARSET=utf8;
 
+-- 注意 param参数为医院id,多家医院需执行对应医院id
 INSERT INTO `sys_task_cron` ( `is_deleted`, `gmt_create`, `gmt_modified`, `creator`, `modifier`, `cron_code`, `cron`, `param`, `is_used`, `remark`) VALUES ( 'N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', 'TASK_INDEX', '0 0 3 * * ?', '4', '1', '获取当前时间前一天的病案指标');
 

+ 1 - 1
src/main/java/com/diagbot/facade/BehospitalInfoFacade.java

@@ -320,7 +320,7 @@ public class BehospitalInfoFacade extends BehospitalInfoServiceImpl {
         List<RecordContentDTO> recordContentDTOList = medicalRecordFacade.getRecordContentFac(recordContentVO);
         String recTitle = "";
         // 解密数据
-        if (false  && encryptFlag) {
+        if (encryptFlag) {
             try {
                 EncrypDES encrypDES = new EncrypDES();
                 for (RecordContentDTO recordContentDTO : recordContentDTOList) {