wangpengfei
2023-07-26 e0a433e9c31594527a3bf7766c0bfb2cbbceffdb
docs/swagger.yaml
@@ -450,6 +450,31 @@
      title:
        type: string
    type: object
  model.OrderManage:
    properties:
      client:
        $ref: '#/definitions/model.Client'
      clientId:
        type: integer
      contactId:
        type: integer
      file:
        type: string
      id:
        type: integer
      name:
        type: string
      number:
        type: string
      orderType:
        type: integer
      problemDescription:
        type: string
      reportSourceId:
        type: integer
      sourceSheet:
        type: integer
    type: object
  model.OrderType:
    properties:
      id:
@@ -1929,6 +1954,17 @@
        description: 每页大小
        type: integer
    type: object
  request.GetContractList:
    properties:
      keyword:
        type: string
      page:
        description: 页码
        type: integer
      pageSize:
        description: 每页大小
        type: integer
    type: object
  request.GetFollowRecordList:
    properties:
      keyword:
@@ -1940,7 +1976,128 @@
        description: 每页大小
        type: integer
    type: object
  request.GetMasterOrderList:
    properties:
      keyword:
        type: string
      page:
        description: 页码
        type: integer
      pageSize:
        description: 每页大小
        type: integer
    type: object
  request.GetOrderManageList:
    properties:
      keyword:
        type: string
      page:
        description: 页码
        type: integer
      pageSize:
        description: 每页大小
        type: integer
    type: object
  request.GetPlanList:
    properties:
      keyword:
        type: string
      page:
        description: 页码
        type: integer
      pageSize:
        description: 每页大小
        type: integer
    type: object
  request.GetQuotationList:
    properties:
      keyword:
        type: string
      page:
        description: 页码
        type: integer
      pageSize:
        description: 每页大小
        type: integer
    type: object
  request.GetSaleChanceList:
    properties:
      keyword:
        type: string
      page:
        description: 页码
        type: integer
      pageSize:
        description: 每页大小
        type: integer
    type: object
  request.GetSalesDetailsList:
    properties:
      keyword:
        type: string
      page:
        description: 页码
        type: integer
      pageSize:
        description: 每页大小
        type: integer
    type: object
  request.GetSalesLeadsList:
    properties:
      keyword:
        type: string
      page:
        description: 页码
        type: integer
      pageSize:
        description: 每页大小
        type: integer
    type: object
  request.GetSalesRefundList:
    properties:
      keyword:
        type: string
      page:
        description: 页码
        type: integer
      pageSize:
        description: 每页大小
        type: integer
    type: object
  request.GetSalesReturnList:
    properties:
      keyword:
        type: string
      page:
        description: 页码
        type: integer
      pageSize:
        description: 每页大小
        type: integer
    type: object
  request.GetServiceFeeManageList:
    properties:
      keyword:
        type: string
      page:
        description: 页码
        type: integer
      pageSize:
        description: 每页大小
        type: integer
    type: object
  request.GetServiceFollowupList:
    properties:
      keyword:
        type: string
      page:
        description: 页码
        type: integer
      pageSize:
        description: 每页大小
        type: integer
    type: object
  request.GetSubOrderList:
    properties:
      keyword:
        type: string
@@ -3373,6 +3530,8 @@
    type: object
  response.ContractResponse:
    properties:
      count:
        type: integer
      list:
        items:
          $ref: '#/definitions/model.Contract'
@@ -3632,6 +3791,8 @@
    type: object
  response.MasterOrderResponse:
    properties:
      count:
        type: integer
      list:
        items:
          $ref: '#/definitions/model.MasterOrder'
@@ -3642,6 +3803,15 @@
      list:
        items:
          $ref: '#/definitions/model.Menu'
        type: array
    type: object
  response.OrderManageResponse:
    properties:
      count:
        type: integer
      list:
        items:
          $ref: '#/definitions/model.OrderManage'
        type: array
    type: object
  response.OrderTypeResponse:
@@ -3663,6 +3833,8 @@
    type: object
  response.PlanResponse:
    properties:
      count:
        type: integer
      list:
        items:
          $ref: '#/definitions/model.Plan'
@@ -3684,6 +3856,8 @@
    type: object
  response.QuotationResponse:
    properties:
      count:
        type: integer
      list:
        items:
          $ref: '#/definitions/model.Quotation'
@@ -3733,6 +3907,8 @@
    type: object
  response.SaleChanceResponse:
    properties:
      count:
        type: integer
      list:
        items:
          $ref: '#/definitions/model.SaleChance'
@@ -3754,6 +3930,8 @@
    type: object
  response.SalesDetailsResponse:
    properties:
      count:
        type: integer
      list:
        items:
          $ref: '#/definitions/model.SalesDetails'
@@ -3770,6 +3948,8 @@
    type: object
  response.SalesRefundResponse:
    properties:
      count:
        type: integer
      list:
        items:
          $ref: '#/definitions/model.SalesRefund'
@@ -3777,6 +3957,8 @@
    type: object
  response.SalesReturnResponse:
    properties:
      count:
        type: integer
      list:
        items:
          $ref: '#/definitions/model.SalesReturn'
@@ -3826,6 +4008,8 @@
    type: object
  response.ServiceFeeManageResponse:
    properties:
      count:
        type: integer
      list:
        items:
          $ref: '#/definitions/model.ServiceFeeManage'
@@ -3833,6 +4017,8 @@
    type: object
  response.ServiceFollowupResponse:
    properties:
      count:
        type: integer
      list:
        items:
          $ref: '#/definitions/model.ServiceFollowup'
@@ -3847,6 +4033,8 @@
    type: object
  response.SubOrderResponse:
    properties:
      count:
        type: integer
      list:
        items:
          $ref: '#/definitions/model.SubOrder'
@@ -4614,7 +4802,14 @@
      tags:
      - Contract
  /api/contract/list:
    get:
    post:
      parameters:
      - description: 参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.GetContractList'
      produces:
      - application/json
      responses:
@@ -4627,7 +4822,7 @@
                data:
                  $ref: '#/definitions/response.ContractResponse'
              type: object
      summary: 获取合同列表
      summary: 销售合同列表
      tags:
      - Contract
  /api/contract/update:
@@ -5454,7 +5649,14 @@
      tags:
      - MasterOrder
  /api/masterOrder/list:
    get:
    post:
      parameters:
      - description: 参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.GetMasterOrderList'
      produces:
      - application/json
      responses:
@@ -5467,7 +5669,7 @@
                data:
                  $ref: '#/definitions/response.MasterOrderResponse'
              type: object
      summary: 主订单列表
      summary: 销售总单列表
      tags:
      - MasterOrder
  /api/masterOrder/update:
@@ -5552,15 +5754,27 @@
      tags:
      - OrderManage
  /api/orderManage/list:
    get:
    post:
      parameters:
      - description: 参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.GetOrderManageList'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 工单列表
            allOf:
            - $ref: '#/definitions/contextx.Response'
            - properties:
                data:
                  $ref: '#/definitions/response.OrderManageResponse'
              type: object
      summary: 工单管理列表
      tags:
      - OrderManage
  /api/orderManage/update:
@@ -5693,7 +5907,14 @@
      tags:
      - Plan
  /api/plan/list:
    get:
    post:
      parameters:
      - description: 参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.GetPlanList'
      produces:
      - application/json
      responses:
@@ -5706,7 +5927,7 @@
                data:
                  $ref: '#/definitions/response.PlanResponse'
              type: object
      summary: 获取计划列表
      summary: 生成计划列表
      tags:
      - Plan
  /api/plan/update:
@@ -5937,7 +6158,14 @@
      tags:
      - Quotation
  /api/quotation/list:
    get:
    post:
      parameters:
      - description: 参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.GetQuotationList'
      produces:
      - application/json
      responses:
@@ -6541,7 +6769,14 @@
      tags:
      - SaleChance
  /api/saleChance/list:
    get:
    post:
      parameters:
      - description: 参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.GetSaleChanceList'
      produces:
      - application/json
      responses:
@@ -6554,7 +6789,7 @@
                data:
                  $ref: '#/definitions/response.SaleChanceResponse'
              type: object
      summary: 获取销售机会列表
      summary: 销售机会列表
      tags:
      - SaleChance
  /api/saleChance/update:
@@ -6760,7 +6995,14 @@
      tags:
      - SalesDetails
  /api/salesDetails/list:
    get:
    post:
      parameters:
      - description: 参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.GetSalesDetailsList'
      produces:
      - application/json
      responses:
@@ -6773,7 +7015,7 @@
                data:
                  $ref: '#/definitions/response.SalesDetailsResponse'
              type: object
      summary: 获取销售明细列表
      summary: 销售明细单列表
      tags:
      - SalesDetails
  /api/salesDetails/update:
@@ -6913,7 +7155,14 @@
      tags:
      - SalesRefund
  /api/salesRefund/list:
    get:
    post:
      parameters:
      - description: 参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.GetSalesRefundList'
      produces:
      - application/json
      responses:
@@ -6926,7 +7175,7 @@
                data:
                  $ref: '#/definitions/response.SalesRefundResponse'
              type: object
      summary: 销售退款列表
      summary: 销售退款单列表
      tags:
      - SalesRefund
  /api/salesRefund/update:
@@ -6986,7 +7235,14 @@
      tags:
      - SalesReturn
  /api/salesReturn/list:
    get:
    post:
      parameters:
      - description: 参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.GetSalesReturnList'
      produces:
      - application/json
      responses:
@@ -6999,7 +7255,7 @@
                data:
                  $ref: '#/definitions/response.SalesReturnResponse'
              type: object
      summary: 获取销售退货列表
      summary: 销售退货单列表
      tags:
      - SalesReturn
  /api/salesReturn/update:
@@ -7497,7 +7753,14 @@
      tags:
      - ServiceFeeManage
  /api/serviceFeeManage/list:
    get:
    post:
      parameters:
      - description: 参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.GetServiceFeeManageList'
      produces:
      - application/json
      responses:
@@ -7570,7 +7833,14 @@
      tags:
      - ServiceFollowup
  /api/serviceFollowup/list:
    get:
    post:
      parameters:
      - description: 参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.GetServiceFollowupList'
      produces:
      - application/json
      responses:
@@ -7583,7 +7853,7 @@
                data:
                  $ref: '#/definitions/response.ServiceFollowupResponse'
              type: object
      summary: 服务跟进列表
      summary: 回访单管理列表
      tags:
      - ServiceFollowup
  /api/serviceFollowup/update:
@@ -7784,7 +8054,14 @@
      tags:
      - SubOrder
  /api/subOrder/list:
    get:
    post:
      parameters:
      - description: 参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.GetSubOrderList'
      produces:
      - application/json
      responses:
@@ -7797,7 +8074,7 @@
                data:
                  $ref: '#/definitions/response.SubOrderResponse'
              type: object
      summary: 获取子订单列表
      summary: 销售子单列表
      tags:
      - SubOrder
  /api/subOrder/update: