From 69f0410081da54e6cea8a04a07fd0119a8edc623 Mon Sep 17 00:00:00 2001
From: liujiandao <274878379@qq.com>
Date: 星期六, 30 三月 2024 11:38:42 +0800
Subject: [PATCH] 采购单修改

---
 docs/swagger.yaml |  748 +++++++++++++++++++++++++++++++++++++++++++++++++++------
 1 files changed, 665 insertions(+), 83 deletions(-)

diff --git a/docs/swagger.yaml b/docs/swagger.yaml
index 2d47c09..37c765c 100644
--- a/docs/swagger.yaml
+++ b/docs/swagger.yaml
@@ -1,4 +1,45 @@
 definitions:
+  code.CodeAuto:
+    properties:
+      AutoLength:
+        type: integer
+      Desc:
+        type: string
+      PrefixMethod:
+        type: integer
+      PrefixValue:
+        type: string
+      SuffixMethod:
+        type: integer
+    type: object
+  code.CodeRule:
+    properties:
+      Desc:
+        type: string
+      Length:
+        type: integer
+      Name:
+        type: string
+    type: object
+  code.CodeStandard:
+    properties:
+      AutoRule:
+        $ref: '#/definitions/code.CodeAuto'
+      ID:
+        type: string
+      List:
+        items:
+          $ref: '#/definitions/code.CodeRule'
+        type: array
+      Method:
+        type: integer
+      Name:
+        type: string
+      Status:
+        type: string
+      Type:
+        type: string
+    type: object
   config.CORS:
     properties:
       mode:
@@ -359,19 +400,28 @@
     - 3
     - 4
     - 5
+    - 6
+    - 7
+    - 8
     type: integer
     x-enum-comments:
       OrderStatusCanceled: 宸插彇娑�
       OrderStatusCompleted: 宸插畬鎴�
       OrderStatusConfirmed: 寰呯‘璁�
+      OrderStatusPartReceive: 閮ㄥ垎鏀惰揣
       OrderStatusReceived: 寰呭叆搴�
       OrderStatusStored: 宸插叆搴�
+      OrderStatusWaitQuality: 寰呰川妫�
+      OrderStatusWaitReceive: 寰呮敹璐�
     x-enum-varnames:
     - OrderStatusConfirmed
     - OrderStatusReceived
     - OrderStatusStored
     - OrderStatusCompleted
     - OrderStatusCanceled
+    - OrderStatusWaitReceive
+    - OrderStatusPartReceive
+    - OrderStatusWaitQuality
   purchase.PriceAdjustmentType:
     enum:
     - 1
@@ -401,7 +451,8 @@
         type: string
       id:
         description: 涓婚敭ID
-        type: integer
+        example: "0"
+        type: string
       invoiceAmount:
         description: 宸叉敹绁ㄩ噾棰�
         type: number
@@ -431,13 +482,14 @@
         - $ref: '#/definitions/purchase.PriceAdjustmentType'
         description: 浠锋牸璋冩暣绫诲瀷
       principal:
-        description: 閲囪喘璐熻矗浜�
+        description: 浠撳簱璐熻矗浜�
         type: string
       purchaseType:
         $ref: '#/definitions/purchase.PurchaseType'
       purchaseTypeId:
         description: 閲囪喘绫诲瀷id
-        type: integer
+        example: "0"
+        type: string
       quantity:
         description: 閲囪喘鏁伴噺
         type: number
@@ -453,6 +505,9 @@
       signingDate:
         description: 绛剧害鏃ユ湡
         type: string
+      sourceOrder:
+        description: 鏉ユ簮鍗曟嵁 ,閿�鍞槑缁嗙紪鐮�
+        type: string
       status:
         allOf:
         - $ref: '#/definitions/purchase.OrderStatus'
@@ -461,7 +516,8 @@
         $ref: '#/definitions/test.Supplier'
       supplierId:
         description: 渚涘簲鍟唅d
-        type: integer
+        example: "0"
+        type: string
       totalPrice:
         description: 浠风◣鍚堣
         type: number
@@ -473,6 +529,9 @@
       warehouse:
         description: 鏀惰揣浠撳簱
         type: string
+      warehouseAddress:
+        description: 鏀惰揣浠撳簱鍦板潃
+        type: string
       wholeDiscount:
         description: 鏁村崟鎶樻墸鍊�
         type: number
@@ -480,6 +539,42 @@
         allOf:
         - $ref: '#/definitions/purchase.WholeDiscountType'
         description: 鏁村崟鎶樻墸绫诲瀷
+    type: object
+  purchase.PurchaseProductConfirm:
+    properties:
+      amount:
+        type: number
+      created_at:
+        type: string
+      id:
+        description: 涓婚敭ID
+        example: "0"
+        type: string
+      notReceiveAmount:
+        type: number
+      nowReceiveAmount:
+        description: 鏈鏀惰揣鏁伴噺
+        type: number
+      overReceiveAmount:
+        type: number
+      principal:
+        type: string
+      productId:
+        type: string
+      productName:
+        type: string
+      purchaseNumber:
+        type: string
+      specs:
+        type: string
+      surplusReceiveAmount:
+        type: number
+      type:
+        type: string
+      unit:
+        type: string
+      updated_at:
+        type: string
     type: object
   purchase.PurchaseProducts:
     properties:
@@ -496,7 +591,7 @@
         type: number
       productId:
         description: 浜у搧id
-        type: string
+        type: integer
       purchaseId:
         description: 閲囪喘id
         type: integer
@@ -515,7 +610,8 @@
         type: string
       id:
         description: 涓婚敭ID
-        type: integer
+        example: "0"
+        type: string
       name:
         description: 閲囪喘绫诲瀷
         type: string
@@ -539,6 +635,25 @@
     x-enum-varnames:
     - WholeDiscountTypePercent
     - WholeDiscountTypeDiscount
+  purchase_wms.SrmGetWarehouseInfoResponse:
+    properties:
+      info:
+        items:
+          $ref: '#/definitions/purchase_wms.SrmWarehouseInfo'
+        type: array
+    type: object
+  purchase_wms.SrmWarehouseInfo:
+    properties:
+      address:
+        description: 浠撳簱鍦板潃
+        type: string
+      name:
+        description: 浠撳簱鍚�
+        type: string
+      principal:
+        description: 浠撳簱璐熻矗浜�
+        type: string
+    type: object
   purchaserequest.AddPurchase:
     properties:
       productList:
@@ -547,6 +662,19 @@
         type: array
       purchase:
         $ref: '#/definitions/purchaserequest.Purchase'
+    type: object
+  purchaserequest.GetQualityInspectionInfo:
+    properties:
+      purchaseNumber:
+        type: string
+      status:
+        items:
+          type: integer
+        type: array
+      times:
+        items:
+          type: string
+        type: array
     type: object
   purchaserequest.Purchase:
     properties:
@@ -558,12 +686,16 @@
         type: string
       id:
         description: 涓婚敭ID
-        type: integer
+        example: "0"
+        type: string
       name:
         description: 閲囪喘鍚嶇О
         type: string
       number:
         description: 閲囪喘缂栧彿
+        type: string
+      orderSource:
+        description: 鍗曟嵁鏉ユ簮
         type: string
       phone:
         description: 鑱旂郴浜虹數璇�
@@ -575,9 +707,13 @@
         allOf:
         - $ref: '#/definitions/purchase.PriceAdjustmentType'
         description: 浠锋牸璋冩暣绫诲瀷
+      principal:
+        description: 浠撳簱璐熻矗浜�
+        type: string
       purchaseTypeId:
         description: 閲囪喘绫诲瀷id
-        type: integer
+        example: "0"
+        type: string
       quantity:
         description: 閲囪喘鏁伴噺
         type: number
@@ -590,16 +726,26 @@
       signingDate:
         description: 绛剧害鏃ユ湡
         type: string
+      sourceOrder:
+        description: 鏉ユ簮鍗曟嵁
+        type: string
       status:
         allOf:
         - $ref: '#/definitions/purchase.OrderStatus'
         description: 鐘舵��
       supplierId:
         description: 渚涘簲鍟唅d
-        type: integer
+        example: "0"
+        type: string
       totalPrice:
         description: 浠风◣鍚堣
         type: number
+      warehouse:
+        description: 鏀惰揣浠撳簱
+        type: string
+      warehouseAddress:
+        description: 鏀惰揣浠撳簱鍦板潃
+        type: string
       wholeDiscount:
         description: 鏁村崟鎶樻墸鍊�
         type: number
@@ -608,11 +754,39 @@
         - $ref: '#/definitions/purchase.WholeDiscountType'
         description: 鏁村崟鎶樻墸绫诲瀷
     type: object
+  purchaserequest.PurchaseProductConfirmInfo:
+    properties:
+      amount:
+        type: number
+      notReceiveAmount:
+        type: number
+      nowReceiveAmount:
+        type: number
+      overReceiveAmount:
+        type: number
+      principal:
+        type: string
+      productId:
+        type: string
+      productName:
+        type: string
+      purchaseNumber:
+        type: string
+      specs:
+        type: string
+      surplusReceiveAmount:
+        type: number
+      type:
+        type: string
+      unit:
+        type: string
+    type: object
   purchaserequest.PurchaseType:
     properties:
       id:
         description: 涓婚敭ID
-        type: integer
+        example: "0"
+        type: string
       name:
         description: 閲囪喘绫诲瀷
         type: string
@@ -623,6 +797,24 @@
         description: 鎺掑簭
         type: integer
     type: object
+  purchaserequest.SaveQualityInspectionInfo:
+    properties:
+      ids:
+        items:
+          type: integer
+        type: array
+      purchaseId:
+        type: integer
+      status:
+        type: integer
+    type: object
+  purchaserequest.SubmitPurchase:
+    properties:
+      id:
+        type: integer
+      status:
+        $ref: '#/definitions/purchase.OrderStatus'
+    type: object
   purchaserequest.UpdatePurchase:
     properties:
       productList:
@@ -631,12 +823,6 @@
         type: array
       purchase:
         $ref: '#/definitions/purchaserequest.Purchase'
-    type: object
-  request.GetById:
-    properties:
-      id:
-        description: 涓婚敭ID
-        type: integer
     type: object
   request.IdsReq:
     properties:
@@ -702,6 +888,43 @@
           $ref: '#/definitions/test.SupplierType'
         type: array
     type: object
+  response.InWarehouseInfo:
+    properties:
+      name:
+        description: 浜у搧鍚嶇О
+        type: string
+      number:
+        description: 浜у搧缂栫爜
+        type: string
+      operationNumber:
+        description: 鍏ュ簱鍗曞彿
+        type: string
+      overAmount:
+        description: 鍏ュ簱鏁�
+        type: integer
+      overTime:
+        description: 鍏ュ簱鏃堕棿
+        type: string
+      principal:
+        description: 璐熻矗浜�
+        type: string
+      status:
+        type: integer
+      warehouseName:
+        description: 浠撳簱鍚�
+        type: string
+    type: object
+  response.OperationInfo:
+    properties:
+      inWarehouseInfos:
+        items:
+          $ref: '#/definitions/response.InWarehouseInfo'
+        type: array
+      productInfos:
+        items:
+          $ref: '#/definitions/response.ProductInfo'
+        type: array
+    type: object
   response.PageResult:
     properties:
       list: {}
@@ -711,6 +934,39 @@
         type: integer
       total:
         type: integer
+    type: object
+  response.ProductInfo:
+    properties:
+      amount:
+        description: 閲囪喘鏁�
+        type: number
+      modelNumber:
+        description: 鍨嬪彿
+        type: string
+      name:
+        description: 浜у搧鍚嶇О
+        type: string
+      number:
+        description: 浜у搧缂栫爜
+        type: string
+      overAmount:
+        description: 鍏ュ簱鏁�
+        type: integer
+      purchasePrice:
+        description: 鍗曚环
+        type: number
+      sendAmount:
+        description: 鏀惰揣鏁�
+        type: integer
+      specifications:
+        description: 瑙勬牸
+        type: string
+      total:
+        description: 鎬讳环
+        type: number
+      unit:
+        description: 鍗曚綅
+        type: string
     type: object
   response.PurchaseProducts:
     properties:
@@ -738,6 +994,9 @@
         type: integer
       purchasePrice:
         type: number
+      remark:
+        description: 鎻忚堪
+        type: string
       shippingDuration:
         type: integer
       specifications:
@@ -764,6 +1023,12 @@
       data: {}
       msg:
         type: string
+    type: object
+  srm_model_common_request.GetById:
+    properties:
+      id:
+        description: 涓婚敭ID
+        type: integer
     type: object
   system.System:
     properties:
@@ -834,7 +1099,8 @@
         type: integer
       id:
         description: 涓婚敭ID
-        type: integer
+        example: "0"
+        type: string
       industry:
         type: string
       name:
@@ -911,6 +1177,68 @@
   title: Swagger Example API
   version: 0.0.1
 paths:
+  /code/getAutoCode:
+    post:
+      parameters:
+      - description: 鍙傛暟
+        in: body
+        name: object
+        required: true
+        schema:
+          $ref: '#/definitions/code.CodeStandard'
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: OK
+          schema:
+            allOf:
+            - $ref: '#/definitions/response.Response'
+            - properties:
+                data:
+                  additionalProperties: true
+                  type: object
+              type: object
+      summary: 鑾峰彇鑷姩缂栫爜
+      tags:
+      - 缂栫爜
+  /code/getCodeList:
+    get:
+      parameters:
+      - in: query
+        name: codeStandID
+        type: string
+      - in: query
+        name: name
+        type: string
+      - description: 椤电爜
+        in: query
+        name: page
+        type: integer
+      - description: 姣忛〉澶у皬
+        in: query
+        name: pageSize
+        type: integer
+      - in: query
+        name: type
+        type: string
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: OK
+          schema:
+            allOf:
+            - $ref: '#/definitions/response.Response'
+            - properties:
+                data:
+                  items:
+                    $ref: '#/definitions/code.CodeStandard'
+                  type: array
+              type: object
+      summary: 鑾峰彇缂栫爜鍒楄〃
+      tags:
+      - 缂栫爜
   /con/createContract:
     post:
       consumes:
@@ -982,39 +1310,6 @@
       security:
       - ApiKeyAuth: []
       summary: 鎵归噺鍒犻櫎Contract
-      tags:
-      - Contract
-  /con/downloadContract:
-    get:
-      consumes:
-      - application/json
-      parameters:
-      - in: query
-        name: created_at
-        type: string
-      - in: query
-        name: fileName
-        type: string
-      - description: 涓婚敭ID
-        in: query
-        name: id
-        type: integer
-      - in: query
-        name: supplierID
-        type: integer
-      - in: query
-        name: updated_at
-        type: string
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: '{"success":true,"data":{},"msg":"涓嬭浇鎴愬姛"}'
-          schema:
-            type: string
-      security:
-      - ApiKeyAuth: []
-      summary: 涓嬭浇Contract
       tags:
       - Contract
   /con/findContract:
@@ -1101,7 +1396,30 @@
       summary: 鍒嗛〉鑾峰彇Contract鍒楄〃
       tags:
       - Contract
-  /con/previewContract:
+  /con/updateContract:
+    put:
+      consumes:
+      - application/json
+      parameters:
+      - description: 鏇存柊Contract
+        in: body
+        name: data
+        required: true
+        schema:
+          $ref: '#/definitions/test.Contract'
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: '{"success":true,"data":{},"msg":"鏇存柊鎴愬姛"}'
+          schema:
+            type: string
+      security:
+      - ApiKeyAuth: []
+      summary: 鏇存柊Contract
+      tags:
+      - Contract
+  /downloadContract:
     get:
       consumes:
       - application/json
@@ -1126,35 +1444,12 @@
       - application/json
       responses:
         "200":
-          description: '{"success":true,"data":{},"msg":"棰勮鎴愬姛"}'
+          description: '{"success":true,"data":{},"msg":"涓嬭浇鎴愬姛"}'
           schema:
             type: string
       security:
       - ApiKeyAuth: []
-      summary: 棰勮Contract
-      tags:
-      - Contract
-  /con/updateContract:
-    put:
-      consumes:
-      - application/json
-      parameters:
-      - description: 鏇存柊Contract
-        in: body
-        name: data
-        required: true
-        schema:
-          $ref: '#/definitions/test.Contract'
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: '{"success":true,"data":{},"msg":"鏇存柊鎴愬姛"}'
-          schema:
-            type: string
-      security:
-      - ApiKeyAuth: []
-      summary: 鏇存柊Contract
+      summary: 涓嬭浇Contract
       tags:
       - Contract
   /i/createIndustry:
@@ -1596,7 +1891,7 @@
         name: data
         required: true
         schema:
-          $ref: '#/definitions/request.GetById'
+          $ref: '#/definitions/srm_model_common_request.GetById'
       produces:
       - application/json
       responses:
@@ -1709,6 +2004,11 @@
       - in: query
         name: unit
         type: string
+      - description: token
+        in: header
+        name: Authorization
+        required: true
+        type: string
       produces:
       - application/json
       responses:
@@ -1812,6 +2112,195 @@
       summary: 鏇存柊Product
       tags:
       - Product
+  /previewContract:
+    get:
+      consumes:
+      - application/json
+      parameters:
+      - in: query
+        name: created_at
+        type: string
+      - in: query
+        name: fileName
+        type: string
+      - description: 涓婚敭ID
+        in: query
+        name: id
+        type: integer
+      - in: query
+        name: supplierID
+        type: integer
+      - in: query
+        name: updated_at
+        type: string
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: '{"success":true,"data":{},"msg":"棰勮鎴愬姛"}'
+          schema:
+            type: string
+      security:
+      - ApiKeyAuth: []
+      summary: 棰勮Contract
+      tags:
+      - Contract
+  /purchase/allProductInWarehouse:
+    post:
+      consumes:
+      - application/json
+      parameters:
+      - description: 鍙傛暟
+        in: body
+        name: data
+        required: true
+        schema:
+          $ref: '#/definitions/purchaserequest.PurchaseProductConfirmInfo'
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: 鑾峰彇纭淇℃伅
+          schema:
+            $ref: '#/definitions/response.Response'
+      security:
+      - ApiKeyAuth: []
+      summary: 鍏ㄩ儴鍚堟牸鍏ュ簱
+      tags:
+      - Purchase
+  /purchase/getOperationInfo/{id}:
+    get:
+      consumes:
+      - application/json
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: 鑾峰彇鎿嶄綔淇℃伅
+          schema:
+            allOf:
+            - $ref: '#/definitions/response.Response'
+            - properties:
+                data:
+                  items:
+                    $ref: '#/definitions/response.OperationInfo'
+                  type: array
+              type: object
+      security:
+      - ApiKeyAuth: []
+      summary: 鑾峰彇鎿嶄綔淇℃伅
+      tags:
+      - Purchase
+  /purchase/getPurchaseProductConfirmInfo/{number}:
+    get:
+      consumes:
+      - application/json
+      parameters:
+      - description: 閲囪喘鍗曠紪鐮�
+        in: path
+        name: number
+        required: true
+        type: string
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: 鑾峰彇纭淇℃伅
+          schema:
+            allOf:
+            - $ref: '#/definitions/response.Response'
+            - properties:
+                data:
+                  items:
+                    $ref: '#/definitions/purchase.PurchaseProductConfirm'
+                  type: array
+              type: object
+      security:
+      - ApiKeyAuth: []
+      summary: 鑾峰彇纭淇℃伅
+      tags:
+      - Purchase
+  /purchase/getPurchaseQualityInspectionInfo:
+    post:
+      consumes:
+      - application/json
+      parameters:
+      - description: 鍙傛暟
+        in: body
+        name: data
+        required: true
+        schema:
+          $ref: '#/definitions/purchaserequest.GetQualityInspectionInfo'
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: 鑾峰彇纭淇℃伅
+          schema:
+            allOf:
+            - $ref: '#/definitions/response.Response'
+            - properties:
+                data:
+                  items:
+                    $ref: '#/definitions/purchase.PurchaseProductConfirm'
+                  type: array
+              type: object
+      security:
+      - ApiKeyAuth: []
+      summary: 鑾峰彇閲囪喘璐ㄦ淇℃伅淇℃伅
+      tags:
+      - Purchase
+  /purchase/getWarehouseInfo:
+    get:
+      consumes:
+      - application/json
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: 鑾峰彇閲囪喘绫诲瀷鍒楄〃
+          schema:
+            allOf:
+            - $ref: '#/definitions/response.Response'
+            - properties:
+                data:
+                  items:
+                    $ref: '#/definitions/purchase_wms.SrmGetWarehouseInfoResponse'
+                  type: array
+              type: object
+      security:
+      - ApiKeyAuth: []
+      summary: 鑾峰彇浠撳簱鍒楄〃
+      tags:
+      - Purchase
+  /purchase/newSubmit:
+    post:
+      consumes:
+      - application/json
+      parameters:
+      - description: 鍙傛暟
+        in: body
+        name: data
+        required: true
+        schema:
+          $ref: '#/definitions/purchaserequest.SubmitPurchase'
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: 鏂扮増鎻愪氦
+          schema:
+            allOf:
+            - $ref: '#/definitions/response.Response'
+            - properties:
+                msg:
+                  type: string
+              type: object
+      security:
+      - ApiKeyAuth: []
+      summary: 鏂扮増鎻愪氦
+      tags:
+      - Purchase
   /purchase/purchase:
     post:
       consumes:
@@ -1939,6 +2428,10 @@
         in: query
         name: pageSize
         type: integer
+      - description: 渚涘簲鍟唅d
+        in: query
+        name: supplierId
+        type: integer
       produces:
       - application/json
       responses:
@@ -2030,6 +2523,10 @@
         in: query
         name: pageSize
         type: integer
+      - description: 渚涘簲鍟唅d
+        in: query
+        name: supplierId
+        type: integer
       produces:
       - application/json
       responses:
@@ -2049,16 +2546,77 @@
       summary: 鍒嗛〉鑾峰彇璐ㄦ鍗曞垪琛�
       tags:
       - QualityInspect
+  /purchase/savePurchaseProductConfirm:
+    post:
+      consumes:
+      - application/json
+      parameters:
+      - description: list
+        in: body
+        name: data
+        required: true
+        schema:
+          items:
+            $ref: '#/definitions/purchaserequest.PurchaseProductConfirmInfo'
+          type: array
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: 纭鏀惰揣
+          schema:
+            allOf:
+            - $ref: '#/definitions/response.Response'
+            - properties:
+                msg:
+                  type: string
+              type: object
+      security:
+      - ApiKeyAuth: []
+      summary: 纭鏀惰揣
+      tags:
+      - Purchase
+  /purchase/savePurchaseQualityInspectionInfo:
+    post:
+      consumes:
+      - application/json
+      parameters:
+      - description: 鍙傛暟
+        in: body
+        name: data
+        required: true
+        schema:
+          $ref: '#/definitions/purchaserequest.SaveQualityInspectionInfo'
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: 鑾峰彇纭淇℃伅
+          schema:
+            allOf:
+            - $ref: '#/definitions/response.Response'
+            - properties:
+                data:
+                  items:
+                    $ref: '#/definitions/purchase.PurchaseProductConfirm'
+                  type: array
+              type: object
+      security:
+      - ApiKeyAuth: []
+      summary: 淇濆瓨閲囪喘璐ㄦ淇℃伅淇℃伅
+      tags:
+      - Purchase
   /purchase/submit:
     post:
       consumes:
       - application/json
       parameters:
-      - description: 閲囪喘鍗旾D
-        in: path
-        name: id
+      - description: 鍙傛暟
+        in: body
+        name: data
         required: true
-        type: integer
+        schema:
+          $ref: '#/definitions/purchaserequest.SubmitPurchase'
       produces:
       - application/json
       responses:
@@ -2198,9 +2756,10 @@
         name: fileId
         type: integer
       - description: 涓婚敭ID
+        example: "0"
         in: query
         name: id
-        type: integer
+        type: string
       - in: query
         name: industry
         type: string
@@ -2240,6 +2799,28 @@
       summary: 鐢╥d鏌ヨSupplier
       tags:
       - Supplier
+  /s/getSupplierByNumber/{number}:
+    get:
+      consumes:
+      - application/json
+      parameters:
+      - description: 渚涘簲鍟嗙紪鐮�
+        in: path
+        name: number
+        required: true
+        type: string
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: '{"success":true,"data":{},"msg":"鏌ヨ鎴愬姛"}'
+          schema:
+            type: string
+      security:
+      - ApiKeyAuth: []
+      summary: 鐢ㄧ紪鐮佹煡璇upplier
+      tags:
+      - Supplier
   /s/getSupplierList:
     get:
       consumes:
@@ -2273,9 +2854,10 @@
         name: fileId
         type: integer
       - description: 涓婚敭ID
+        example: "0"
         in: query
         name: id
-        type: integer
+        type: string
       - in: query
         name: industry
         type: string

--
Gitblit v1.8.0