From 22a93375823a1fe58e5ca2dcd0545ddf1dfc883c Mon Sep 17 00:00:00 2001 From: jiangshuai <291802688@qq.com> Date: 星期二, 14 十一月 2023 11:47:56 +0800 Subject: [PATCH] 产品列表增加预测和出入库数量 --- controllers/operation.go | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/controllers/operation.go b/controllers/operation.go index d9b4200..72eaadd 100644 --- a/controllers/operation.go +++ b/controllers/operation.go @@ -792,7 +792,7 @@ return } operation.Status = constvar.OperationStatus_Cancel - if err := models.NewOperationSearch().Save(operation); err != nil { + if err := models.NewOperationSearch().SetID(operation.Id).Save(operation); err != nil { util.ResponseFormat(c, code.SaveFail, err.Error()) return } -- Gitblit v1.8.0