liujie
19 小时以前 59099ec96f7a2da11df4b0b1593092b0aff38e90
ruoyi-system/src/main/resources/mapper/system/TErpGoodsMapper.xml
@@ -212,7 +212,7 @@
        LEFT JOIN t_crm_supplier t4 on t3.supplier_clinic_id = t4.id
        left join (
            select warehousing_batch_id, sum(outbound_count) as outbound_count
            from t_erp_supplier_outbound_goods
            from t_erp_clinic_outbound_goods
            group by warehousing_batch_id
        ) t5 on t5.warehousing_batch_id =t1.id
        where t2.disabled = 0  and t2.clinic_id =#{supplierClinicId}