修改
This commit is contained in:
parent
9aa2b70c9c
commit
e1287b2276
@ -11,7 +11,7 @@ func GenerateContractNo(lastContractNo string) string {
|
|||||||
prefix := time.Now().Format("2006-01-02") + "-"
|
prefix := time.Now().Format("2006-01-02") + "-"
|
||||||
|
|
||||||
if lastContractNo == "" {
|
if lastContractNo == "" {
|
||||||
return prefix + "-00001"
|
return prefix + "00001"
|
||||||
}
|
}
|
||||||
|
|
||||||
suffix := lastContractNo[11:]
|
suffix := lastContractNo[11:]
|
||||||
|
Loading…
Reference in New Issue
Block a user