From d20acf38c36c11ee4428c3e74a17f5870dc61b51 Mon Sep 17 00:00:00 2001
From: liujiandao <274878379@qq.com>
Date: 星期四, 16 十一月 2023 09:51:00 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.5.5:10010/r/aps/SRM

---
 api/v1/purchase/quality_inspection.go |   23 +++++++++++++++++++++++
 1 files changed, 23 insertions(+), 0 deletions(-)

diff --git a/api/v1/purchase/quality_inspection.go b/api/v1/purchase/quality_inspection.go
index 539adef..3e38bc9 100644
--- a/api/v1/purchase/quality_inspection.go
+++ b/api/v1/purchase/quality_inspection.go
@@ -86,6 +86,29 @@
 }
 
 //
+//// QualityTest
+//// @Tags      QualityInspect
+//// @Summary   QualityTest
+//// @Security  ApiKeyAuth
+//// @accept    application/json
+//// @Produce   application/json
+//// @Success   200   {object}  response.Response{data=response.PageResult,msg=string}  "鍒嗛〉鑾峰彇璐ㄦ鍗曞垪琛�,杩斿洖鍖呮嫭鍒楄〃,鎬绘暟,椤电爜,姣忛〉鏁伴噺"
+//// @Router    /purchase/qualityTest [get]
+//func (e *QualityInspectApi) QualityTest(c *gin.Context) {
+//	client := quality.NewQualityServiceClient(qualityinspect.Conn)
+//	list, err := client.GetQualityStatusList(context.Background(), &quality.QualityStatusRequest{WorkOrderId: []string{"GD-0116", "GD-0117", "GD-0156"}})
+//	if err != nil {
+//		fmt.Println(err)
+//		response.FailWithMessage("鍐呴儴閿欒", c)
+//		return
+//	}
+//	for _, status := range list.List {
+//		fmt.Println(status)
+//	}
+//	response.Ok(c)
+//}
+
+//
 //// GetQualityInspect
 //// @Tags      QualityInspect
 //// @Summary   鑾峰彇鍗曚竴璐ㄦ鍗曚俊鎭�

--
Gitblit v1.8.0