|
@@ -240,7 +240,7 @@ public class InquiryInfoFacade extends InquiryInfoServiceImpl {
|
|
|
i.setPatientAge(DateUtil.yearCompare(i.getPatientBirthday(), DateUtil.now()));
|
|
|
});
|
|
|
|
|
|
- if (hisInquirysVO.getIsHaveDetail() == 1) {
|
|
|
+ if (ListUtil.isNotEmpty(hisInquiryDTOList) && hisInquirysVO.getIsHaveDetail() == 1) {
|
|
|
List<Long> inquiryIdList = hisInquiryDTOList.stream().map(i -> i.getId()).collect(Collectors.toList());
|
|
|
|
|
|
QueryWrapper<InquiryDetail> inquiryDetailQe = new QueryWrapper<>();
|