ruoyi-system/src/main/resources/mapper/system/TErpProcurementMapper.xml
@@ -90,7 +90,10 @@ t1.status from t_erp_procurement t1 left JOIN t_crm_clinic t2 on t1.clinic_id = t2.id where t1.disabled = 0 and t1.status in(3,4,5) and t1.supplier_id =#{supplierClinicId} where t1.disabled = 0 and t1.status in(3,4,5) and t1.supplier_id in <foreach collection="supplierClinicId" close=")" item="id" separator="," open="(" > #{id} </foreach> <if test="query.procurementCode != null and query.procurementCode != ''"> and t1.procurement_code = #{query.procurementCode} </if>