From 201be38fd71ee487d887e686cf07773ec750a8de Mon Sep 17 00:00:00 2001
From: liujiandao <274878379@qq.com>
Date: 星期四, 26 十月 2023 17:56:50 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.5.5:10010/r/aps/WMS
---
controllers/location_product.go | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/controllers/location_product.go b/controllers/location_product.go
index 3ebb6ef..854d451 100644
--- a/controllers/location_product.go
+++ b/controllers/location_product.go
@@ -48,6 +48,7 @@
// util.ResponseFormat(c, code.RequestParamError, "璇烽�夋嫨浜у搧绫诲埆")
// return
//}
+
if err := models.NewLocationProductSearch().Create(¶ms); err != nil {
logx.Errorf("Operation create err: %v", err)
util.ResponseFormat(c, code.SaveFail, "娣诲姞澶辫触锛�"+err.Error())
@@ -150,7 +151,6 @@
util.ResponseFormat(c, code.RequestParamError, "id涓�0")
return
}
- //TODO:姝ゅ鍙兘闇�瑕佸鍔犻檺鍒讹紝濡傛灉璇ヤ笂鏋惰鍒欏鏋滃凡缁忎骇鐢熶簡搴撳瓨鏁伴噺锛屽垹闄や細閫犳垚搴撳瓨鏌ヤ笉鍒扮殑褰卞搷
if err := models.NewLocationProductSearch().SetID(id).Delete(); err != nil {
logx.Errorf("LocationProduct delete err: %v", err)
util.ResponseFormat(c, code.SaveFail, "鍒犻櫎澶辫触锛�"+err.Error())
--
Gitblit v1.8.0