Compare commits

...

1 Commits

Author SHA1 Message Date
ccsens_zhengzhichuan 679a6e6713 修改中医体质量表导致的问题 1 month ago
  1. 4
      ruisi_java/ruisi-web-client/src/main/java/com/ccsens/client/service/impl/RmsServiceImpl.java
  2. 31
      ruisi_java/ruisi-web-client/src/main/resources/application-prod.yml

4
ruisi_java/ruisi-web-client/src/main/java/com/ccsens/client/service/impl/RmsServiceImpl.java

@ -215,7 +215,9 @@ public class RmsServiceImpl implements IRmsService {
List<RmsReportScaleScore> rmsReportScaleScores = rmsReportScaleScoreMapper.selectByExample(scoreExample);
if (CollUtil.isNotEmpty(rmsReportScaleScores)) {
score.setImpression(rmsReportScaleScores.get(0).getImpression());
score.setScore(rmsReportScaleScores.get(0).getScore());
if ("TZBS_LN".equals(score.getCode()) || "TZBS_BZ".equals(score.getCode())) {
score.setScore(rmsReportScaleScores.get(0).getScore());
}
reportScaleScoreMap.put(score.getCode(), rmsReportScaleScores.get(0));
}

31
ruisi_java/ruisi-web-client/src/main/resources/application-prod.yml

@ -6,9 +6,9 @@ spring:
druid:
# 主库数据源
master:
url: jdbc:mysql://192.168.0.128:3306/ruisi_cga?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
url: jdbc:mysql://127.0.0.1:3306/ruisi_cga?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root
password: Sxinf18aA
password: lhq#2026!!!
# 从库数据源
slave:
# 从数据源开关/默认关闭
@ -68,7 +68,7 @@ spring:
# 数据库索引
database: 1
# 密码
password: 123456
password:
# 连接超时时间
timeout: 10s
lettuce:
@ -88,7 +88,7 @@ app:
# 资源访问路径前缀 示例(/profile)
profileUrl: /profile
# 资源存储路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath)
profilePath: /data/cgav2/server/profile
profilePath: C:/Projects/ruisi_cga/server/profile
# 分布式ID-WorkID
workerId: 1
# 分布式ID-DataCenterID
@ -98,22 +98,21 @@ ht:
patientUrl: http://172.16.40.155/htage2023/client/#
name: 认知功能评测云平台系统
file:
path: /data/cgav2/server/profile/
path: C:/Projects/ruisi_cga/
# webPath: http://172.16.40.155:59001/ruisi/client/#
webPath: https://rs.sxyfrs.com/ruisi/clienths/#
#domain: https://api.ccsens.com/test/
domain: http://116.204.40.58/ruisiClient
imgDomain: http://116.204.40.58/ruisiClient/profile
reportDomain: /data/cgav2/server/profile
reportPath: /data/cgav2/server/profile
grPath: /data/cgav2/server/profile/grReportTemplate.docx
ysPath: /data/cgav2/server/profile/ysReportTemplate.docx
domain: http://172.16.40.155/ruisiClient
imgDomain: http://172.16.40.155/ruisiClient/profile
reportDomain: C:/Projects/ruisi_cga/server/profile
reportPath: C:/Projects/ruisi_cga/server/profile
grPath: C:/Projects/ruisi_cga/server/profile/grReportTemplate.docx
ysPath: C:/Projects/ruisi_cga/server/profile/ysReportTemplate.docx
informed:
studySign: /data/cgav2/server/profile/studySign.png
template: /data/cgav2/server/profile/知情同意模板.docx
wordUrl: /data/cgav2/server/profile/informed/
prefixWord: /data/cgav2/server
studySign: C:/Projects/ruisi_cga/studySign.png
template: C:/Projects/ruisi_cga/知情同意模板.docx
wordUrl: C:/Projects/ruisi_cga/informed/
prefixWord: C:/Projects/ruisi_cga/server
#clientVersion: v1.6.8
#clientVersion: v1.8.1.0
#clientVersion: v1.8.2.0

Loading…
Cancel
Save