zhangqian
2023-08-30 5053e0347804728c63c5498e0aa18129822454cb
docs/swagger.yaml
@@ -116,18 +116,6 @@
    type: string
    x-enum-varnames:
    - PaymentTypeQueryClassExpireLessThen60Days
  constvar.ReceiptKeywordType:
    enum:
    - ""
    type: string
    x-enum-varnames:
    - ReceiptKeywordCustomerName
  constvar.ReceiptQueryClass:
    enum:
    - ""
    type: string
    x-enum-varnames:
    - ReceiptQueryClassExpireLessThen60Days
  constvar.ReceiptSourceType:
    enum:
    - 1
@@ -136,6 +124,12 @@
    - 4
    - 5
    type: integer
    x-enum-comments:
      ReceiptSourceTypeChuKuDan: 出库单it
      ReceiptSourceTypeCollectionPlan: 收款计划
      ReceiptSourceTypeInvoice: 销售发票
      ReceiptSourceTypeSalesDetails: 销售明细单
      ReceiptSourceTypeServiceContract: 服务合同
    x-enum-varnames:
    - ReceiptSourceTypeSalesDetails
    - ReceiptSourceTypeServiceContract
@@ -270,6 +264,18 @@
    - ServiceContractQueryClassExpireAfter60Day
    - ServiceContractQueryClassExpiredBefore15Day
    - ServiceContractQueryClassExpiredBefore60Day
  constvar.ServiceContractStatusKeywordType:
    enum:
    - ""
    type: string
    x-enum-varnames:
    - ServiceContractStatusKeywordCustomerName
  constvar.ServiceContractStatusQueryClass:
    enum:
    - ""
    type: string
    x-enum-varnames:
    - ServiceContractStatusQueryClassExpireLessThen60Days
  constvar.ServiceFeeKeywordType:
    enum:
    - 客户名称
@@ -439,6 +445,11 @@
    type: object
  model.Client:
    properties:
      _:
        description: |-
          The date when the item was deleted
          example: 2023-08-10 15:48:25
        type: string
      business_scope:
        type: string
      city:
@@ -469,6 +480,13 @@
        $ref: '#/definitions/model.Country'
      country_id:
        type: integer
      created_at:
        description: |-
          The date when the item was created
          example: 2023-08-10 15:48:25
        type: string
      creator_id:
        type: integer
      detail_address:
        type: string
      enterprise_nature_id:
@@ -484,6 +502,9 @@
          $ref: '#/definitions/model.FollowRecord'
        type: array
      id:
        description: |-
          The ID of the item
          example: 1
        type: integer
      industry:
        $ref: '#/definitions/model.Industry'
@@ -521,6 +542,11 @@
        type: string
      service_member_id:
        type: integer
      updated_at:
        description: |-
          The date when the item was last updated
          example: 2023-08-10 15:48:25
        type: string
    type: object
  model.ClientLevel:
    properties:
@@ -679,6 +705,13 @@
      wechat:
        type: string
    type: object
  model.ContactInformation:
    properties:
      id:
        type: integer
      name:
        type: string
    type: object
  model.Contract:
    properties:
      _:
@@ -712,6 +745,8 @@
        $ref: '#/definitions/model.Quotation'
      quotationId:
        type: integer
      serviceContractStatus:
        $ref: '#/definitions/model.ServiceContractStatus'
      statusId:
        type: integer
      updated_at:
@@ -794,6 +829,8 @@
        $ref: '#/definitions/model.Contact'
      contact_id:
        type: integer
      contact_information:
        $ref: '#/definitions/model.ContactInformation'
      contact_information_id:
        type: integer
      content:
@@ -1115,6 +1152,10 @@
      bankAccountId:
        description: 账户id
        type: integer
      client:
        allOf:
        - $ref: '#/definitions/model.Client'
        description: 客户id
      clientId:
        description: 客户id
        type: integer
@@ -1372,6 +1413,8 @@
        type: integer
      signTime:
        type: string
      updateTime:
        type: string
      wechatOrderStatus:
        $ref: '#/definitions/model.WechatOrderStatus'
      wechatOrderStatusId:
@@ -1394,6 +1437,8 @@
      country_id:
        type: integer
      desc:
        type: string
      detail_address:
        type: string
      followRecord:
        items:
@@ -1428,6 +1473,8 @@
    type: object
  model.SalesRefund:
    properties:
      Source:
        $ref: '#/definitions/model.SalesReturn'
      amountTotal:
        description: 价税合计
        type: number
@@ -1473,7 +1520,9 @@
      sourceType:
        allOf:
        - $ref: '#/definitions/constvar.RefundSourceType'
        description: 来源类型(1销售明细单2服务合同3销售发票4收款计划5出库单)
        description: 来源类型(1销售退货)
      updateTime:
        type: string
    type: object
  model.SalesReturn:
    properties:
@@ -1526,6 +1575,8 @@
        allOf:
        - $ref: '#/definitions/constvar.SalesReturnSourceType'
        description: 源单类型(1销售明细)
      updateTime:
        type: string
    type: object
  model.SalesReturnStatus:
    properties:
@@ -1579,6 +1630,10 @@
      percent:
        description: 比例
        type: number
      principal:
        allOf:
        - $ref: '#/definitions/model.User'
        description: 收款负责人ID
      principalId:
        description: 收款负责人ID
        type: integer
@@ -1627,6 +1682,10 @@
        $ref: '#/definitions/model.Contact'
      contactId:
        type: integer
      createTime:
        type: string
      creatorName:
        type: string
      endTime:
        type: string
      id:
@@ -1668,6 +1727,8 @@
      startTime:
        type: string
      terms:
        type: string
      updateTime:
        type: string
    type: object
  model.ServiceContractStatus:
@@ -1713,6 +1774,10 @@
        $ref: '#/definitions/model.Contact'
      contactId:
        type: integer
      createTime:
        type: string
      creatorName:
        type: string
      file:
        type: string
      id:
@@ -1749,6 +1814,8 @@
        $ref: '#/definitions/model.TimelyRate'
      timelyRateId:
        type: integer
      updateTime:
        type: string
    type: object
  model.ServiceOrder:
    properties:
@@ -1776,6 +1843,10 @@
      contactId:
        description: 联系人id
        type: integer
      createTime:
        type: string
      creatorName:
        type: string
      expectTime:
        description: 希望处理时间
        type: string
@@ -1799,11 +1870,12 @@
      problemDesc:
        description: 问题描述
        type: string
      product:
        $ref: '#/definitions/model.Product'
      productId:
        description: 产品id
        type: integer
      productName:
        description: 产品名称
        type: string
      productTypeName:
        description: 产品分类名称
        type: string
      realTime:
        description: 实际处理时间
        type: string
@@ -1825,6 +1897,10 @@
      serviceContractId:
        description: 服务合同id
        type: integer
      serviceMan:
        allOf:
        - $ref: '#/definitions/model.User'
        description: 服务人员
      serviceManId:
        description: 服务人员
        type: integer
@@ -1857,6 +1933,8 @@
      timeSpentId:
        description: 花费时间
        type: integer
      updateTime:
        type: string
    type: object
  model.ServiceOrderStatus:
    properties:
@@ -1983,10 +2061,16 @@
      MaterialMode:
        description: 物料类型
        type: string
      MaxInventory:
        description: 最大库存
        type: integer
      MinInventory:
        description: 安全库存
        type: integer
      Name:
        type: string
      Node:
        description: 备注
        type: string
      Number:
        type: string
@@ -1996,6 +2080,12 @@
      SalePrice:
        description: 销售价格
        type: number
      Specs:
        description: 规格
        type: string
      Type:
        description: 型号
        type: string
      Unit:
        type: string
    type: object
@@ -2051,6 +2141,9 @@
        type: integer
      contact:
        $ref: '#/definitions/request.Contact'
      contact_id:
        description: 联系人ID
        type: integer
      country_id:
        type: integer
      detail_address:
@@ -2472,6 +2565,10 @@
      bankAccountId:
        description: 账户id
        type: integer
      client:
        allOf:
        - $ref: '#/definitions/model.Client'
        description: 客户id
      clientId:
        description: 客户id
        type: integer
@@ -2690,6 +2787,9 @@
      desc:
        description: 备注
        type: string
      detail_address:
        description: 详细地址
        type: string
      member_id:
        description: 销售负责人ID
        type: integer
@@ -2771,6 +2871,10 @@
        type: integer
      salesDetailsId:
        type: integer
      serviceContractStatusId:
        type: integer
      serviceContractTypeId:
        type: integer
      serviceTimes:
        type: integer
      signTime:
@@ -2788,10 +2892,10 @@
    type: object
  request.AddServiceContractStatus:
    properties:
      id:
        type: integer
      name:
        type: string
    required:
    - name
    type: object
  request.AddServiceContractType:
    properties:
@@ -2821,6 +2925,9 @@
        type: integer
      contact:
        $ref: '#/definitions/request.Contact'
      contact_id:
        description: 联系人ID
        type: integer
      country_id:
        type: integer
      detail_address:
@@ -2941,9 +3048,12 @@
      problemDesc:
        description: 问题描述
        type: string
      productId:
        description: 产品id
        type: integer
      productName:
        description: 产品名称
        type: string
      productTypeName:
        description: 产品分类名称
        type: string
      realTime:
        description: 实际处理时间
        type: string
@@ -3134,6 +3244,15 @@
      name:
        type: string
    type: object
  request.CommonIds:
    properties:
      ids:
        items:
          type: integer
        type: array
    required:
    - ids
    type: object
  request.Contact:
    properties:
      birthday:
@@ -3197,6 +3316,13 @@
          type: integer
        type: array
    type: object
  request.DeleteContract:
    properties:
      ids:
        items:
          type: integer
        type: array
    type: object
  request.DeleteCountry:
    properties:
      id:
@@ -3210,6 +3336,13 @@
          type: integer
        type: array
    type: object
  request.DeleteMasterOrder:
    properties:
      ids:
        items:
          type: integer
        type: array
    type: object
  request.DeleteOrderManage:
    properties:
      ids:
@@ -3217,14 +3350,21 @@
          type: integer
        type: array
    type: object
  request.DeleteSalesLeads:
  request.DeleteQuotation:
    properties:
      ids:
        items:
          type: integer
        type: array
    type: object
  request.DeleteServiceContract:
  request.DeleteSaleChance:
    properties:
      ids:
        items:
          type: integer
        type: array
    type: object
  request.DeleteSalesLeads:
    properties:
      ids:
        items:
@@ -3239,6 +3379,13 @@
        type: array
    type: object
  request.DeleteServiceFollowup:
    properties:
      ids:
        items:
          type: integer
        type: array
    type: object
  request.DeleteSubOrder:
    properties:
      ids:
        items:
@@ -3314,7 +3461,9 @@
        additionalProperties: true
        description: '搜索条件: map[string]interface{}{"name": "xxx"}; {"name": "客户名称",
          "phone": "手机号码", "detail_address":"详细地址", "next_visit_time":"下回回访日期", "member_name":
          "销售负责人", "client_status": "客户状态", "client_level": "重要级别"}'
          "销售负责人", "client_status": "客户状态", "client_level": "重要级别","representative":
          "法定代表人", "registration_time": "注册时间", "business_scope": "经营范围", "remark":
          "备注", "not_admin":"1:我的客户; 2:admin客户"}'
        type: object
    type: object
  request.GetContactList:
@@ -3329,7 +3478,8 @@
        additionalProperties: true
        description: '搜索条件: map[string]interface{}{"name": "xxx"}; {"name": "客户名称",
          "phone": "手机号码", "detail_address":"详细地址", "next_visit_time":"下回回访日期", "member_name":
          "销售负责人", "client_status": "客户状态", "client_level": "重要级别", "is_first": "是否是首要联系人"}'
          "销售负责人", "client_status": "客户状态", "client_level": "重要级别", "is_first": "是否是首要联系人",
          "client_id": "clientId 用于返回首要联系人"}'
        type: object
    type: object
  request.GetContractList:
@@ -3374,7 +3524,7 @@
        description: '搜索条件: map[string]interface{}{"name": "xxx"}; {"topic": "跟进主题",
          "member_name": "跟进人", "client_name": "客户名称", "client_status": "客户状态", "follow_time":
          "跟进时间", "next_follow_time": "下次跟进时间", "record": "跟进记录", "phone": "联系人电话",
          "contact_name": "联系人姓名"}'
          "contact_name": "联系人姓名", "sales_leads_id": "销售线索id", "sale_chance_id": "销售机会id"}'
        type: object
    type: object
  request.GetMasterOrderList:
@@ -3422,7 +3572,7 @@
      pageSize:
        description: 每页大小
        type: integer
      searchMap:
      search_map:
        additionalProperties: true
        description: '搜索条件: map[string]interface{}{"name": "xxx"}; {"sale_chance_id":
          销售线索id, "client_name": "客户名称", "member_name": "销售负责人", "contact_name": "联系人",
@@ -3748,7 +3898,10 @@
      sourceType:
        allOf:
        - $ref: '#/definitions/constvar.RefundSourceType'
        description: 来源类型(1销售明细单2服务合同3销售发票4收款计划5出库单)
        description: 来源类型(1销售退款单)
    required:
    - sourceId
    - sourceType
    type: object
  request.SalesReturn:
    properties:
@@ -3888,6 +4041,9 @@
        type: integer
      contact:
        $ref: '#/definitions/request.Contact'
      contact_id:
        description: 联系人ID
        type: integer
      country_id:
        type: integer
      detail_address:
@@ -4512,6 +4668,10 @@
      bankAccountId:
        description: 账户id
        type: integer
      client:
        allOf:
        - $ref: '#/definitions/model.Client'
        description: 客户id
      clientId:
        description: 客户id
        type: integer
@@ -4795,6 +4955,9 @@
      desc:
        description: 备注
        type: string
      detail_address:
        description: 详细地址
        type: string
      id:
        type: integer
      member_id:
@@ -4914,6 +5077,10 @@
      percent:
        description: 比例
        type: number
      principal:
        allOf:
        - $ref: '#/definitions/model.User'
        description: 收款负责人ID
      principalId:
        description: 收款负责人ID
        type: integer
@@ -4961,6 +5128,10 @@
        type: integer
      salesDetailsId:
        type: integer
      serviceContractStatusId:
        type: integer
      serviceContractTypeId:
        type: integer
      serviceTimes:
        type: integer
      signTime:
@@ -4982,18 +5153,6 @@
        type: integer
      name:
        type: string
    required:
    - id
    - name
    type: object
  request.UpdateServiceContractStatuss:
    properties:
      service_contract_status:
        items:
          $ref: '#/definitions/request.UpdateServiceContractStatus'
        type: array
    required:
    - service_contract_status
    type: object
  request.UpdateServiceContractType:
    properties:
@@ -5035,6 +5194,9 @@
        type: integer
      contact:
        $ref: '#/definitions/request.Contact'
      contact_id:
        description: 联系人ID
        type: integer
      country_id:
        type: integer
      detail_address:
@@ -5159,9 +5321,12 @@
      problemDesc:
        description: 问题描述
        type: string
      productId:
        description: 产品id
        type: integer
      productName:
        description: 产品名称
        type: string
      productTypeName:
        description: 产品分类名称
        type: string
      realTime:
        description: 实际处理时间
        type: string
@@ -5373,6 +5538,13 @@
      list:
        items:
          $ref: '#/definitions/model.ClientType'
        type: array
    type: object
  response.ContactInformationResponse:
    properties:
      list:
        items:
          $ref: '#/definitions/model.ContactInformation'
        type: array
    type: object
  response.ContactResponse:
@@ -5849,13 +6021,6 @@
      list:
        items:
          $ref: '#/definitions/model.Satisfaction'
        type: array
    type: object
  response.ServiceContractStatusResponse:
    properties:
      list:
        items:
          $ref: '#/definitions/model.ServiceContractStatus'
        type: array
    type: object
  response.ServiceContractTypeResponse:
@@ -6850,6 +7015,23 @@
      summary: 更新联系人
      tags:
      - Contact
  /api/contactInformation/list:
    get:
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            allOf:
            - $ref: '#/definitions/contextx.Response'
            - properties:
                data:
                  $ref: '#/definitions/response.ContactInformationResponse'
              type: object
      summary: 联系方式列表
      tags:
      - ContactInformation
  /api/contract/add:
    post:
      parameters:
@@ -6869,14 +7051,15 @@
      summary: 添加合同
      tags:
      - Contract
  /api/contract/delete/{id}:
  /api/contract/delete:
    delete:
      parameters:
      - description: 查询参数
        in: path
        name: id
        in: body
        name: object
        required: true
        type: integer
        schema:
          $ref: '#/definitions/request.DeleteContract'
      produces:
      - application/json
      responses:
@@ -8362,14 +8545,15 @@
      summary: 添加主订单
      tags:
      - MasterOrder
  /api/masterOrder/delete/{id}:
  /api/masterOrder/delete:
    delete:
      parameters:
      - description: 查询参数
        in: path
        name: id
        in: body
        name: object
        required: true
        type: integer
        schema:
          $ref: '#/definitions/request.DeleteMasterOrder'
      produces:
      - application/json
      responses:
@@ -9107,14 +9291,15 @@
      summary: 添加报价单
      tags:
      - Quotation
  /api/quotation/delete/{id}:
  /api/quotation/delete:
    delete:
      parameters:
      - description: 查询参数
        in: path
        name: id
        in: body
        name: object
        required: true
        type: integer
        schema:
          $ref: '#/definitions/request.DeleteQuotation'
      produces:
      - application/json
      responses:
@@ -9281,16 +9466,6 @@
  /api/receipt/list:
    get:
      parameters:
      - in: query
        name: keyword
        type: string
      - enum:
        - ""
        in: query
        name: keywordType
        type: string
        x-enum-varnames:
        - ReceiptKeywordCustomerName
      - description: 页码
        in: query
        name: page
@@ -9299,13 +9474,30 @@
        in: query
        name: pageSize
        type: integer
      - in: query
        name: sourceId
        type: integer
      - enum:
        - ""
        - 1
        - 2
        - 3
        - 4
        - 5
        in: query
        name: queryClass
        type: string
        name: sourceType
        type: integer
        x-enum-comments:
          ReceiptSourceTypeChuKuDan: 出库单it
          ReceiptSourceTypeCollectionPlan: 收款计划
          ReceiptSourceTypeInvoice: 销售发票
          ReceiptSourceTypeSalesDetails: 销售明细单
          ReceiptSourceTypeServiceContract: 服务合同
        x-enum-varnames:
        - ReceiptQueryClassExpireLessThen60Days
        - ReceiptSourceTypeSalesDetails
        - ReceiptSourceTypeServiceContract
        - ReceiptSourceTypeInvoice
        - ReceiptSourceTypeCollectionPlan
        - ReceiptSourceTypeChuKuDan
      produces:
      - application/json
      responses:
@@ -9819,14 +10011,15 @@
      summary: 添加销售机会
      tags:
      - SaleChance
  /api/saleChance/delete/{id}:
  /api/saleChance/delete:
    delete:
      parameters:
      - description: 查询参数
        in: path
        name: id
        in: body
        name: object
        required: true
        type: integer
        schema:
          $ref: '#/definitions/request.DeleteSaleChance'
      produces:
      - application/json
      responses:
@@ -10060,10 +10253,34 @@
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
            allOf:
            - $ref: '#/definitions/contextx.Response'
            - properties:
                data:
                  $ref: '#/definitions/request.AddSalesDetails'
              type: object
      summary: 添加销售明细
      tags:
      - SalesDetails
  /api/salesDetails/delete:
    delete:
      parameters:
      - description: 参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.CommonIds'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 批量删除销售明细
      tags:
      - SalesDetails 销售明细
  /api/salesDetails/delete/{id}:
    delete:
      parameters:
@@ -10243,7 +10460,26 @@
            $ref: '#/definitions/contextx.Response'
      summary: 添加销售退款
      tags:
      - SalesRefund
      - 销售退款单
  /api/salesRefund/delete:
    delete:
      parameters:
      - description: 参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.CommonIds'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 批量删除销售退款单
      tags:
      - 销售退款单
  /api/salesRefund/delete/{id}:
    delete:
      parameters:
@@ -10261,7 +10497,7 @@
            $ref: '#/definitions/contextx.Response'
      summary: 删除销售退款
      tags:
      - SalesRefund
      - 销售退款单
  /api/salesRefund/list:
    post:
      parameters:
@@ -10285,7 +10521,7 @@
              type: object
      summary: 销售退款单列表
      tags:
      - SalesRefund
      - 销售退款单
  /api/salesRefund/update:
    put:
      parameters:
@@ -10304,7 +10540,7 @@
            $ref: '#/definitions/contextx.Response'
      summary: 更新销售退款
      tags:
      - SalesRefund
      - 销售退款单
  /api/salesReturn/add:
    post:
      parameters:
@@ -10323,7 +10559,26 @@
            $ref: '#/definitions/contextx.Response'
      summary: 添加销售退货
      tags:
      - SalesReturn
      - 销售退货单
  /api/salesReturn/delete:
    delete:
      parameters:
      - description: 参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.CommonIds'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 批量删除销售退货单
      tags:
      - 销售退货单
  /api/salesReturn/delete/{id}:
    delete:
      parameters:
@@ -10341,7 +10596,7 @@
            $ref: '#/definitions/contextx.Response'
      summary: 删除销售退货
      tags:
      - SalesReturn
      - 销售退货单
  /api/salesReturn/list:
    post:
      parameters:
@@ -10365,7 +10620,7 @@
              type: object
      summary: 销售退货单列表
      tags:
      - SalesReturn
      - 销售退货单
  /api/salesReturn/update:
    put:
      parameters:
@@ -10384,7 +10639,7 @@
            $ref: '#/definitions/contextx.Response'
      summary: 更新销售退货
      tags:
      - SalesReturn
      - 销售退货单
  /api/salesReturnStatus/add:
    post:
      parameters:
@@ -10644,10 +10899,23 @@
  /api/serviceCollectionPlan/list:
    get:
      parameters:
      - description: 服务合同id
        in: query
        name: serviceContractId
      - in: query
        name: sourceId
        required: true
        type: integer
      - enum:
        - 1
        - 2
        in: query
        name: sourceType
        required: true
        type: integer
        x-enum-comments:
          CollectionSourceTypeSaleDetails: 销售明细
          CollectionSourceTypeServiceContract: 服务合同
        x-enum-varnames:
        - CollectionSourceTypeSaleDetails
        - CollectionSourceTypeServiceContract
      produces:
      - application/json
      responses:
@@ -10706,12 +10974,12 @@
  /api/serviceContract/delete:
    delete:
      parameters:
      - description: 查询参数
      - description: 参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.DeleteServiceContract'
          $ref: '#/definitions/request.CommonIds'
      produces:
      - application/json
      responses:
@@ -10719,7 +10987,7 @@
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 删除服务合同
      summary: 批量删除服务合同
      tags:
      - ServiceContract
  /api/serviceContract/list:
@@ -10781,9 +11049,9 @@
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 添加服务合同状态
      summary: 添加合同状态
      tags:
      - ServiceContractStatus
      - 合同状态
  /api/serviceContractStatus/delete/{id}:
    delete:
      parameters:
@@ -10799,11 +11067,37 @@
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 删除服务合同状态
      summary: 删除合同状态
      tags:
      - ServiceContractStatus
      - 合同状态
  /api/serviceContractStatus/list:
    get:
      parameters:
      - in: query
        name: keyword
        type: string
      - enum:
        - ""
        in: query
        name: keywordType
        type: string
        x-enum-varnames:
        - ServiceContractStatusKeywordCustomerName
      - description: 页码
        in: query
        name: page
        type: integer
      - description: 每页大小
        in: query
        name: pageSize
        type: integer
      - enum:
        - ""
        in: query
        name: queryClass
        type: string
        x-enum-varnames:
        - ServiceContractStatusQueryClassExpireLessThen60Days
      produces:
      - application/json
      responses:
@@ -10811,14 +11105,16 @@
          description: OK
          schema:
            allOf:
            - $ref: '#/definitions/contextx.Response'
            - $ref: '#/definitions/response.ListResponse'
            - properties:
                data:
                  $ref: '#/definitions/response.ServiceContractStatusResponse'
                  items:
                    $ref: '#/definitions/model.ServiceContractStatus'
                  type: array
              type: object
      summary: 获取服务合同状态列表
      summary: 获取合同状态列表
      tags:
      - ServiceContractStatus
      - 合同状态
  /api/serviceContractStatus/update:
    put:
      parameters:
@@ -10827,7 +11123,7 @@
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.UpdateServiceContractStatuss'
          $ref: '#/definitions/request.UpdateServiceContractStatus'
      produces:
      - application/json
      responses:
@@ -10835,9 +11131,9 @@
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 更新服务合同状态
      summary: 更新合同状态
      tags:
      - ServiceContractStatus
      - 合同状态
  /api/serviceContractType/add:
    post:
      parameters:
@@ -11092,6 +11388,25 @@
      summary: 添加服务单
      tags:
      - 服务单管理
  /api/serviceOrder/delete:
    delete:
      parameters:
      - description: 参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.CommonIds'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 批量删除服务单
      tags:
      - 服务单
  /api/serviceOrder/delete/{id}:
    delete:
      parameters:
@@ -11566,14 +11881,15 @@
      summary: 添加子订单
      tags:
      - SubOrder
  /api/subOrder/delete/{id}:
  /api/subOrder/delete:
    delete:
      parameters:
      - description: 查询参数
        in: path
        name: id
        in: body
        name: object
        required: true
        type: integer
        schema:
          $ref: '#/definitions/request.DeleteSubOrder'
      produces:
      - application/json
      responses: