| | |
| | | select t1.id,t1.warehouse_no,t2.supplier_name,t3.procurement_code,t3.pay_money allTotalPrice,t1.create_time warehouseTime,t1.type |
| | | from t_erp_clinic_warehousing t1 left join t_erp_procurement t3 on t1.procurement_id = t3.id |
| | | left join t_crm_supplier t2 on t3.supplier_id = t2.id |
| | | where t1.disabled = 0 and t1.clinic_id = #{query.supplierClinicId} |
| | | where t1.disabled = 0 and t1.clinic_id = #{supplierClinicId} |
| | | <if test="query.warehouseNo != null and query.warehouseNo != ''"> |
| | | and t1.warehouse_no like concat('%',#{query.warehouseNo},'%') |
| | | </if> |