From 67f3795ea8eff9856ed2d91b01a63adf05ab9dbc Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期一, 08 一月 2024 14:38:40 +0800
Subject: [PATCH] 省市初始化数据

---
 api/v1/code.go |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/api/v1/code.go b/api/v1/code.go
index 2514e44..a94cb5a 100644
--- a/api/v1/code.go
+++ b/api/v1/code.go
@@ -122,6 +122,8 @@
 		id, err = model.NewServiceOrderSearch().MaxAutoIncr()
 	case constvar.CodeStandardTypeServerFollow:
 		id, err = model.NewServiceFollowupSearch().MaxAutoIncr()
+	case constvar.CodeStandardTypeSaleInvoice:
+		id, err = model.NewInvoiceSearch().MaxAutoIncr()
 	default:
 		ctx.FailWithMsg(ecode.UnknownErr, "缂栫爜瑙勫垯涓嶅瓨鍦�")
 		return

--
Gitblit v1.8.0