diff --git a/api-admin/src/main/resources/mybatis/mapper/inventory/InvPreInProductDao.xml b/api-admin/src/main/resources/mybatis/mapper/inventory/InvPreInProductDao.xml index f36c84db..e242ee91 100644 --- a/api-admin/src/main/resources/mybatis/mapper/inventory/InvPreInProductDao.xml +++ b/api-admin/src/main/resources/mybatis/mapper/inventory/InvPreInProductDao.xml @@ -125,7 +125,7 @@ inner join basic_products on basic_udirel.uuid = basic_products.uuid left join basic_corp on inv_prein_product.supId=basic_corp.erpId left join inv_warehouse on inv_warehouse.code=inv_prein_product.invStorageCode - left join inv_warehouse_sub on inv_warehouse_sub.parentId = inv_warehouse.code + left join inv_warehouse_sub on inv_warehouse_sub.code = inv_prein_product.invWarehouseCode basic_products.diType=1