From 05582688724c78bc70a7bc860193c67677f6c8cf Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期六, 28 十月 2023 10:46:37 +0800 Subject: [PATCH] Merge branch 'master' of http://192.168.5.5:10010/r/aps/crm --- 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