From 116948bcec330a6dde841708515c222fcebf51a7 Mon Sep 17 00:00:00 2001 From: jiangshuai <291802688@qq.com> Date: 星期二, 06 二月 2024 10:12:10 +0800 Subject: [PATCH] Merge branch 'master' of http://192.168.5.5:10010/r/aps/crm --- docs/swagger.yaml | 167 +++++++++++++++++++++++++++++++++++++++++++++++++------ 1 files changed, 147 insertions(+), 20 deletions(-) diff --git a/docs/swagger.yaml b/docs/swagger.yaml index 853f908..cd49b10 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -1118,16 +1118,22 @@ properties: amount: type: number + cost: + type: string desc: type: string id: type: integer + margin: + type: string name: type: string number: type: string price: type: number + profit: + type: string total: type: number unit: @@ -1146,6 +1152,9 @@ type: object model.Quotation: properties: + amountTotal: + description: 浠锋牸鍚堣 + type: number client: $ref: '#/definitions/model.Client' client_id: @@ -2111,6 +2120,17 @@ $ref: '#/definitions/model.Product' type: array type: object + model.SystemSet: + properties: + id: + type: integer + modeType: + type: string + name: + type: string + value: + type: string + type: object model.TimeSpent: properties: id: @@ -2207,23 +2227,6 @@ description: 鍨嬪彿 type: string Unit: - type: string - type: object - product.WorkOrderInfo: - properties: - EndTime: - type: string - OrderId: - type: string - OrderStatus: - type: string - ProductName: - type: string - StartTime: - type: string - WorkOrderId: - type: string - WorkOrderStatus: type: string type: object request.AddAccountId: @@ -4154,6 +4157,13 @@ allOf: - $ref: '#/definitions/constvar.SalesReturnSourceType' description: 婧愬崟绫诲瀷锛�1閿�鍞槑缁嗭級 + type: object + request.SaveSystemSet: + properties: + sets: + items: + $ref: '#/definitions/model.SystemSet' + type: array type: object request.SetAuthorityMenu: properties: @@ -6087,6 +6097,17 @@ $ref: '#/definitions/model.Industry' type: array type: object + response.Info: + properties: + makeInfo: + items: + $ref: '#/definitions/response.WorkOrderInfo' + type: array + purchaseInfo: + items: + $ref: '#/definitions/response.Purchase' + type: array + type: object response.IsInvoiceResponse: properties: list: @@ -6174,6 +6195,19 @@ items: $ref: '#/definitions/model.Province' type: array + type: object + response.Purchase: + properties: + amount: + type: integer + purchaseName: + type: string + purchaseNumber: + type: string + status: + type: integer + supplierName: + type: string type: object response.QuotationResponse: properties: @@ -6370,6 +6404,23 @@ items: $ref: '#/definitions/model.TimelyRate' type: array + type: object + response.WorkOrderInfo: + properties: + endTime: + type: string + orderId: + type: string + orderStatus: + type: string + productName: + type: string + startTime: + type: string + workOrderId: + type: string + workOrderStatus: + type: string type: object info: contact: {} @@ -9408,9 +9459,7 @@ - $ref: '#/definitions/contextx.Response' - properties: data: - items: - $ref: '#/definitions/product.WorkOrderInfo' - type: array + $ref: '#/definitions/response.Info' type: object summary: 鑾峰彇浜у搧璁㈠崟淇℃伅 tags: @@ -9456,6 +9505,10 @@ - description: 浜у搧缂栫爜 in: query name: productNumber + type: string + - description: 鎶ヤ环鍗曠紪鐮� + in: query + name: quotationNumber type: string produces: - application/json @@ -9632,6 +9685,25 @@ $ref: '#/definitions/response.QuotationResponse' type: object summary: 鎶ヤ环鍗曞垪琛� + tags: + - Quotation + /api/quotation/statistics: + get: + produces: + - application/json + responses: + "200": + description: OK + schema: + allOf: + - $ref: '#/definitions/contextx.Response' + - properties: + data: + additionalProperties: + type: integer + type: object + type: object + summary: 鎶ヤ环鍗曠粺璁� tags: - Quotation /api/quotation/update: @@ -12395,6 +12467,61 @@ summary: 鏇存柊瀛愯鍗� tags: - SubOrder + /api/system/getSystemSet: + get: + produces: + - application/json + responses: + "200": + description: 鎴愬姛 + schema: + allOf: + - $ref: '#/definitions/contextx.Response' + - properties: + data: + additionalProperties: true + type: object + type: object + summary: 鑾峰彇绯荤粺璁剧疆 + tags: + - 绯荤粺璁剧疆 + /api/system/saveSystemSet: + post: + parameters: + - description: 鏌ヨ鍙傛暟 + in: body + name: object + required: true + schema: + $ref: '#/definitions/request.SaveSystemSet' + produces: + - application/json + responses: + "200": + description: 鎴愬姛 + schema: + $ref: '#/definitions/contextx.Response' + summary: 淇濆瓨绯荤粺璁剧疆 + tags: + - 绯荤粺璁剧疆 + /api/system/useSystemSet/{modeType}: + get: + parameters: + - description: 鏌ヨ鍙傛暟 + in: path + name: modeType + required: true + type: string + produces: + - application/json + responses: + "200": + description: OK + schema: + $ref: '#/definitions/response.ListResponse' + summary: 浣跨敤绯荤粺璁剧疆 + tags: + - 绯荤粺璁剧疆 /api/timeSpent/add: post: parameters: -- Gitblit v1.8.0