From 530fed8ec225453572d57b15c200ab062c335457 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期三, 01 十一月 2023 19:20:21 +0800
Subject: [PATCH] 公海member_id使用0

---
 model/util.go |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/model/util.go b/model/util.go
index 8ac7156..6c914a8 100644
--- a/model/util.go
+++ b/model/util.go
@@ -38,7 +38,7 @@
 	} else { // 鍥哄畾鍊�
 		prefixValue = codeStandard.AutoRule.PrefixValue
 	}
-	strMaxAutoIncr := strconv.Itoa(id)
+	strMaxAutoIncr := strconv.Itoa(id + 1)
 	count := int(codeStandard.AutoRule.AutoLength) - len(strMaxAutoIncr)
 	for i := 0; i < count; i++ {
 		strMaxAutoIncr = "0" + strMaxAutoIncr

--
Gitblit v1.8.0