Compare commits

...

1 Commits

Author SHA1 Message Date
ccsens_zhengzhichuan 679a6e6713 修改中医体质量表导致的问题 2 months ago
  1. 2
      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

2
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); List<RmsReportScaleScore> rmsReportScaleScores = rmsReportScaleScoreMapper.selectByExample(scoreExample);
if (CollUtil.isNotEmpty(rmsReportScaleScores)) { if (CollUtil.isNotEmpty(rmsReportScaleScores)) {
score.setImpression(rmsReportScaleScores.get(0).getImpression()); score.setImpression(rmsReportScaleScores.get(0).getImpression());
if ("TZBS_LN".equals(score.getCode()) || "TZBS_BZ".equals(score.getCode())) {
score.setScore(rmsReportScaleScores.get(0).getScore()); score.setScore(rmsReportScaleScores.get(0).getScore());
}
reportScaleScoreMap.put(score.getCode(), rmsReportScaleScores.get(0)); 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: druid:
# 主库数据源 # 主库数据源
master: 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 username: root
password: Sxinf18aA password: lhq#2026!!!
# 从库数据源 # 从库数据源
slave: slave:
# 从数据源开关/默认关闭 # 从数据源开关/默认关闭
@ -68,7 +68,7 @@ spring:
# 数据库索引 # 数据库索引
database: 1 database: 1
# 密码 # 密码
password: 123456 password:
# 连接超时时间 # 连接超时时间
timeout: 10s timeout: 10s
lettuce: lettuce:
@ -88,7 +88,7 @@ app:
# 资源访问路径前缀 示例(/profile) # 资源访问路径前缀 示例(/profile)
profileUrl: /profile profileUrl: /profile
# 资源存储路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath) # 资源存储路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath)
profilePath: /data/cgav2/server/profile profilePath: C:/Projects/ruisi_cga/server/profile
# 分布式ID-WorkID # 分布式ID-WorkID
workerId: 1 workerId: 1
# 分布式ID-DataCenterID # 分布式ID-DataCenterID
@ -98,22 +98,21 @@ ht:
patientUrl: http://172.16.40.155/htage2023/client/# patientUrl: http://172.16.40.155/htage2023/client/#
name: 认知功能评测云平台系统 name: 认知功能评测云平台系统
file: file:
path: /data/cgav2/server/profile/ path: C:/Projects/ruisi_cga/
# webPath: http://172.16.40.155:59001/ruisi/client/# # webPath: http://172.16.40.155:59001/ruisi/client/#
webPath: https://rs.sxyfrs.com/ruisi/clienths/# webPath: https://rs.sxyfrs.com/ruisi/clienths/#
#domain: https://api.ccsens.com/test/ #domain: https://api.ccsens.com/test/
domain: http://116.204.40.58/ruisiClient domain: http://172.16.40.155/ruisiClient
imgDomain: http://116.204.40.58/ruisiClient/profile imgDomain: http://172.16.40.155/ruisiClient/profile
reportDomain: /data/cgav2/server/profile reportDomain: C:/Projects/ruisi_cga/server/profile
reportPath: /data/cgav2/server/profile reportPath: C:/Projects/ruisi_cga/server/profile
grPath: /data/cgav2/server/profile/grReportTemplate.docx grPath: C:/Projects/ruisi_cga/server/profile/grReportTemplate.docx
ysPath: /data/cgav2/server/profile/ysReportTemplate.docx ysPath: C:/Projects/ruisi_cga/server/profile/ysReportTemplate.docx
informed: informed:
studySign: /data/cgav2/server/profile/studySign.png studySign: C:/Projects/ruisi_cga/studySign.png
template: /data/cgav2/server/profile/知情同意模板.docx template: C:/Projects/ruisi_cga/知情同意模板.docx
wordUrl: /data/cgav2/server/profile/informed/ wordUrl: C:/Projects/ruisi_cga/informed/
prefixWord: /data/cgav2/server prefixWord: C:/Projects/ruisi_cga/server
#clientVersion: v1.6.8 #clientVersion: v1.6.8
#clientVersion: v1.8.1.0 #clientVersion: v1.8.1.0
#clientVersion: v1.8.2.0 #clientVersion: v1.8.2.0

Loading…
Cancel
Save