From 887b252754f5d312c0438c814b5d6d19deb5d522 Mon Sep 17 00:00:00 2001
From: liujiandao <274878379@qq.com>
Date: 星期三, 15 十一月 2023 16:55:13 +0800
Subject: [PATCH] 报废位置获取
---
proto/product_inventory/server.go | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/proto/product_inventory/server.go b/proto/product_inventory/server.go
index 5abf83f..bb375e1 100644
--- a/proto/product_inventory/server.go
+++ b/proto/product_inventory/server.go
@@ -156,7 +156,7 @@
}
operation.OperationTypeName = operationType.Name
operation.OperationTypeId = operationType.Id
- location, err := models.NewLocationSearch().SetJointNames([]string{warehouse.Code}).First()
+ location, err := models.NewLocationSearch().SetID(warehouse.LocationId).First()
if err != nil {
return nil, err
}
--
Gitblit v1.8.0