This commit is contained in:
蒋海成 2025-03-12 15:58:23 +08:00
parent 9aa2b70c9c
commit e1287b2276

View File

@ -11,7 +11,7 @@ func GenerateContractNo(lastContractNo string) string {
prefix := time.Now().Format("2006-01-02") + "-"
if lastContractNo == "" {
return prefix + "-00001"
return prefix + "00001"
}
suffix := lastContractNo[11:]