liujiandao
2024-03-30 69f0410081da54e6cea8a04a07fd0119a8edc623
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: 供应商id
        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:
@@ -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: 供应商id
        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
@@ -622,6 +796,24 @@
      sort:
        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:
@@ -646,11 +838,40 @@
          $ref: '#/definitions/test.Industry'
        type: array
    type: object
  request.Product:
    properties:
      categoryName:
        type: string
      deliveryTime:
        type: integer
      modelNumber:
        type: string
      name:
        type: string
      number:
        type: string
      purchasePrice:
        type: number
      shippingDuration:
        type: integer
      specifications:
        type: string
      supplier:
        type: string
      supplierId:
        type: integer
      supplierName:
        type: string
      supplierNumber:
        type: string
      unit:
        type: string
    type: object
  request.ProductCreate:
    properties:
      list:
        items:
          $ref: '#/definitions/test.Product'
          $ref: '#/definitions/request.Product'
        type: array
    type: object
  request.SupplierStatus:
@@ -667,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: {}
@@ -676,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:
@@ -703,6 +994,9 @@
        type: integer
      purchasePrice:
        type: number
      remark:
        description: 描述
        type: string
      shippingDuration:
        type: integer
      specifications:
@@ -729,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:
@@ -777,46 +1077,6 @@
      uuid:
        type: string
    type: object
  test.Product:
    properties:
      created_at:
        type: string
      deliveryTime:
        type: integer
      id:
        description: 主键ID
        type: integer
      maximumStock:
        type: integer
      minimumStock:
        type: integer
      modelNumber:
        type: string
      name:
        type: string
      number:
        type: string
      productType:
        type: string
      purchasePrice:
        type: number
      remark:
        type: string
      shippingDuration:
        type: integer
      specifications:
        type: string
      supplier:
        $ref: '#/definitions/test.Supplier'
      supplierId:
        type: integer
      supplierName:
        type: string
      unit:
        type: string
      updated_at:
        type: string
    type: object
  test.Supplier:
    properties:
      account:
@@ -839,7 +1099,8 @@
        type: integer
      id:
        description: 主键ID
        type: integer
        example: "0"
        type: string
      industry:
        type: string
      name:
@@ -857,6 +1118,45 @@
      updated_at:
        type: string
      url:
        type: string
    type: object
  test.SupplierMaterial:
    properties:
      categoryName:
        description: 产品类别名称
        type: string
      created_at:
        type: string
      deliveryTime:
        description: 供货时长
        type: integer
      id:
        description: 主键ID
        type: integer
      maximumStock:
        type: integer
      minimumStock:
        type: integer
      modelNumber:
        type: string
      name:
        type: string
      number:
        type: string
      purchasePrice:
        type: number
      shippingDuration:
        description: 物流时长
        type: integer
      specifications:
        type: string
      supplier:
        $ref: '#/definitions/test.Supplier'
      supplierId:
        type: integer
      unit:
        type: string
      updated_at:
        type: string
    type: object
  test.SupplierType:
@@ -877,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:
@@ -948,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:
@@ -1067,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
@@ -1092,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:
@@ -1562,7 +1891,7 @@
        name: data
        required: true
        schema:
          $ref: '#/definitions/test.Product'
          $ref: '#/definitions/srm_model_common_request.GetById'
      produces:
      - application/json
      responses:
@@ -1603,58 +1932,10 @@
      consumes:
      - application/json
      parameters:
      - in: query
        name: created_at
        type: string
      - in: query
        name: deliveryTime
        type: integer
      - description: 主键ID
        in: query
        name: id
        type: integer
      - in: query
        name: maximumStock
        type: integer
      - in: query
        name: minimumStock
        type: integer
      - in: query
        name: modelNumber
        type: string
      - in: query
        name: name
        type: string
      - in: query
        name: number
        type: string
      - in: query
        name: productType
        type: string
      - in: query
        name: purchasePrice
        type: number
      - in: query
        name: remark
        type: string
      - in: query
        name: shippingDuration
        type: integer
      - in: query
        name: specifications
        type: string
      - in: query
        name: supplierId
        type: integer
      - in: query
        name: supplierName
        type: string
      - in: query
        name: unit
        type: string
      - in: query
        name: updated_at
        type: string
      produces:
      - application/json
      responses:
@@ -1673,28 +1954,15 @@
      - application/json
      parameters:
      - in: query
        name: created_at
        name: categoryName
        type: string
      - in: query
        name: deliveryTime
        type: integer
      - in: query
        name: endCreatedAt
        type: string
      - description: 主键ID
        in: query
        name: id
        type: integer
      - description: 关键字
        in: query
        name: keyword
        type: string
      - in: query
        name: maximumStock
        type: integer
      - in: query
        name: minimumStock
        type: integer
      - in: query
        name: modelNumber
        type: string
@@ -1713,14 +1981,8 @@
        name: pageSize
        type: integer
      - in: query
        name: productType
        type: string
      - in: query
        name: purchasePrice
        type: number
      - in: query
        name: remark
        type: string
      - in: query
        name: shippingDuration
        type: integer
@@ -1728,7 +1990,7 @@
        name: specifications
        type: string
      - in: query
        name: startCreatedAt
        name: supplier
        type: string
      - in: query
        name: supplierId
@@ -1742,8 +2004,10 @@
      - in: query
        name: unit
        type: string
      - in: query
        name: updated_at
      - description: token
        in: header
        name: Authorization
        required: true
        type: string
      produces:
      - application/json
@@ -1763,28 +2027,15 @@
      - application/json
      parameters:
      - in: query
        name: created_at
        name: categoryName
        type: string
      - in: query
        name: deliveryTime
        type: integer
      - in: query
        name: endCreatedAt
        type: string
      - description: 主键ID
        in: query
        name: id
        type: integer
      - description: 关键字
        in: query
        name: keyword
        type: string
      - in: query
        name: maximumStock
        type: integer
      - in: query
        name: minimumStock
        type: integer
      - in: query
        name: modelNumber
        type: string
@@ -1803,14 +2054,8 @@
        name: pageSize
        type: integer
      - in: query
        name: productType
        type: string
      - in: query
        name: purchasePrice
        type: number
      - in: query
        name: remark
        type: string
      - in: query
        name: shippingDuration
        type: integer
@@ -1818,7 +2063,7 @@
        name: specifications
        type: string
      - in: query
        name: startCreatedAt
        name: supplier
        type: string
      - in: query
        name: supplierId
@@ -1831,9 +2076,6 @@
        type: string
      - in: query
        name: unit
        type: string
      - in: query
        name: updated_at
        type: string
      produces:
      - application/json
@@ -1857,7 +2099,7 @@
        name: data
        required: true
        schema:
          $ref: '#/definitions/test.Product'
          $ref: '#/definitions/test.SupplierMaterial'
      produces:
      - application/json
      responses:
@@ -1870,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:
@@ -1997,6 +2428,10 @@
        in: query
        name: pageSize
        type: integer
      - description: 供应商id
        in: query
        name: supplierId
        type: integer
      produces:
      - application/json
      responses:
@@ -2088,6 +2523,10 @@
        in: query
        name: pageSize
        type: integer
      - description: 供应商id
        in: query
        name: supplierId
        type: integer
      produces:
      - application/json
      responses:
@@ -2107,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: 采购单ID
        in: path
        name: id
      - description: 参数
        in: body
        name: data
        required: true
        type: integer
        schema:
          $ref: '#/definitions/purchaserequest.SubmitPurchase'
      produces:
      - application/json
      responses:
@@ -2256,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
@@ -2298,6 +2799,28 @@
      summary: 用id查询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: 用编码查询Supplier
      tags:
      - Supplier
  /s/getSupplierList:
    get:
      consumes:
@@ -2331,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