From b24a62470d1c937dcd033728b05a47ad3e13500d Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期二, 05 十二月 2023 10:40:14 +0800
Subject: [PATCH] dashboard字段更新

---
 model/dashboard.go |    1 
 docs/swagger.yaml  |   20 ++++++++-
 docs/docs.go       |   25 ++++++++++--
 docs/swagger.json  |   25 ++++++++++--
 4 files changed, 60 insertions(+), 11 deletions(-)

diff --git a/docs/docs.go b/docs/docs.go
index 7afc936..b9d034b 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -1828,21 +1828,33 @@
         "model.WorkOrderStats": {
             "type": "object",
             "properties": {
+                "amount": {
+                    "description": "鐢熶骇鏁伴噺",
+                    "type": "integer"
+                },
                 "delayDays": {
                     "description": "寤舵湡澶╂暟",
+                    "type": "integer"
+                },
+                "finishProcedureNum": {
+                    "description": "宸插畬鎴愬伐搴忔暟閲�",
                     "type": "integer"
                 },
                 "number": {
                     "description": "缂栧彿",
                     "type": "string"
                 },
-                "percent": {
-                    "description": "瀹屾垚杩涘害",
-                    "type": "integer"
-                },
                 "planTime": {
                     "description": "璁″垝鏃堕棿",
                     "type": "string"
+                },
+                "procedureNum": {
+                    "description": "宸ュ簭鏁伴噺",
+                    "type": "integer"
+                },
+                "processingProcedureNum": {
+                    "description": "杩涜涓伐搴忔暟閲�",
+                    "type": "integer"
                 },
                 "product": {
                     "description": "浜у搧",
@@ -1858,18 +1870,23 @@
             "type": "object",
             "properties": {
                 "defective": {
+                    "description": "娆″搧鏁伴噺",
                     "type": "integer"
                 },
                 "name": {
+                    "description": "杞﹂棿鍚嶇О",
                     "type": "string"
                 },
                 "percent": {
+                    "description": "姝e搧鐜�",
                     "type": "integer"
                 },
                 "qualified": {
+                    "description": "姝e搧鏁伴噺",
                     "type": "integer"
                 },
                 "total": {
+                    "description": "鐢熶骇鎬绘暟",
                     "type": "integer"
                 }
             }
diff --git a/docs/swagger.json b/docs/swagger.json
index 4c97e53..5f0c149 100644
--- a/docs/swagger.json
+++ b/docs/swagger.json
@@ -1816,21 +1816,33 @@
         "model.WorkOrderStats": {
             "type": "object",
             "properties": {
+                "amount": {
+                    "description": "鐢熶骇鏁伴噺",
+                    "type": "integer"
+                },
                 "delayDays": {
                     "description": "寤舵湡澶╂暟",
+                    "type": "integer"
+                },
+                "finishProcedureNum": {
+                    "description": "宸插畬鎴愬伐搴忔暟閲�",
                     "type": "integer"
                 },
                 "number": {
                     "description": "缂栧彿",
                     "type": "string"
                 },
-                "percent": {
-                    "description": "瀹屾垚杩涘害",
-                    "type": "integer"
-                },
                 "planTime": {
                     "description": "璁″垝鏃堕棿",
                     "type": "string"
+                },
+                "procedureNum": {
+                    "description": "宸ュ簭鏁伴噺",
+                    "type": "integer"
+                },
+                "processingProcedureNum": {
+                    "description": "杩涜涓伐搴忔暟閲�",
+                    "type": "integer"
                 },
                 "product": {
                     "description": "浜у搧",
@@ -1846,18 +1858,23 @@
             "type": "object",
             "properties": {
                 "defective": {
+                    "description": "娆″搧鏁伴噺",
                     "type": "integer"
                 },
                 "name": {
+                    "description": "杞﹂棿鍚嶇О",
                     "type": "string"
                 },
                 "percent": {
+                    "description": "姝e搧鐜�",
                     "type": "integer"
                 },
                 "qualified": {
+                    "description": "姝e搧鏁伴噺",
                     "type": "integer"
                 },
                 "total": {
+                    "description": "鐢熶骇鎬绘暟",
                     "type": "integer"
                 }
             }
diff --git a/docs/swagger.yaml b/docs/swagger.yaml
index 9e77c3d..ed8d041 100644
--- a/docs/swagger.yaml
+++ b/docs/swagger.yaml
@@ -632,18 +632,27 @@
     type: object
   model.WorkOrderStats:
     properties:
+      amount:
+        description: 鐢熶骇鏁伴噺
+        type: integer
       delayDays:
         description: 寤舵湡澶╂暟
+        type: integer
+      finishProcedureNum:
+        description: 宸插畬鎴愬伐搴忔暟閲�
         type: integer
       number:
         description: 缂栧彿
         type: string
-      percent:
-        description: 瀹屾垚杩涘害
-        type: integer
       planTime:
         description: 璁″垝鏃堕棿
         type: string
+      procedureNum:
+        description: 宸ュ簭鏁伴噺
+        type: integer
+      processingProcedureNum:
+        description: 杩涜涓伐搴忔暟閲�
+        type: integer
       product:
         description: 浜у搧
         type: string
@@ -654,14 +663,19 @@
   model.WorkshopStats:
     properties:
       defective:
+        description: 娆″搧鏁伴噺
         type: integer
       name:
+        description: 杞﹂棿鍚嶇О
         type: string
       percent:
+        description: 姝e搧鐜�
         type: integer
       qualified:
+        description: 姝e搧鏁伴噺
         type: integer
       total:
+        description: 鐢熶骇鎬绘暟
         type: integer
     type: object
   problem.CheckResult:
diff --git a/model/dashboard.go b/model/dashboard.go
index c1f1683..0beed25 100644
--- a/model/dashboard.go
+++ b/model/dashboard.go
@@ -64,6 +64,7 @@
 		Number                 string //缂栧彿
 		Product                string //浜у搧
 		Scale                  string //瑙勬牸
+		Amount                 int64  //鐢熶骇鏁伴噺
 		PlanTime               string //璁″垝鏃堕棿
 		DelayDays              int    //寤舵湡澶╂暟
 		ProcedureNum           int    //宸ュ簭鏁伴噺

--
Gitblit v1.8.0