Browse Source

20210821修复条件查询报告单报错

sd
zy_Java 4 years ago
parent
commit
a54db05955
  1. 8
      ht/src/main/java/com/ccsens/ht/service/PatientReportService.java
  2. 2
      ht/src/main/resources/application-dev.yml
  3. 4
      ht/src/main/resources/application.yml
  4. 2
      tall/src/main/resources/application-dev.yml
  5. 4
      tall/src/main/resources/application.yml

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

@ -616,9 +616,11 @@ public class PatientReportService implements IPatientReportService {
@Override
public PageInfo<PatientReportSearchVo.Search> search(PatientReportSearchDto.SearchList param) {
PageHelper.startPage(param.getPageNum(), param.getPageSize());
List<PatientReportSearchVo.Search> list = htPatientReportDao.search(param.getCodes());
List<PatientReportSearchVo.Search> list = new ArrayList<>();
if(CollectionUtil.isNotEmpty(param.getCodes())){
PageHelper.startPage(param.getPageNum(), param.getPageSize());
list = htPatientReportDao.search(param.getCodes());
}
return new PageInfo<>(list);
}

2
ht/src/main/resources/application-dev.yml

@ -8,7 +8,7 @@ spring:
datasource:
type: com.alibaba.druid.pool.DruidDataSource
rabbitmq:
host: 192.168.4.113
host: dd.tall.wiki
# host: 127.0.0.1
password: 111111
port: 5672

4
ht/src/main/resources/application.yml

@ -1,5 +1,5 @@
spring:
profiles:
active: test
include: common, util-test
active: prod
include: common, util-prod

2
tall/src/main/resources/application-dev.yml

@ -11,7 +11,7 @@ spring:
datasource:
type: com.alibaba.druid.pool.DruidDataSource
rabbitmq:
host: 192.168.4.113
host: dd.tall.wiki
# host: 127.0.0.1
password: 111111
port: 5672

4
tall/src/main/resources/application.yml

@ -1,4 +1,4 @@
spring:
profiles:
active: test
include: util-test,common
active: dev
include: util-dev,common
Loading…
Cancel
Save