From 91d7ca06128f996844aa7d2d691d083c944bdf1d Mon Sep 17 00:00:00 2001 From: lishihai <dslsh@dscom> Date: 星期三, 03 七月 2024 17:22:16 +0800 Subject: [PATCH] 导入物料/产品->新模版BUG修复 --- service/operation.go | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/service/operation.go b/service/operation.go index d276fe6..3b9c43b 100644 --- a/service/operation.go +++ b/service/operation.go @@ -249,6 +249,7 @@ if v.IsInternalOutput { var inputDetail models.OperationDetails mapstructure.Decode(v, &inputDetail) + inputDetail.Id = 0 inputDetail.OperationID = 0 internalInputDetails = append(internalInputDetails, &inputDetail) } -- Gitblit v1.8.0