Browse Source

修改购药信息查询条件

bzd_wsp 3 months ago
parent
commit
7ff2389301

+ 1 - 1
health-system/src/main/resources/mapper/pmServiceMapper/PharmaceuticalServiceMapper.xml

@@ -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>