From a1a9aed81231a1685e3a615b07712bd94b1c98e4 Mon Sep 17 00:00:00 2001 From: lishihai <dslsh@dscom> Date: 星期四, 04 七月 2024 10:01:47 +0800 Subject: [PATCH] 导入物料/产品->忽略AttributeValue动态属性已经存在的值 --- service/code.go | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/service/code.go b/service/code.go index bb17a77..253d820 100644 --- a/service/code.go +++ b/service/code.go @@ -40,6 +40,8 @@ maxAutoIncr, err = models.NewOperationSearch().SetBaseOperationType(constvar.BaseOperationTypeInternal).MaxAutoIncr() case constvar.CodeStandardType_Disuse: maxAutoIncr, err = models.NewOperationSearch().SetBaseOperationType(constvar.BaseOperationTypeDisuse).MaxAutoIncr() + case constvar.CodeStandardType_TakeStock: + maxAutoIncr, err = models.NewOperationSearch().SetBaseOperationType(constvar.BaseOperationTypeAdjust).MaxAutoIncr() default: err = errors.New("缂栫爜瑙勫垯涓嶅瓨鍦�") return -- Gitblit v1.8.0