|
|
@@ -105,7 +105,9 @@ public class FsCompanyCustomerServiceImpl implements IFsCompanyCustomerService {
|
|
|
final Map<Long, String> prescriptionMap = CollectionUtils.isEmpty(fsPrescribeDataScrms)
|
|
|
? Collections.emptyMap()
|
|
|
: fsPrescribeDataScrms.stream()
|
|
|
- .collect(Collectors.toMap(FsPrescribeDataScrm::getPrescribeId, FsPrescribeDataScrm::getAuditReason));
|
|
|
+ .collect(Collectors.toMap(
|
|
|
+ FsPrescribeDataScrm::getPrescribeId,
|
|
|
+ p -> p.getAuditReason() == null ? "" : p.getAuditReason()));
|
|
|
//批量获取医生id
|
|
|
List<Long> doctorIds = companyCustomers.stream().map(FsCompanyCustomer::getDoctorId).filter(Objects::nonNull).collect(Collectors.toList());
|
|
|
//查询医生信息并用Map<Long,String>存起来key为医生id,value为医生名称
|