From c950586b718ae6fc198bedf424609a4ac94cb5d1 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期四, 04 七月 2024 18:16:07 +0800 Subject: [PATCH] 增加根据位置或仓库查询产品及库存列表 --- 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