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