From 738f6c1aa8ba59fb666d347e02b5fb7f70491cf2 Mon Sep 17 00:00:00 2001
From: yinbentan <yinbentan@live.com>
Date: 星期一, 01 七月 2024 09:37:09 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/jialian' into jialian

---
 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