|
@@ -1787,7 +1787,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
sdpr.saleDate,-- 销售日期
|
|
|
sddpr.pharmacyName -- 购药门店名称
|
|
|
from s_dtp_drug_purchase_record sddpr
|
|
|
- left join s_dtp_prescription_registration sdpr on sddpr.prescriptionNumber=sdpr.prescriptionNumber
|
|
|
+ left join s_dtp_prescription_registration sdpr on sddpr.drugsLinkId=sdpr.drugsLinkId
|
|
|
where sdpr.patientId=#{id}
|
|
|
|
|
|
</select>
|