From a9262d9b1c5b570d077c2dc7d3fdda9058f88ec7 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期二, 25 六月 2024 11:15:07 +0800
Subject: [PATCH] 调拨和库存调整产生的出入库补充对应仓库的业务类型

---
 proto/purchase_wms/server.go |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/proto/purchase_wms/server.go b/proto/purchase_wms/server.go
index ede24f6..5d1da59 100644
--- a/proto/purchase_wms/server.go
+++ b/proto/purchase_wms/server.go
@@ -25,7 +25,7 @@
 	operation.Number = strconv.FormatInt(time.Now().Unix(), 10)
 	operation.Status = constvar.OperationStatus_Ready
 	operation.CompanyName = req.SupplierName
-	operation.CompanyID = int(req.SupplierId)
+	operation.CompanyID = strconv.FormatInt(req.SupplierId, 10)
 	operation.Source = req.Source
 	operation.OperationSource = constvar.OperationSource(req.OperationSource)
 	operation.SalesDetailsNumber = req.SalesDetailsNumber

--
Gitblit v1.8.0