Browse Source

health prod

master
zhizhi wu 5 years ago
parent
commit
ae5a9efaba
  1. 35
      health/src/main/resources/application-prod.yml
  2. 35
      health/src/main/resources/application-prod2.yml
  3. 1
      ht/src/main/java/com/ccsens/ht/service/PatientReportService.java

35
health/src/main/resources/application-prod.yml

@ -0,0 +1,35 @@
server:
port: 7080
servlet:
context-path:
spring:
application:
name: health
datasource:
type: com.alibaba.druid.pool.DruidDataSource
rabbitmq:
host: api.ccsens.com
password: 111111
port: 5672
username: admin
redis:
database: 0
host: 127.0.0.1
jedis:
pool:
max-active: 200
max-idle: 10
max-wait: -1ms
min-idle: 0
password: ''
port: 6379
timeout: 1000ms
swagger:
enable: false
eureka:
instance:
ip-address: 192.144.182.42
file:
path: /home/cloud/health/uploads/
domain: https://sd.tall.com/gateway/health/
imgDomain: https://sd.tall.com/gateway/health/uploads

35
health/src/main/resources/application-prod2.yml

@ -0,0 +1,35 @@
server:
port: 7081
servlet:
context-path:
spring:
application:
name: health
datasource:
type: com.alibaba.druid.pool.DruidDataSource
rabbitmq:
host: api.ccsens.com
password: 111111
port: 5672
username: admin
redis:
database: 0
host: 127.0.0.1
jedis:
pool:
max-active: 200
max-idle: 10
max-wait: -1ms
min-idle: 0
password: ''
port: 6379
timeout: 1000ms
swagger:
enable: false
eureka:
instance:
ip-address: 192.144.182.42
file:
path: /home/cloud/health/uploads/
domain: https://sd.tall.com/gateway/health/
imgDomain: https://sd.tall.com/gateway/health/uploads

1
ht/src/main/java/com/ccsens/ht/service/PatientReportService.java

@ -89,6 +89,7 @@ public class PatientReportService implements IPatientReportService {
htPatientReport.setEvaluationCode(Constant.Ht.Report.PARENT_CODE);
htPatientReport.setName(Constant.Ht.Report.PARENT_NAME + DateUtil.today());
htPatientReport.setSerialNumber(htPatient.getId() + "_" + (times + 1));
htPatientReport.setReportTime(System.currentTimeMillis());
htPatientReportDao.insertSelective(htPatientReport);
log.info("生成病友报告单:{}", generate);
PatientReportVo.Generate generateVo = new PatientReportVo.Generate();

Loading…
Cancel
Save