|
@@ -745,7 +745,7 @@ public interface MzPharmacyMapper {
|
|
|
" FROM mz_charge_detail a WITH(NOLOCK)" +
|
|
|
" JOIN yp_base_yf b WITH(NOLOCK) ON a.charge_item_code = b.charge_code AND a.serial = b.serial" +
|
|
|
" JOIN yp_zd_dict c WITH(NOLOCK) ON a.charge_item_code = c.code AND a.serial = c.serial" +
|
|
|
- " inner join yz_zd_group_name f where f.yf_flag = '1' and isnull(f.del_flag, '0') = '0' and a.group_no = f.group_no " +
|
|
|
+ " inner join yp_zd_group_name f where f.yf_flag = '1' and isnull(f.del_flag, '0') = '0' and a.group_no = f.group_no " +
|
|
|
" LEFT JOIN yp_zd_manufactory d WITH(NOLOCK) ON c.manu_code = d.code" +
|
|
|
" WHERE a.patient_id = #{patientId} and" +
|
|
|
" a.times = #{times} and" +
|