@@ -98,7 +98,7 @@
bsm.s_id sId,
bsm.s_mat_type as sMatType,
tsmm.id as mapId,
- tsmm.drug_id as drugId
+ tm2.drug_id as drugId
FROM
t_drug_list AS tdl
LEFT JOIN t_pharmacy AS tp ON(tdl.drug_id = tp.drug_id and tp.status = '1')