From 8d7a2d55e0868db900c13c5eef0a3eb7f1a6eee2 Mon Sep 17 00:00:00 2001
From: liujiandao <274878379@qq.com>
Date: 星期三, 08 十一月 2023 09:50:55 +0800
Subject: [PATCH] 销售明细单从aps查询产品订单

---
 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