From c4af8a6c21f65f436ed9c431128ec132cbbff41c Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期五, 14 六月 2024 11:28:07 +0800 Subject: [PATCH] 根据仓库获取位置去掉仓库本身 --- controllers/location_product_amount.go | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/controllers/location_product_amount.go b/controllers/location_product_amount.go index f0a4ec6..ec9165c 100644 --- a/controllers/location_product_amount.go +++ b/controllers/location_product_amount.go @@ -57,7 +57,7 @@ //wms_operation_details.amount as adjust_amount,wms_operation.id as operation_id,wms_operation.status search.Orm = search.Orm. Table("wms_location_product_amount"). - Select(`wms_location_product_amount.id as location_product_amount_id,wms_location.id as location_id,wms_location.name as location_name, + Select(`wms_location_product_amount.id as location_product_amount_id,wms_location.id as location_id,wms_location.joint_name as location_name, material.id as product_id,material.name as product_name,wms_location_product_amount.amount,material.unit, wms_location_product_amount.create_date,material.weight`). InnerJoins("inner join material on material.id=wms_location_product_amount.product_id"). -- Gitblit v1.8.0