服务评价

This commit is contained in:
zhangheng 2023-11-09 10:10:50 +08:00
parent 5eb498766e
commit 1cd9af299b

View File

@ -162,6 +162,8 @@ public class NursingOrderServiceImpl implements INursingOrderService {
if (CollectionUtils.isNotEmpty(goodsOrderAndConsultationOrder)) { if (CollectionUtils.isNotEmpty(goodsOrderAndConsultationOrder)) {
patientOrders.addAll(goodsOrderAndConsultationOrder); patientOrders.addAll(goodsOrderAndConsultationOrder);
} }
if (Objects.nonNull(nurseOrder.getRegion()) && "3".equals(nurseOrder.getRegion())) {
try {
String result = HttpUtils.sendGet(SpringUtils.getFdUrl(nurseOrder.getRegion()) + "/performance/recordV2/" + nurseOrder.getCardNo()); String result = HttpUtils.sendGet(SpringUtils.getFdUrl(nurseOrder.getRegion()) + "/performance/recordV2/" + nurseOrder.getCardNo());
if (StringUtils.isBlank(result)) { if (StringUtils.isBlank(result)) {
log.info("获取家医小程序用户订单信息失败result = " + result); log.info("获取家医小程序用户订单信息失败result = " + result);
@ -186,6 +188,10 @@ public class NursingOrderServiceImpl implements INursingOrderService {
patientOrders.addAll(data); patientOrders.addAll(data);
} }
} }
} catch (Exception e) {
log.error("查询家医履约评价记录异常: " + e.getMessage());
}
}
TableDataInfo rspData = new TableDataInfo(); TableDataInfo rspData = new TableDataInfo();
rspData.setTotal(new PageInfo(patientOrders).getTotal()); rspData.setTotal(new PageInfo(patientOrders).getTotal());
if (CollectionUtils.isNotEmpty(patientOrders)) { if (CollectionUtils.isNotEmpty(patientOrders)) {