From 96844c22ef3fba86a55e0af1b51bc1009d6fa950 Mon Sep 17 00:00:00 2001
From: jiangshuai <291802688@qq.com>
Date: 星期五, 20 十月 2023 11:57:48 +0800
Subject: [PATCH] 1.库存盘点bug修改

---
 models/location_product_amount.go |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/models/location_product_amount.go b/models/location_product_amount.go
index 9686a30..cb890e2 100644
--- a/models/location_product_amount.go
+++ b/models/location_product_amount.go
@@ -30,7 +30,7 @@
 
 	LocationProductAmountWithOperation struct {
 		//LocationProductAmount LocationProductAmount `json:"locationProductAmount"`
-		LocationProductAmountId int                      `json:"locationProductAmount" gorm:"location_product_amount_id"`
+		LocationProductAmountId int                      `json:"locationProductAmountId" gorm:"location_product_amount_id"`
 		LocationId              int                      `json:"locationId" gorm:"column:location_id"`
 		LocationName            string                   `json:"locationName" gorm:"column:location_name"`
 		ProductId               string                   `json:"productId" gorm:"column:product_id"`

--
Gitblit v1.8.0