liujiandao
2024-03-26 1c17ff16fd13e4d8bbab75d8a728cf18465b20e0
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
  constvar.BankAccountKeywordType:
    enum:
    - ""
@@ -11,16 +52,30 @@
    type: string
    x-enum-varnames:
    - BankAccountQueryClassExpireLessThen60Days
  constvar.CollectionStatus:
  constvar.CollectionSourceType:
    enum:
    - 1
    - 2
    type: integer
    x-enum-comments:
      CollectionSourceTypeSaleDetails: 销售明细
      CollectionSourceTypeServiceContract: 服务合同
    x-enum-varnames:
    - CollectionSourceTypeSaleDetails
    - CollectionSourceTypeServiceContract
  constvar.CollectionStatus:
    enum:
    - 1
    - 2
    - 3
    type: integer
    x-enum-comments:
      CollectionStatusCollected: 已收款
      CollectionStatusSubCollected: 部分收款
      CollectionStatusUnCollected: 待收款
    x-enum-varnames:
    - CollectionStatusUnCollected
    - CollectionStatusSubCollected
    - CollectionStatusCollected
  constvar.CourierCompanyKeywordType:
    enum:
@@ -46,18 +101,6 @@
    type: string
    x-enum-varnames:
    - FaqQueryClassExpireLessThen60Days
  constvar.InvoiceKeywordType:
    enum:
    - ""
    type: string
    x-enum-varnames:
    - InvoiceKeywordCustomerName
  constvar.InvoiceQueryClass:
    enum:
    - ""
    type: string
    x-enum-varnames:
    - InvoiceQueryClassExpireLessThen60Days
  constvar.InvoiceSourceType:
    enum:
    - 1
@@ -102,18 +145,34 @@
    type: string
    x-enum-varnames:
    - PaymentTypeQueryClassExpireLessThen60Days
  constvar.ReceiptKeywordType:
  constvar.ReceiptSourceType:
    enum:
    - ""
    type: string
    - 1
    - 2
    - 3
    - 4
    - 5
    type: integer
    x-enum-comments:
      ReceiptSourceTypeChuKuDan: 出库单it
      ReceiptSourceTypeCollectionPlan: 收款计划
      ReceiptSourceTypeInvoice: 销售发票
      ReceiptSourceTypeSalesDetails: 销售明细单
      ReceiptSourceTypeServiceContract: 服务合同
    x-enum-varnames:
    - ReceiptKeywordCustomerName
  constvar.ReceiptQueryClass:
    - ReceiptSourceTypeSalesDetails
    - ReceiptSourceTypeServiceContract
    - ReceiptSourceTypeInvoice
    - ReceiptSourceTypeCollectionPlan
    - ReceiptSourceTypeChuKuDan
  constvar.RefundSourceType:
    enum:
    - ""
    type: string
    - 1
    type: integer
    x-enum-comments:
      RefundSourceTypeSalesReturn: 销售退货
    x-enum-varnames:
    - ReceiptQueryClassExpireLessThen60Days
    - RefundSourceTypeSalesReturn
  constvar.SalesDetailsKeywordType:
    enum:
    - 客户名称
@@ -128,6 +187,79 @@
    - SalesDetailsKeywordTypeSignTime
    - SalesDetailsKeywordTypePrincipal
    - SalesDetailsKeywordTypeProductName
  constvar.SalesDetailsStatus:
    enum:
    - 1
    - 2
    - 3
    - 4
    - 5
    - 6
    type: integer
    x-enum-comments:
      InStock: 备货中
      OverCLose: 已关闭
      OverOutbound: 出库完成
      WaitConfirmed: 待确认
      WaitDecompose: 待分解
      WaitOutbound: 待出库
    x-enum-varnames:
    - WaitConfirmed
    - WaitDecompose
    - InStock
    - WaitOutbound
    - OverOutbound
    - OverCLose
  constvar.SalesRefundKeywordType:
    enum:
    - 销售退货单编号
    - 客户名称
    - 退款日期
    - 账户
    - 是否开票
    - 付款方式
    - 销售负责人
    - 修改时间
    - 价税合计
    type: string
    x-enum-varnames:
    - SalesRefundKeywordRefundNumber
    - SalesRefundKeywordClientName
    - SalesRefundKeywordRefundDate
    - SalesRefundKeywordAccount
    - SalesRefundKeywordIsInvoice
    - SalesRefundKeywordPaymentType
    - SalesRefundKeywordPrincipal
    - SalesRefundKeywordUpdateAt
    - SalesRefundKeywordPriceTotal
  constvar.SalesReturnKeywordType:
    enum:
    - 销售退货单编号
    - 客户名称
    - 退款日期
    - 状态
    - 退入仓库
    - 应退款
    - 已退款
    - 销售负责人
    type: string
    x-enum-varnames:
    - SalesReturnKeywordReturnNumber
    - SalesReturnKeywordClientName
    - SalesReturnKeywordReturnDate
    - SalesReturnKeywordStatus
    - SalesReturnKeywordRepository
    - SalesReturnKeywordAmountShouldRefund
    - SalesReturnKeywordAmountHasRefund
    - SalesReturnKeywordPrincipal
  constvar.SalesReturnSourceType:
    enum:
    - 1
    type: integer
    x-enum-comments:
      SalesReturnSourceTypeSaleDetails: 销售明细
    x-enum-varnames:
    - SalesReturnSourceTypeSaleDetails
  constvar.SalesStatus:
    enum:
    - 0
@@ -184,6 +316,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:
    - 客户名称
@@ -264,6 +408,18 @@
    type: string
    x-enum-varnames:
    - ServiceOrderQueryClassExpireLessThen60Days
  constvar.ServiceOrderStatusKeywordType:
    enum:
    - ""
    type: string
    x-enum-varnames:
    - ServiceOrderStatusKeywordCustomerName
  constvar.ServiceOrderStatusQueryClass:
    enum:
    - ""
    type: string
    x-enum-varnames:
    - ServiceOrderStatusQueryClassExpireLessThen60Days
  constvar.UserType:
    enum:
    - 1
@@ -363,6 +519,8 @@
        $ref: '#/definitions/model.ClientType'
      client_type_id:
        type: integer
      codeStandID:
        type: string
      contacts:
        items:
          $ref: '#/definitions/model.Contact'
@@ -371,6 +529,12 @@
        $ref: '#/definitions/model.Country'
      country_id:
        type: integer
      createTime:
        type: string
      creator_id:
        type: integer
      creatorName:
        type: string
      detail_address:
        type: string
      enterprise_nature_id:
@@ -423,6 +587,8 @@
        type: string
      service_member_id:
        type: integer
      updateTime:
        type: string
    type: object
  model.ClientLevel:
    properties:
@@ -452,6 +618,34 @@
      name:
        type: string
    type: object
  model.CollectionProjection:
    properties:
      created_at:
        description: |-
          The date when the item was created
          example: 2023-08-10 15:48:25
        type: string
      creator:
        type: integer
      estimated_collection_amount:
        type: number
      estimated_collection_date:
        type: string
      id:
        description: |-
          The ID of the item
          example: 1
        type: integer
      modifier:
        type: integer
      sale_chance_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.Contact:
    properties:
      birthday:
@@ -462,6 +656,8 @@
        type: integer
      client_id:
        type: integer
      codeStandID:
        type: string
      country:
        $ref: '#/definitions/model.Country'
      country_id:
@@ -474,6 +670,8 @@
        type: integer
      is_first:
        type: boolean
      member:
        $ref: '#/definitions/model.User'
      member_id:
        type: integer
      name:
@@ -507,6 +705,8 @@
        $ref: '#/definitions/model.Client'
      client_id:
        type: integer
      codeStandID:
        type: string
      country:
        $ref: '#/definitions/model.Country'
      country_id:
@@ -523,6 +723,8 @@
        type: integer
      is_first:
        type: boolean
      member:
        $ref: '#/definitions/model.User'
      member_id:
        type: integer
      name:
@@ -544,14 +746,37 @@
      wechat:
        type: string
    type: object
  model.ContactInformation:
    properties:
      id:
        type: integer
      name:
        type: string
    type: object
  model.Contract:
    properties:
      client:
        $ref: '#/definitions/model.Client'
      clientId:
        type: integer
      codeStandID:
        type: string
      contractName:
        type: string
      created_at:
        description: |-
          The date when the item was created
          example: 2023-08-10 15:48:25
        type: string
      file:
        type: string
      id:
        description: |-
          The ID of the item
          example: 1
        type: integer
      member:
        $ref: '#/definitions/model.User'
      memberId:
        type: integer
      number:
@@ -560,8 +785,17 @@
        $ref: '#/definitions/model.Quotation'
      quotationId:
        type: integer
      sendTime:
        type: string
      serviceContractStatus:
        $ref: '#/definitions/model.ServiceContractStatus'
      statusId:
        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.Country:
    properties:
@@ -587,23 +821,6 @@
        type: integer
      name:
        type: string
    type: object
  model.CustomerServiceSheet:
    properties:
      handleStatus:
        type: integer
      id:
        type: integer
      memberId:
        type: integer
      number:
        type: string
      priority:
        type: integer
      serviceFollowupId:
        type: integer
      serviceMode:
        type: integer
    type: object
  model.Department:
    properties:
@@ -646,12 +863,18 @@
        $ref: '#/definitions/model.Client'
      client_id:
        type: integer
      client_status:
        $ref: '#/definitions/model.ClientStatus'
      client_status_id:
        type: integer
      codeStandID:
        type: string
      contact:
        $ref: '#/definitions/model.Contact'
      contact_id:
        type: integer
      contact_information:
        $ref: '#/definitions/model.ContactInformation'
      contact_information_id:
        type: integer
      content:
@@ -672,8 +895,12 @@
        type: string
      record:
        type: string
      sale_chance:
        $ref: '#/definitions/model.SaleChance'
      sale_chance_id:
        type: integer
      sales_leads:
        $ref: '#/definitions/model.SalesLeads'
      sales_leads_id:
        type: integer
      topic:
@@ -693,6 +920,8 @@
      clientId:
        description: 客户id
        type: integer
      codeStandID:
        type: string
      courierCompany:
        $ref: '#/definitions/model.CourierCompany'
      courierCompanyId:
@@ -719,6 +948,8 @@
      invoiceTypeId:
        description: 发票类型id
        type: integer
      number:
        type: string
      principalId:
        description: 销售负责人id
        type: integer
@@ -774,10 +1005,14 @@
        $ref: '#/definitions/model.Client'
      client_id:
        type: integer
      codeStandID:
        type: string
      end_time:
        type: string
      id:
        type: integer
      member:
        $ref: '#/definitions/model.User'
      member_id:
        type: integer
      money:
@@ -889,18 +1124,30 @@
    properties:
      amount:
        type: number
      cost:
        type: string
      desc:
        type: string
      id:
        type: integer
      margin:
        type: string
      name:
        type: string
      number:
        type: string
      price:
        type: number
      profit:
        type: string
      specs:
        type: string
      total:
        type: number
      type:
        type: string
      unit:
        type: string
    type: object
  model.Province:
    properties:
@@ -915,10 +1162,15 @@
    type: object
  model.Quotation:
    properties:
      amountTotal:
        description: 价格合计
        type: number
      client:
        $ref: '#/definitions/model.Client'
      client_id:
        type: integer
      codeStandID:
        type: string
      conditions:
        type: string
      contact:
@@ -929,12 +1181,22 @@
        type: string
      id:
        type: integer
      member:
        $ref: '#/definitions/model.User'
      member_id:
        type: integer
      number:
        type: string
      products:
        items:
          $ref: '#/definitions/model.Product'
        type: array
      quotation_status:
        $ref: '#/definitions/model.QuotationStatus'
      quotation_status_id:
        type: integer
      quotationName:
        type: string
      sale_chance:
        $ref: '#/definitions/model.SaleChance'
      sale_chance_id:
@@ -951,12 +1213,25 @@
    type: object
  model.Receipt:
    properties:
      amount:
        description: 收款金额
        type: number
      bankAccount:
        $ref: '#/definitions/model.BankAccount'
      bankAccountId:
        description: 账户id
        type: integer
      client:
        allOf:
        - $ref: '#/definitions/model.Client'
        description: 客户id
      clientId:
        description: 客户id
        type: integer
      createTime:
        type: string
      creatorName:
        type: string
      fileId:
        description: 附件id
        type: integer
@@ -965,9 +1240,17 @@
      moneyType:
        description: 币种
        type: string
      number:
        type: string
      paymentType:
        $ref: '#/definitions/model.PaymentType'
      paymentTypeId:
        description: 收款方式ID
        type: integer
      principal:
        allOf:
        - $ref: '#/definitions/model.User'
        description: 负责人id
      principalId:
        description: 负责人id
        type: integer
@@ -981,10 +1264,20 @@
        description: 源单id
        type: integer
      sourceType:
        allOf:
        - $ref: '#/definitions/constvar.ReceiptSourceType'
        description: 来源类型(1销售明细单2服务合同3销售发票4收款计划5出库单)
        type: integer
      updateTime:
        type: string
    type: object
  model.RefundMethod:
    properties:
      id:
        type: integer
      name:
        type: string
    type: object
  model.RefundType:
    properties:
      id:
        type: integer
@@ -1042,6 +1335,12 @@
        $ref: '#/definitions/model.Client'
      client_id:
        type: integer
      codeStandID:
        type: string
      collection_projections:
        items:
          $ref: '#/definitions/model.CollectionProjection'
        type: array
      competitors:
        type: string
      contact:
@@ -1066,6 +1365,8 @@
        type: string
      key_maker:
        type: string
      member:
        $ref: '#/definitions/model.User'
      member_id:
        type: integer
      name:
@@ -1078,8 +1379,14 @@
        type: string
      possibilities_id:
        type: integer
      possibility:
        $ref: '#/definitions/model.Possibility'
      process:
        type: string
      products:
        items:
          $ref: '#/definitions/model.Product'
        type: array
      projected_amount:
        type: number
      province:
@@ -1090,20 +1397,30 @@
        $ref: '#/definitions/model.Region'
      region_id:
        type: integer
      regular_customers:
        $ref: '#/definitions/model.RegularCustomers'
      regular_customers_id:
        type: integer
      remark:
        type: string
      sale_stage:
        $ref: '#/definitions/model.SaleStage'
      sale_stage_id:
        type: integer
      sale_type:
        $ref: '#/definitions/model.SaleType'
      sale_type_id:
        type: integer
      sales_sources:
        $ref: '#/definitions/model.SalesSources'
      sales_sources_id:
        type: integer
      salesSources:
        $ref: '#/definitions/model.SalesSources'
      solutions:
        type: string
      status:
        allOf:
        - $ref: '#/definitions/model.Status'
        description: 状态
      status_id:
        type: integer
      threats:
@@ -1127,6 +1444,8 @@
    type: object
  model.SalesDetails:
    properties:
      Member:
        $ref: '#/definitions/model.User'
      address:
        type: string
      addressee:
@@ -1140,6 +1459,9 @@
      amountReceived:
        description: 已收金额
        type: number
      amountTotal:
        description: 价税合计
        type: number
      amountUnInvoiced:
        description: 未开票金额
        type: number
@@ -1147,8 +1469,18 @@
        $ref: '#/definitions/model.Client'
      clientId:
        type: integer
      codeStandID:
        type: string
      conditions:
        type: string
      createTime:
        type: string
      creatorId:
        type: integer
      creatorName:
        type: string
      deliverType:
        type: integer
      deliveryDate:
        type: string
      id:
@@ -1169,6 +1501,12 @@
        items:
          $ref: '#/definitions/model.Product'
        type: array
      projectId:
        type: string
      quotation:
        $ref: '#/definitions/model.Quotation'
      quotationId:
        type: integer
      remark:
        type: string
      saleChance:
@@ -1178,6 +1516,12 @@
      saleType:
        type: integer
      signTime:
        type: string
      source:
        type: string
      status:
        $ref: '#/definitions/constvar.SalesDetailsStatus'
      updateTime:
        type: string
      wechatOrderStatus:
        $ref: '#/definitions/model.WechatOrderStatus'
@@ -1190,6 +1534,8 @@
        $ref: '#/definitions/model.City'
      city_id:
        type: integer
      codeStandID:
        type: string
      contact_name:
        type: string
      contact_phone:
@@ -1202,12 +1548,16 @@
        type: integer
      desc:
        type: string
      detail_address:
        type: string
      followRecord:
        items:
          $ref: '#/definitions/model.FollowRecord'
        type: array
      id:
        type: integer
      member:
        $ref: '#/definitions/model.User'
      member_id:
        type: integer
      name:
@@ -1224,6 +1574,8 @@
        $ref: '#/definitions/model.Region'
      region_id:
        type: integer
      sales_sources:
        $ref: '#/definitions/model.SalesSources'
      sales_sources_id:
        type: integer
      sales_status:
@@ -1231,18 +1583,43 @@
    type: object
  model.SalesRefund:
    properties:
      accountId:
      RefundType:
        allOf:
        - $ref: '#/definitions/model.RefundType'
        description: 退款方式
      amountTotal:
        description: 价税合计
        type: number
      bankAccount:
        $ref: '#/definitions/model.BankAccount'
      bankAccountId:
        description: 账户id
        type: integer
      client:
        $ref: '#/definitions/model.Client'
      clientId:
        type: integer
      codeStandID:
        type: string
      createTime:
        type: string
      creatorName:
        type: string
      id:
        type: integer
      isInvoice:
        type: integer
        type: string
      member:
        $ref: '#/definitions/model.User'
      memberId:
        type: integer
      number:
        type: string
      paymentType:
        $ref: '#/definitions/model.PaymentType'
      paymentTypeId:
        description: 收款方式ID
        type: integer
      products:
        items:
          $ref: '#/definitions/model.Product'
@@ -1251,13 +1628,45 @@
        type: string
      refundDate:
        type: string
      refundMethod:
      refundTypeId:
        description: 退款方式ID
        type: integer
      salesReturn:
        $ref: '#/definitions/model.SalesReturn'
      sourceId:
        description: 源单id
        type: integer
      sourceType:
        allOf:
        - $ref: '#/definitions/constvar.RefundSourceType'
        description: 来源类型(1销售退货)
      updateTime:
        type: string
    type: object
  model.SalesReturn:
    properties:
      Member:
        $ref: '#/definitions/model.User'
      SalesReturnStatus:
        allOf:
        - $ref: '#/definitions/model.SalesReturnStatus'
        description: 退货状态
      amountHasRefund:
        description: 已退款金额
        type: number
      amountShouldRefund:
        description: 应退款金额
        type: number
      client:
        $ref: '#/definitions/model.Client'
      clientId:
        type: integer
      codeStandID:
        type: string
      createTime:
        type: string
      creatorName:
        type: string
      id:
        type: integer
      memberId:
@@ -1265,17 +1674,32 @@
      number:
        type: string
      products:
        description: 退货产品
        items:
          $ref: '#/definitions/model.Product'
        type: array
      reason:
        description: 退货原因
        type: string
      repository:
        type: string
      returnDate:
        description: 退货日期
        type: string
      salesReturnStatus:
      salesReturnStatusId:
        description: 退货状态id
        type: integer
      source:
        $ref: '#/definitions/model.SalesDetails'
      sourceId:
        description: 源单id
        type: integer
      sourceType:
        allOf:
        - $ref: '#/definitions/constvar.SalesReturnSourceType'
        description: 源单类型(1销售明细)
      updateTime:
        type: string
    type: object
  model.SalesReturnStatus:
    properties:
@@ -1303,6 +1727,15 @@
      amount:
        description: 金额
        type: number
      amountReceivable:
        description: 应收金额
        type: number
      amountReceived:
        description: 已收金额
        type: number
      amountTotal:
        description: 总额
        type: number
      collectionDate:
        description: 计划收款日期
        type: string
@@ -1320,6 +1753,10 @@
      percent:
        description: 比例
        type: number
      principal:
        allOf:
        - $ref: '#/definitions/model.User'
        description: 收款负责人ID
      principalId:
        description: 收款负责人ID
        type: integer
@@ -1330,12 +1767,13 @@
        description: 源单id
        type: integer
      sourceType:
        allOf:
        - $ref: '#/definitions/constvar.CollectionSourceType'
        description: 源单类型(1销售明细2服务合同3销售发票)
        type: integer
      status:
        allOf:
        - $ref: '#/definitions/constvar.CollectionStatus'
        description: 状态(1未收2已收)
        description: 状态(1未收2部分已收3已收)
      term:
        description: 期次
        type: integer
@@ -1353,6 +1791,9 @@
      amountReceived:
        description: 已收金额
        type: number
      amountTotal:
        description: 价税合计
        type: number
      amountUnInvoiced:
        description: 未开票金额
        type: number
@@ -1360,12 +1801,22 @@
        $ref: '#/definitions/model.Client'
      clientId:
        type: integer
      codeStandID:
        type: string
      contact:
        $ref: '#/definitions/model.Contact'
      contactId:
        type: integer
      createTime:
        type: string
      creatorName:
        type: string
      endTime:
        type: string
      id:
        type: integer
      member:
        $ref: '#/definitions/model.User'
      memberId:
        type: integer
      number:
@@ -1401,6 +1852,8 @@
      startTime:
        type: string
      terms:
        type: string
      updateTime:
        type: string
    type: object
  model.ServiceContractStatus:
@@ -1442,12 +1895,16 @@
        $ref: '#/definitions/model.Client'
      clientId:
        type: integer
      codeStandID:
        type: string
      contact:
        $ref: '#/definitions/model.Contact'
      contactId:
        type: integer
      customerServiceSheet:
        $ref: '#/definitions/model.CustomerServiceSheet'
      createTime:
        type: string
      creatorName:
        type: string
      file:
        type: string
      id:
@@ -1472,10 +1929,10 @@
        $ref: '#/definitions/model.Satisfaction'
      satisfactionId:
        type: integer
      serviceId:
        type: integer
      serviceOrder:
        $ref: '#/definitions/model.ServiceOrder'
      serviceOrderId:
        type: integer
      solveRate:
        $ref: '#/definitions/model.SolveRate'
      solveRateId:
@@ -1484,6 +1941,8 @@
        $ref: '#/definitions/model.TimelyRate'
      timelyRateId:
        type: integer
      updateTime:
        type: string
    type: object
  model.ServiceOrder:
    properties:
@@ -1494,26 +1953,29 @@
        description: 预约上门时间
        type: string
      carFare:
        description: 交通费
        description: 交通费                                                                 //
          交通费
        type: number
      chargeAmount:
        description: 收费金额
        description: 收费金额                                                       //
          收费金额
        type: number
      client:
        $ref: '#/definitions/model.Client'
      clientId:
        description: 客户id
        type: integer
      codeStandID:
        type: string
      contact:
        $ref: '#/definitions/model.Contact'
      contactId:
        description: 联系人id
        type: integer
      contract:
        $ref: '#/definitions/model.Contract'
      contractId:
        description: 合同id
        type: integer
      createTime:
        type: string
      creatorName:
        type: string
      expectTime:
        description: 希望处理时间
        type: string
@@ -1529,11 +1991,8 @@
        type: integer
      id:
        type: integer
      orderId:
        description: 销售订单id
        type: integer
      orderManage:
        $ref: '#/definitions/model.OrderManage'
      number:
        type: string
      priorityLevel:
        $ref: '#/definitions/model.PriorityLevel'
      priorityLevelId:
@@ -1542,11 +2001,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
@@ -1558,12 +2018,31 @@
      saleChanceId:
        description: 销售机会id
        type: integer
      salesDetails:
        $ref: '#/definitions/model.SalesDetails'
      salesDetailsId:
        description: 销售明细id
        type: integer
      serviceContract:
        $ref: '#/definitions/model.ServiceContract'
      serviceContractId:
        description: 服务合同id
        type: integer
      serviceMan:
        allOf:
        - $ref: '#/definitions/model.User'
        description: 服务人员
      serviceManId:
        description: 服务人员
        type: integer
      serviceNumber:
        description: 服务单编号
        type: string
      serviceOrderStatus:
        $ref: '#/definitions/model.ServiceOrderStatus'
      serviceOrderStatusId:
        description: 处理状态
        type: integer
      serviceType:
        $ref: '#/definitions/model.ServiceType'
      serviceTypeId:
@@ -1571,15 +2050,15 @@
        type: integer
      severity:
        $ref: '#/definitions/model.Severity'
      severityId:
        description: 严重程度id
        type: integer
      solution:
        description: 解决方法
        type: string
      solutionRemark:
        description: 内部备注
        type: string
      status:
        description: 处理状态
        type: integer
      subject:
        description: 主题
        type: string
@@ -1588,6 +2067,15 @@
      timeSpentId:
        description: 花费时间
        type: integer
      updateTime:
        type: string
    type: object
  model.ServiceOrderStatus:
    properties:
      id:
        type: integer
      name:
        type: string
    type: object
  model.ServiceType:
    properties:
@@ -1623,10 +2111,16 @@
        $ref: '#/definitions/model.Client'
      clientId:
        type: integer
      codeStandID:
        type: string
      id:
        type: integer
      masterOrder:
        $ref: '#/definitions/model.MasterOrder'
      masterOrderId:
        type: integer
      member:
        $ref: '#/definitions/model.User'
      memberId:
        type: integer
      number:
@@ -1635,6 +2129,17 @@
        items:
          $ref: '#/definitions/model.Product'
        type: array
    type: object
  model.SystemSet:
    properties:
      id:
        type: integer
      modeType:
        type: string
      name:
        type: string
      value:
        type: string
    type: object
  model.TimeSpent:
    properties:
@@ -1678,6 +2183,9 @@
        type: string
      realName:
        type: string
      subUserIds:
        description: 下属员工用户id,用逗号分开
        type: string
      userType:
        $ref: '#/definitions/constvar.UserType'
      username:
@@ -1703,10 +2211,16 @@
      MaterialMode:
        description: 物料类型
        type: string
      MaxInventory:
        description: 最大库存
        type: integer
      MinInventory:
        description: 安全库存
        type: integer
      Name:
        type: string
      Node:
        description: 备注
        type: string
      Number:
        type: string
@@ -1716,6 +2230,12 @@
      SalePrice:
        description: 销售价格
        type: number
      Specs:
        description: 规格
        type: string
      Type:
        description: 型号
        type: string
      Unit:
        type: string
    type: object
@@ -1769,8 +2289,14 @@
      client_type_id:
        description: 客户类型ID
        type: integer
      codeStandID:
        description: 编码id
        type: string
      contact:
        $ref: '#/definitions/request.Contact'
      contact_id:
        description: 联系人ID
        type: integer
      country_id:
        type: integer
      detail_address:
@@ -1909,6 +2435,12 @@
    properties:
      client_id:
        type: integer
      codeStandID:
        description: 编码id
        type: string
      contractName:
        description: 合同名称
        type: string
      file:
        type: string
      member_id:
@@ -1917,6 +2449,9 @@
        type: string
      quotation_id:
        type: integer
      sendTime:
        description: 发货时间
        type: string
      status_id:
        type: integer
    type: object
@@ -2007,6 +2542,8 @@
      clientId:
        description: 客户id
        type: integer
      codeStandID:
        type: string
      courierCompanyId:
        description: 物流公司
        type: integer
@@ -2025,6 +2562,9 @@
      invoiceTypeId:
        description: 发票类型id
        type: integer
      number:
        description: 发票编号
        type: string
      principalId:
        description: 销售负责人id
        type: integer
@@ -2079,6 +2619,9 @@
    properties:
      client_id:
        type: integer
      codeStandID:
        description: 编码id
        type: string
      end_time:
        type: string
      member_id:
@@ -2154,6 +2697,9 @@
    properties:
      client_id:
        type: integer
      codeStandID:
        description: 编码id
        type: string
      conditions:
        type: string
      contact_id:
@@ -2164,8 +2710,15 @@
        type: integer
      number:
        type: string
      products:
        items:
          $ref: '#/definitions/model.Product'
        type: array
      quotation_status_id:
        type: integer
      quotationName:
        description: 报价单名称
        type: string
      sale_chance_id:
        type: integer
      validity_date:
@@ -2180,12 +2733,25 @@
    type: object
  request.AddReceipt:
    properties:
      amount:
        description: 收款金额
        type: number
      bankAccount:
        $ref: '#/definitions/model.BankAccount'
      bankAccountId:
        description: 账户id
        type: integer
      client:
        allOf:
        - $ref: '#/definitions/model.Client'
        description: 客户id
      clientId:
        description: 客户id
        type: integer
      createTime:
        type: string
      creatorName:
        type: string
      fileId:
        description: 附件id
        type: integer
@@ -2194,9 +2760,17 @@
      moneyType:
        description: 币种
        type: string
      number:
        type: string
      paymentType:
        $ref: '#/definitions/model.PaymentType'
      paymentTypeId:
        description: 收款方式ID
        type: integer
      principal:
        allOf:
        - $ref: '#/definitions/model.User'
        description: 负责人id
      principalId:
        description: 负责人id
        type: integer
@@ -2210,8 +2784,11 @@
        description: 源单id
        type: integer
      sourceType:
        allOf:
        - $ref: '#/definitions/constvar.ReceiptSourceType'
        description: 来源类型(1销售明细单2服务合同3销售发票4收款计划5出库单)
        type: integer
      updateTime:
        type: string
    type: object
  request.AddRefundMethod:
    properties:
@@ -2219,6 +2796,13 @@
        type: string
    required:
    - name
    type: object
  request.AddRefundType:
    properties:
      id:
        type: integer
      name:
        type: string
    type: object
  request.AddRegion:
    properties:
@@ -2266,6 +2850,9 @@
        type: integer
      client_id:
        type: integer
      codeStandID:
        description: 编码id
        type: string
      competitors:
        type: string
      contact_id:
@@ -2298,6 +2885,10 @@
        type: integer
      process:
        type: string
      products:
        items:
          $ref: '#/definitions/model.Product'
        type: array
      projected_amount:
        type: number
      province_id:
@@ -2339,14 +2930,24 @@
    type: object
  request.AddSalesDetails:
    properties:
      Member:
        $ref: '#/definitions/model.User'
      address:
        type: string
      addressee:
        type: string
      client:
        $ref: '#/definitions/model.Client'
      clientId:
        type: integer
      codeStandID:
        description: 编码id
        type: string
      conditions:
        type: string
      deliverType:
        description: 交付类型:1.一次发货,2.多次发货
        type: integer
      deliveryDate:
        type: string
      logisticCompany:
@@ -2365,6 +2966,10 @@
        items:
          $ref: '#/definitions/model.Product'
        type: array
      projectId:
        type: string
      quotationId:
        type: integer
      remark:
        type: string
      saleChanceId:
@@ -2373,6 +2978,10 @@
        type: integer
      signTime:
        type: string
      source:
        type: string
      status:
        $ref: '#/definitions/constvar.SalesDetailsStatus'
      wechatOrderStatusId:
        type: integer
    type: object
@@ -2380,6 +2989,9 @@
    properties:
      city_id:
        type: integer
      codeStandID:
        description: 编码id
        type: string
      contact_name:
        description: 联系人姓名
        type: string
@@ -2393,6 +3005,9 @@
        type: integer
      desc:
        description: 备注
        type: string
      detail_address:
        description: 详细地址
        type: string
      member_id:
        description: 销售负责人ID
@@ -2455,6 +3070,9 @@
    properties:
      clientId:
        type: integer
      codeStandID:
        description: 编码id
        type: string
      contactId:
        type: integer
      endTime:
@@ -2475,6 +3093,10 @@
        type: integer
      salesDetailsId:
        type: integer
      serviceContractStatusId:
        type: integer
      serviceContractTypeId:
        type: integer
      serviceTimes:
        type: integer
      signTime:
@@ -2492,10 +3114,10 @@
    type: object
  request.AddServiceContractStatus:
    properties:
      id:
        type: integer
      name:
        type: string
    required:
    - name
    type: object
  request.AddServiceContractType:
    properties:
@@ -2523,8 +3145,14 @@
      client_type_id:
        description: 客户类型ID
        type: integer
      codeStandID:
        description: 编码id
        type: string
      contact:
        $ref: '#/definitions/request.Contact'
      contact_id:
        description: 联系人ID
        type: integer
      country_id:
        type: integer
      detail_address:
@@ -2585,6 +3213,9 @@
    properties:
      clientId:
        type: integer
      codeStandID:
        description: 编码id
        type: string
      contactId:
        type: integer
      file:
@@ -2603,7 +3234,7 @@
        type: string
      satisfaction:
        type: integer
      serviceId:
      serviceOrderId:
        type: integer
      solveRate:
        type: integer
@@ -2627,11 +3258,11 @@
      clientId:
        description: 客户id
        type: integer
      codeStandID:
        description: 编码id
        type: string
      contactId:
        description: 联系人id
        type: integer
      contractId:
        description: 合同id
        type: integer
      expectTime:
        description: 希望处理时间
@@ -2642,18 +3273,18 @@
      faultTypeId:
        description: 故障类别id
        type: integer
      orderId:
        description: 销售订单id
        type: integer
      priorityLevelId:
        description: 优先级别id
        type: integer
      problemDesc:
        description: 问题描述
        type: string
      productId:
        description: 产品id
        type: integer
      productName:
        description: 产品名称
        type: string
      productTypeName:
        description: 产品分类名称
        type: string
      realTime:
        description: 实际处理时间
        type: string
@@ -2663,16 +3294,25 @@
      saleChanceId:
        description: 销售机会id
        type: integer
      salesDetailsId:
        description: 销售订单id
        type: integer
      serviceContractId:
        description: 合同id
        type: integer
      serviceManId:
        description: 服务人员
        type: integer
      serviceNumber:
        description: 服务单编号
        type: string
      serviceOrderStatusId:
        description: 处理状态
        type: integer
      serviceTypeId:
        description: 服务方式id
        type: integer
      severity:
      severityId:
        description: 严重程度id
        type: integer
      solution:
@@ -2681,15 +3321,19 @@
      solutionRemark:
        description: 内部备注
        type: string
      status:
        description: 处理状态
        type: integer
      subject:
        description: 主题
        type: string
      timeSpentId:
        description: 花费时间
        type: integer
    type: object
  request.AddServiceOrderStatus:
    properties:
      id:
        type: integer
      name:
        type: string
    type: object
  request.AddServiceType:
    properties:
@@ -2723,6 +3367,9 @@
    properties:
      clientId:
        type: integer
      codeStandID:
        description: 编码id
        type: string
      masterOrderId:
        type: integer
      memberId:
@@ -2796,35 +3443,42 @@
        description: 路径
        type: string
    type: object
  request.ChangePasswordReq:
  request.CheckClientName:
    properties:
      newPassword:
        description: 新密码
        type: string
      password:
        description: 密码
      name:
        type: string
    type: object
  request.ChangeUserInfo:
  request.CommonIds:
    properties:
      email:
        description: 用户邮箱
      ids:
        items:
          type: integer
        type: array
    required:
    - ids
    type: object
  request.ConfirmOutput:
    properties:
      products:
        items:
          $ref: '#/definitions/request.ConfirmOutputProducts'
        type: array
      saleDetailNumber:
        type: string
      headerImg:
        description: 用户头像
    type: object
  request.ConfirmOutputOver:
    properties:
      saleDetailNumber:
        type: string
      id:
        description: 用户ID
    type: object
  request.ConfirmOutputProducts:
    properties:
      number:
        description: 产品编号
        type: string
      nickName:
        description: 用户昵称
        type: string
      phone:
        description: 用户手机号
        type: string
      pos:
        description: 用户岗位
        type: string
      outputAmount:
        description: 本次发货数量
        type: number
    type: object
  request.Contact:
    properties:
@@ -2889,6 +3543,13 @@
          type: integer
        type: array
    type: object
  request.DeleteContract:
    properties:
      ids:
        items:
          type: integer
        type: array
    type: object
  request.DeleteCountry:
    properties:
      id:
@@ -2902,6 +3563,13 @@
          type: integer
        type: array
    type: object
  request.DeleteMasterOrder:
    properties:
      ids:
        items:
          type: integer
        type: array
    type: object
  request.DeleteOrderManage:
    properties:
      ids:
@@ -2909,14 +3577,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:
@@ -2937,11 +3612,12 @@
          type: integer
        type: array
    type: object
  request.DeleteUserReq:
  request.DeleteSubOrder:
    properties:
      userId:
        description: 用户ID
        type: string
      ids:
        items:
          type: integer
        type: array
    type: object
  request.DownloadFile:
    properties:
@@ -2969,6 +3645,8 @@
        type: integer
      client_status_id:
        type: integer
      codeStandID:
        type: string
      contact_id:
        type: integer
      contact_information_id:
@@ -3006,11 +3684,16 @@
        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:
    properties:
      clientId:
        description: 客户id
        type: integer
      page:
        description: 页码
        type: integer
@@ -3021,7 +3704,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:
@@ -3034,6 +3718,11 @@
      pageSize:
        description: 每页大小
        type: integer
      search_map:
        additionalProperties: true
        description: '搜索条件: map[string]interface{} {"member_name": "销售负责人", "number":
          "合同编号", "created_at": "创建时间"}'
        type: object
    type: object
  request.GetFaqList:
    properties:
@@ -3063,19 +3752,42 @@
        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:
  request.GetInvoiceList:
    properties:
      keyword:
        type: string
      page:
        description: 页码
        type: integer
      pageSize:
        description: 每页大小
        type: integer
      principalIds:
        items:
          type: integer
        type: array
      sourceId:
        type: integer
      sourceType:
        allOf:
        - $ref: '#/definitions/constvar.InvoiceSourceType'
        description: 源单类型(1销售明细单2服务合同)
    type: object
  request.GetMasterOrderList:
    properties:
      page:
        description: 页码
        type: integer
      pageSize:
        description: 每页大小
        type: integer
      search_map:
        additionalProperties: true
        description: '搜索条件: map[string]interface{}{"name": "xxx"}; {"number": "销售总单号",
          "client_name": "客户名称", "member_name": "销售负责人", "start_time": "开始时间", "end_time":
          "结束时间", "money": "总金额", "member_name": "负责人"}'
        type: object
    type: object
  request.GetOrderManageList:
    properties:
@@ -3101,37 +3813,55 @@
    type: object
  request.GetQuotationList:
    properties:
      keyword:
        type: string
      page:
        description: 页码
        type: integer
      pageSize:
        description: 每页大小
        type: integer
      search_map:
        additionalProperties: true
        description: '搜索条件: map[string]interface{}{"name": "xxx"}; {"sale_chance_id":
          销售线索id, "client_name": "客户名称", "member_name": "销售负责人", "contact_name": "联系人",
          "validity_date": "有效期"}'
        type: object
    type: object
  request.GetSaleChanceList:
    properties:
      keyword:
        type: string
      page:
        description: 页码
        type: integer
      pageSize:
        description: 每页大小
        type: integer
      search_map:
        additionalProperties: true
        description: '搜索条件: map[string]interface{}{"name": "xxx"}; {"name": "机会名称",
          "client_name": "客户名称","number":"编号", "contact_name":"联系人姓名", "member_name":
          "销售负责人", "status": "状态", "sale_stage": "阶段", "possibilities": "可能性", "expected_time":
          "预计成交时间", "budget": "资金绝对值", "projected_amount": "预计合同金额"}'
        type: object
    type: object
  request.GetSalesDetailsList:
    properties:
      clientId:
        description: 客户id
        type: integer
      keyword:
        type: string
      keywordType:
        $ref: '#/definitions/constvar.SalesDetailsKeywordType'
      number:
        description: 销售明细单号
        type: string
      page:
        description: 页码
        type: integer
      pageSize:
        description: 每页大小
        type: integer
      saleChanceId:
        description: 销售机会id
        type: integer
    type: object
  request.GetSalesLeadsList:
@@ -3153,26 +3883,55 @@
    properties:
      keyword:
        type: string
      keywordType:
        $ref: '#/definitions/constvar.SalesRefundKeywordType'
      page:
        description: 页码
        type: integer
      pageSize:
        description: 每页大小
        type: integer
      sourceId:
        type: integer
    type: object
  request.GetSalesReturnList:
    properties:
      clientId:
        description: 客户id
        type: integer
      keyword:
        type: string
      keywordType:
        $ref: '#/definitions/constvar.SalesReturnKeywordType'
      page:
        description: 页码
        type: integer
      pageSize:
        description: 每页大小
        type: integer
      sourceId:
        description: 源单id
        type: integer
      sourceType:
        allOf:
        - $ref: '#/definitions/constvar.SalesReturnSourceType'
        description: 源单类型(1销售明细)
    type: object
  request.GetServiceCollectionPlanList:
    properties:
      sourceId:
        type: integer
      sourceType:
        $ref: '#/definitions/constvar.CollectionSourceType'
    required:
    - sourceId
    - sourceType
    type: object
  request.GetServiceContractList:
    properties:
      contactId:
        description: 联系人id
        type: integer
      keyword:
        type: string
      keywordType:
@@ -3185,6 +3944,15 @@
        type: integer
      queryClass:
        $ref: '#/definitions/constvar.ServiceContractQueryClass'
      quotationId:
        description: 报价单id
        type: integer
      saleChanceId:
        description: 销售机会id
        type: integer
      salesDetailsId:
        description: 合同订单id
        type: integer
    type: object
  request.GetServiceFeeManageList:
    properties:
@@ -3213,6 +3981,9 @@
      pageSize:
        description: 每页大小
        type: integer
      serviceOrderId:
        description: 服务回访单id
        type: integer
    type: object
  request.GetServiceOrderList:
    properties:
@@ -3228,44 +3999,25 @@
        type: integer
      queryClass:
        $ref: '#/definitions/constvar.ServiceOrderQueryClass'
      salesDetailsId:
        type: integer
      serviceContractId:
        type: integer
    type: object
  request.GetSubOrderList:
    properties:
      keyword:
        type: string
      page:
        description: 页码
        type: integer
      pageSize:
        description: 每页大小
        type: integer
    type: object
  request.GetUserList:
    properties:
      keyword:
        description: 模糊查询关键字
        type: string
      page:
        description: 页码
        type: integer
      pageSize:
        description: 每页大小
        type: integer
    type: object
  request.Login:
    properties:
      captcha:
        description: 验证码
        type: string
      captchaId:
        description: 验证码ID
        type: string
      password:
        description: 密码
        type: string
      username:
        description: 用户名
        type: string
      search_map:
        additionalProperties: true
        description: '搜索条件: map[string]interface{}{"name": "xxx"}; {"number": "销售子单号",
          "client_name": "客户名称", "master_order_number": "销售总单号", "member_name": "销售负责人",
          "master_order_id": "销售总单id"}'
        type: object
    type: object
  request.Plan:
    properties:
@@ -3288,6 +4040,16 @@
      subOrderId:
        type: integer
    type: object
  request.PushSaleChance:
    properties:
      id:
        type: integer
      step:
        type: integer
    required:
    - id
    - step
    type: object
  request.PushSalesLeads:
    properties:
      id:
@@ -3299,47 +4061,26 @@
        - $ref: '#/definitions/constvar.SalesStatus'
        description: '商机状态: 1: 跟进中; -1:失败'
    type: object
  request.Register:
    properties:
      authorityId:
        description: 用户角色ID
        type: integer
      departmentId:
        type: integer
      email:
        type: string
      headerImg:
        type: string
      id:
        type: string
      nickName:
        type: string
      password:
        type: string
      phone:
        type: string
      pos:
        type: string
      rePassword:
        description: 确认密码
        type: string
      realName:
        type: string
      userType:
        $ref: '#/definitions/constvar.UserType'
      username:
        type: string
    type: object
  request.SalesDetails:
    properties:
      Member:
        $ref: '#/definitions/model.User'
      address:
        type: string
      addressee:
        type: string
      client:
        $ref: '#/definitions/model.Client'
      clientId:
        type: integer
      codeStandID:
        description: 编码id
        type: string
      conditions:
        type: string
      deliverType:
        description: 交付类型:1.一次发货,2.多次发货
        type: integer
      deliveryDate:
        type: string
      logisticCompany:
@@ -3358,6 +4099,10 @@
        items:
          $ref: '#/definitions/model.Product'
        type: array
      projectId:
        type: string
      quotationId:
        type: integer
      remark:
        type: string
      saleChanceId:
@@ -3366,21 +4111,32 @@
        type: integer
      signTime:
        type: string
      source:
        type: string
      status:
        $ref: '#/definitions/constvar.SalesDetailsStatus'
      wechatOrderStatusId:
        type: integer
    type: object
  request.SalesRefund:
    properties:
      accountId:
      bankAccountId:
        description: 账户id
        type: integer
      clientId:
        type: integer
      codeStandID:
        description: 编码id
        type: string
      isInvoice:
        type: integer
        type: string
      memberId:
        type: integer
      number:
        type: string
      paymentTypeId:
        description: 收款方式ID
        type: integer
      products:
        items:
          $ref: '#/definitions/model.Product'
@@ -3389,29 +4145,58 @@
        type: string
      refundDate:
        type: string
      refundMethod:
        type: string
      sourceId:
        description: 源单id
        type: integer
      sourceType:
        allOf:
        - $ref: '#/definitions/constvar.RefundSourceType'
        description: 来源类型(1销售退款单)
    required:
    - sourceId
    - sourceType
    type: object
  request.SalesReturn:
    properties:
      clientId:
        type: integer
      codeStandID:
        description: 编码id
        type: string
      memberId:
        type: integer
      number:
        type: string
      products:
        description: 退货产品
        items:
          $ref: '#/definitions/model.Product'
        type: array
      reason:
        description: 退货原因
        type: string
      repository:
        type: string
      returnDate:
        description: 退货日期
        type: string
      status:
      salesReturnStatusId:
        description: 退货状态id
        type: integer
      sourceId:
        description: 源单id
        type: integer
      sourceType:
        allOf:
        - $ref: '#/definitions/constvar.SalesReturnSourceType'
        description: 源单类型(1销售明细)
    type: object
  request.SaveSystemSet:
    properties:
      sets:
        items:
          $ref: '#/definitions/model.SystemSet'
        type: array
    type: object
  request.SetAuthorityMenu:
    properties:
@@ -3517,8 +4302,14 @@
      client_type_id:
        description: 客户类型ID
        type: integer
      codeStandID:
        description: 编码id
        type: string
      contact:
        $ref: '#/definitions/request.Contact'
      contact_id:
        description: 联系人ID
        type: integer
      country_id:
        type: integer
      detail_address:
@@ -3713,6 +4504,12 @@
    properties:
      client_id:
        type: integer
      codeStandID:
        description: 编码id
        type: string
      contractName:
        description: 合同名称
        type: string
      file:
        type: string
      id:
@@ -3723,6 +4520,9 @@
        type: string
      quotation_id:
        type: integer
      sendTime:
        description: 发货时间
        type: string
      status_id:
        type: integer
    type: object
@@ -3876,6 +4676,8 @@
      clientId:
        description: 客户id
        type: integer
      codeStandID:
        type: string
      courierCompanyId:
        description: 物流公司
        type: integer
@@ -3896,6 +4698,9 @@
      invoiceTypeId:
        description: 发票类型id
        type: integer
      number:
        description: 发票编号
        type: string
      principalId:
        description: 销售负责人id
        type: integer
@@ -3975,6 +4780,9 @@
    properties:
      client_id:
        type: integer
      codeStandID:
        description: 编码id
        type: string
      end_time:
        type: string
      id:
@@ -4091,6 +4899,9 @@
    properties:
      client_id:
        type: integer
      codeStandID:
        description: 编码id
        type: string
      conditions:
        type: string
      contact_id:
@@ -4103,8 +4914,15 @@
        type: integer
      number:
        type: string
      products:
        items:
          $ref: '#/definitions/model.Product'
        type: array
      quotation_status_id:
        type: integer
      quotationName:
        description: 报价单名称
        type: string
      sale_chance_id:
        type: integer
      validity_date:
@@ -4131,12 +4949,25 @@
    type: object
  request.UpdateReceipt:
    properties:
      amount:
        description: 收款金额
        type: number
      bankAccount:
        $ref: '#/definitions/model.BankAccount'
      bankAccountId:
        description: 账户id
        type: integer
      client:
        allOf:
        - $ref: '#/definitions/model.Client'
        description: 客户id
      clientId:
        description: 客户id
        type: integer
      createTime:
        type: string
      creatorName:
        type: string
      fileId:
        description: 附件id
        type: integer
@@ -4145,9 +4976,17 @@
      moneyType:
        description: 币种
        type: string
      number:
        type: string
      paymentType:
        $ref: '#/definitions/model.PaymentType'
      paymentTypeId:
        description: 收款方式ID
        type: integer
      principal:
        allOf:
        - $ref: '#/definitions/model.User'
        description: 负责人id
      principalId:
        description: 负责人id
        type: integer
@@ -4161,8 +5000,11 @@
        description: 源单id
        type: integer
      sourceType:
        allOf:
        - $ref: '#/definitions/constvar.ReceiptSourceType'
        description: 来源类型(1销售明细单2服务合同3销售发票4收款计划5出库单)
        type: integer
      updateTime:
        type: string
    type: object
  request.UpdateRefundMethod:
    properties:
@@ -4182,6 +5024,13 @@
        type: array
    required:
    - refund_method
    type: object
  request.UpdateRefundType:
    properties:
      id:
        type: integer
      name:
        type: string
    type: object
  request.UpdateRegion:
    properties:
@@ -4286,6 +5135,9 @@
        type: integer
      client_id:
        type: integer
      codeStandID:
        description: 编码id
        type: string
      competitors:
        type: string
      contact_id:
@@ -4320,6 +5172,10 @@
        type: integer
      process:
        type: string
      products:
        items:
          $ref: '#/definitions/model.Product'
        type: array
      projected_amount:
        type: number
      province_id:
@@ -4392,10 +5248,20 @@
      salesDetails:
        $ref: '#/definitions/request.SalesDetails'
    type: object
  request.UpdateSalesDetailsStatus:
    properties:
      id:
        type: integer
      status:
        $ref: '#/definitions/constvar.SalesDetailsStatus'
    type: object
  request.UpdateSalesLeads:
    properties:
      city_id:
        type: integer
      codeStandID:
        description: 编码id
        type: string
      contact_name:
        description: 联系人姓名
        type: string
@@ -4409,6 +5275,9 @@
        type: integer
      desc:
        description: 备注
        type: string
      detail_address:
        description: 详细地址
        type: string
      id:
        type: integer
@@ -4503,6 +5372,15 @@
      amount:
        description: 金额
        type: number
      amountReceivable:
        description: 应收金额
        type: number
      amountReceived:
        description: 已收金额
        type: number
      amountTotal:
        description: 总额
        type: number
      collectionDate:
        description: 计划收款日期
        type: string
@@ -4520,6 +5398,10 @@
      percent:
        description: 比例
        type: number
      principal:
        allOf:
        - $ref: '#/definitions/model.User'
        description: 收款负责人ID
      principalId:
        description: 收款负责人ID
        type: integer
@@ -4530,12 +5412,13 @@
        description: 源单id
        type: integer
      sourceType:
        allOf:
        - $ref: '#/definitions/constvar.CollectionSourceType'
        description: 源单类型(1销售明细2服务合同3销售发票)
        type: integer
      status:
        allOf:
        - $ref: '#/definitions/constvar.CollectionStatus'
        description: 状态(1未收2已收)
        description: 状态(1未收2部分已收3已收)
      term:
        description: 期次
        type: integer
@@ -4544,6 +5427,9 @@
    properties:
      clientId:
        type: integer
      codeStandID:
        description: 编码id
        type: string
      contactId:
        type: integer
      endTime:
@@ -4566,6 +5452,10 @@
        type: integer
      salesDetailsId:
        type: integer
      serviceContractStatusId:
        type: integer
      serviceContractTypeId:
        type: integer
      serviceTimes:
        type: integer
      signTime:
@@ -4587,18 +5477,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:
@@ -4638,8 +5516,14 @@
      client_type_id:
        description: 客户类型ID
        type: integer
      codeStandID:
        description: 编码id
        type: string
      contact:
        $ref: '#/definitions/request.Contact'
      contact_id:
        description: 联系人ID
        type: integer
      country_id:
        type: integer
      detail_address:
@@ -4700,6 +5584,9 @@
    properties:
      clientId:
        type: integer
      codeStandID:
        description: 编码id
        type: string
      contactId:
        type: integer
      file:
@@ -4720,7 +5607,7 @@
        type: string
      satisfaction:
        type: integer
      serviceId:
      serviceOrderId:
        type: integer
      solveRate:
        type: integer
@@ -4744,11 +5631,11 @@
      clientId:
        description: 客户id
        type: integer
      codeStandID:
        description: 编码id
        type: string
      contactId:
        description: 联系人id
        type: integer
      contractId:
        description: 合同id
        type: integer
      expectTime:
        description: 希望处理时间
@@ -4761,18 +5648,18 @@
        type: integer
      id:
        type: integer
      orderId:
        description: 销售订单id
        type: integer
      priorityLevelId:
        description: 优先级别id
        type: integer
      problemDesc:
        description: 问题描述
        type: string
      productId:
        description: 产品id
        type: integer
      productName:
        description: 产品名称
        type: string
      productTypeName:
        description: 产品分类名称
        type: string
      realTime:
        description: 实际处理时间
        type: string
@@ -4782,16 +5669,25 @@
      saleChanceId:
        description: 销售机会id
        type: integer
      salesDetailsId:
        description: 销售订单id
        type: integer
      serviceContractId:
        description: 合同id
        type: integer
      serviceManId:
        description: 服务人员
        type: integer
      serviceNumber:
        description: 服务单编号
        type: string
      serviceOrderStatusId:
        description: 处理状态
        type: integer
      serviceTypeId:
        description: 服务方式id
        type: integer
      severity:
      severityId:
        description: 严重程度id
        type: integer
      solution:
@@ -4800,15 +5696,19 @@
      solutionRemark:
        description: 内部备注
        type: string
      status:
        description: 处理状态
        type: integer
      subject:
        description: 主题
        type: string
      timeSpentId:
        description: 花费时间
        type: integer
    type: object
  request.UpdateServiceOrderStatus:
    properties:
      id:
        type: integer
      name:
        type: string
    type: object
  request.UpdateServiceType:
    properties:
@@ -4866,6 +5766,9 @@
    properties:
      clientId:
        type: integer
      codeStandID:
        description: 编码id
        type: string
      id:
        type: integer
      masterOrderId:
@@ -4971,6 +5874,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:
@@ -5220,6 +6130,25 @@
          $ref: '#/definitions/model.Industry'
        type: array
    type: object
  response.Info:
    properties:
      makeInfo:
        items:
          $ref: '#/definitions/response.WorkOrderInfo'
        type: array
      outsourcingInfo:
        items:
          $ref: '#/definitions/response.OutsourcingInfo'
        type: array
      productInfo:
        items:
          $ref: '#/definitions/response.SalesDetailsProductInfo'
        type: array
      purchaseInfo:
        items:
          $ref: '#/definitions/response.Purchase'
        type: array
    type: object
  response.IsInvoiceResponse:
    properties:
      list:
@@ -5285,15 +6214,35 @@
          $ref: '#/definitions/model.OrderType'
        type: array
    type: object
  response.PageResult:
  response.OutsourcingInfo:
    properties:
      list: {}
      page:
      amount:
        description: 订单数量
        type: integer
      pageSize:
      endTime:
        type: string
      finishAmount:
        description: 完成数量
        type: integer
      total:
        type: integer
      outsourcingId:
        description: 委外订单id
        type: string
      outsourcingStatus:
        type: string
      productId:
        type: string
      productName:
        type: string
      specs:
        description: 物料规格
        type: string
      startTime:
        type: string
      supplierName:
        type: string
      unit:
        description: 单位
        type: string
    type: object
  response.PlanResponse:
    properties:
@@ -5317,6 +6266,33 @@
        items:
          $ref: '#/definitions/model.Province'
        type: array
    type: object
  response.Purchase:
    properties:
      amount:
        description: 订单数量
        type: integer
      finishAmount:
        description: 完成数量
        type: integer
      productId:
        type: string
      productName:
        type: string
      purchaseName:
        type: string
      purchaseNumber:
        type: string
      specs:
        description: 物料规格
        type: string
      status:
        type: integer
      supplierName:
        type: string
      unit:
        description: 单位
        type: string
    type: object
  response.QuotationResponse:
    properties:
@@ -5369,6 +6345,14 @@
          $ref: '#/definitions/model.Repository'
        type: array
    type: object
  response.Response:
    properties:
      code:
        type: integer
      data: {}
      msg:
        type: string
    type: object
  response.SaleChanceResponse:
    properties:
      count:
@@ -5391,6 +6375,61 @@
        items:
          $ref: '#/definitions/model.SaleType'
        type: array
    type: object
  response.SalesDetailsProductInfo:
    properties:
      amount:
        description: 订单数量
        type: number
      cost:
        description: 产品成本
        type: string
      deliveryAmount:
        description: 发货数量
        type: integer
      finishAmount:
        description: 完成数量
        type: integer
      makeAmount:
        description: 制造数量
        type: integer
      makeFinishAmount:
        description: 制造完成数量
        type: integer
      margin:
        description: 毛利率
        type: string
      outsourcingAmount:
        description: 委外数量
        type: integer
      outsourcingFinishAmount:
        description: 委外完成数量
        type: integer
      price:
        description: 产品价格
        type: number
      productId:
        type: string
      productName:
        type: string
      profit:
        description: 毛利
        type: string
      purchaseAmount:
        description: 采购数量
        type: integer
      purchaseFinishAmount:
        description: 采购完成数量
        type: integer
      specs:
        description: 物料规格
        type: string
      total:
        description: 产品总价
        type: number
      unit:
        description: 单位
        type: string
    type: object
  response.SalesDetailsResponse:
    properties:
@@ -5447,13 +6486,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:
@@ -5513,10 +6545,43 @@
          $ref: '#/definitions/model.TimelyRate'
        type: array
    type: object
  response.UserResponse:
  response.WorkOrderInfo:
    properties:
      user:
        $ref: '#/definitions/model.User'
      amount:
        description: 订单数量
        type: integer
      endTime:
        type: string
      finishAmount:
        description: 完成数量
        type: integer
      orderId:
        type: string
      orderStatus:
        type: string
      productId:
        type: string
      productName:
        type: string
      specs:
        description: 物料规格
        type: string
      startTime:
        type: string
      unit:
        description: 单位
        type: string
      workOrderId:
        type: string
      workOrderStatus:
        type: string
    type: object
  v1.GetWarehouseProductInfoReq:
    properties:
      saleDetailID:
        type: integer
      saleDetailNumber:
        type: string
    type: object
info:
  contact: {}
@@ -5760,47 +6825,6 @@
      summary: 更新银行账户
      tags:
      - 银行账户管理
  /api/base/captcha:
    post:
      produces:
      - application/json
      responses:
        "200":
          description: 成功
          schema:
            allOf:
            - $ref: '#/definitions/contextx.Response'
            - properties:
                data:
                  $ref: '#/definitions/response.LoginResponse'
              type: object
      summary: 获取验证码
      tags:
      - Base
  /api/base/login:
    post:
      parameters:
      - description: 查询参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.Login'
      produces:
      - application/json
      responses:
        "200":
          description: 成功
          schema:
            allOf:
            - $ref: '#/definitions/contextx.Response'
            - properties:
                data:
                  $ref: '#/definitions/response.LoginResponse'
              type: object
      summary: 用户登录
      tags:
      - Base
  /api/city/add:
    post:
      parameters:
@@ -5915,6 +6939,25 @@
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 添加客户
      tags:
      - Client
  /api/client/checkName:
    post:
      parameters:
      - description: 参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.CheckClientName'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 检查客户名称是否重复
      tags:
      - Client
  /api/client/delete:
@@ -6271,6 +7314,55 @@
      summary: 更新客户类型
      tags:
      - ClientType
  /api/code/getAutoCode:
    post:
      parameters:
      - description: 参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/code.CodeStandard'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/response.ListResponse'
      summary: 获取自动编码
      tags:
      - 编码
  /api/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:
            $ref: '#/definitions/response.ListResponse'
      summary: 获取编码列表
      tags:
      - 编码
  /api/collectionProjection/add:
    post:
      parameters:
@@ -6429,6 +7521,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:
@@ -6448,14 +7557,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:
@@ -7511,33 +8621,14 @@
      tags:
      - 销售发票
  /api/invoice/list:
    get:
    post:
      parameters:
      - in: query
        name: keyword
        type: string
      - enum:
        - ""
        in: query
        name: keywordType
        type: string
        x-enum-varnames:
        - InvoiceKeywordCustomerName
      - description: 页码
        in: query
        name: page
        type: integer
      - description: 每页大小
        in: query
        name: pageSize
        type: integer
      - enum:
        - ""
        in: query
        name: queryClass
        type: string
        x-enum-varnames:
        - InvoiceQueryClassExpireLessThen60Days
      - description: 参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.GetInvoiceList'
      produces:
      - application/json
      responses:
@@ -7941,14 +9032,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:
@@ -8510,6 +9602,29 @@
      summary: 更新优先级别
      tags:
      - 优先级别管理
  /api/product/getProductOrderInfo/{number}:
    get:
      parameters:
      - description: 明细编码
        in: path
        name: number
        required: true
        type: string
      produces:
      - application/json
      responses:
        "200":
          description: 成功
          schema:
            allOf:
            - $ref: '#/definitions/contextx.Response'
            - properties:
                data:
                  $ref: '#/definitions/response.Info'
              type: object
      summary: 获取产品订单信息
      tags:
      - 产品
  /api/product/info:
    get:
      parameters:
@@ -8551,6 +9666,10 @@
      - description: 产品编码
        in: query
        name: productNumber
        type: string
      - description: 报价单编码
        in: query
        name: quotationNumber
        type: string
      produces:
      - application/json
@@ -8686,14 +9805,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:
@@ -8726,6 +9846,25 @@
                  $ref: '#/definitions/response.QuotationResponse'
              type: object
      summary: 报价单列表
      tags:
      - Quotation
  /api/quotation/statistics:
    get:
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            allOf:
            - $ref: '#/definitions/contextx.Response'
            - properties:
                data:
                  additionalProperties:
                    type: integer
                  type: object
              type: object
      summary: 报价单统计
      tags:
      - Quotation
  /api/quotation/update:
@@ -8860,16 +9999,10 @@
  /api/receipt/list:
    get:
      parameters:
      - in: query
        name: keyword
        type: string
      - enum:
        - ""
      - description: 客户id
        in: query
        name: keywordType
        type: string
        x-enum-varnames:
        - ReceiptKeywordCustomerName
        name: clientId
        type: integer
      - description: 页码
        in: query
        name: page
@@ -8878,13 +10011,37 @@
        in: query
        name: pageSize
        type: integer
      - enum:
        - ""
      - collectionFormat: csv
        in: query
        name: queryClass
        type: string
        items:
          type: integer
        name: principleIds
        type: array
      - in: query
        name: sourceId
        type: integer
      - description: 来源类型(1销售明细单2服务合同3销售发票4收款计划5出库单)
        enum:
        - 1
        - 2
        - 3
        - 4
        - 5
        in: query
        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:
@@ -8994,6 +10151,90 @@
      summary: 更新退款方式
      tags:
      - RefundMethod
  /api/refundType/add:
    post:
      parameters:
      - description: 查询参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.AddRefundType'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 添加退款方式
      tags:
      - 退款方式管理
  /api/refundType/delete/{id}:
    delete:
      parameters:
      - description: 查询参数
        in: path
        name: id
        required: true
        type: integer
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 删除退款方式
      tags:
      - 退款方式管理
  /api/refundType/list:
    get:
      parameters:
      - description: 页码
        in: query
        name: page
        type: integer
      - description: 每页大小
        in: query
        name: pageSize
        type: integer
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            allOf:
            - $ref: '#/definitions/response.ListResponse'
            - properties:
                data:
                  items:
                    $ref: '#/definitions/model.RefundType'
                  type: array
              type: object
      summary: 获取退款方式列表
      tags:
      - 退款方式管理
  /api/refundType/update:
    put:
      parameters:
      - description: 查询参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.UpdateRefundType'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 更新退款方式
      tags:
      - 退款方式管理
  /api/region/add:
    post:
      parameters:
@@ -9398,14 +10639,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:
@@ -9438,6 +10680,25 @@
                  $ref: '#/definitions/response.SaleChanceResponse'
              type: object
      summary: 销售机会列表
      tags:
      - SaleChance
  /api/saleChance/push:
    put:
      parameters:
      - description: 查询参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.PushSaleChance'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 推进销售机会
      tags:
      - SaleChance
  /api/saleChance/update:
@@ -9620,10 +10881,72 @@
        "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/confirmOutput:
    post:
      parameters:
      - description: 明细编码
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.ConfirmOutput'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/response.ListResponse'
      summary: 确认发货
      tags:
      - SalesDetails
  /api/salesDetails/confirmOutputOver:
    post:
      parameters:
      - description: 明细编码
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.ConfirmOutputOver'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/response.ListResponse'
      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:
@@ -9640,6 +10963,74 @@
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 删除销售明细
      tags:
      - SalesDetails
  /api/salesDetails/getApsProjectList:
    get:
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/response.Response'
      summary: 获取aps项目列表
      tags:
      - SalesDetails
  /api/salesDetails/getDeliveryList:
    post:
      parameters:
      - description: 明细编码
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/v1.GetWarehouseProductInfoReq'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/response.ListResponse'
      summary: 发货明细
      tags:
      - SalesDetails
  /api/salesDetails/getDeliveryPrepareInfo:
    post:
      parameters:
      - description: 明细编码
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/v1.GetWarehouseProductInfoReq'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/response.ListResponse'
      summary: 获取产品入库信息
      tags:
      - SalesDetails
  /api/salesDetails/getProductInventoryInfo/{number}:
    get:
      parameters:
      - description: 明细编码
        in: path
        name: number
        required: true
        type: string
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/response.ListResponse'
      summary: 获取产品发货信息
      tags:
      - SalesDetails
  /api/salesDetails/list:
@@ -9666,6 +11057,25 @@
      summary: 销售明细单列表
      tags:
      - SalesDetails
  /api/salesDetails/sendSalesDetailsToOtherSystem:
    post:
      parameters:
      - description: 查询参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.SalesDetails'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/response.ListResponse'
      summary: 推送销售明细信息到其他系统
      tags:
      - SalesDetails
  /api/salesDetails/update:
    put:
      parameters:
@@ -9683,6 +11093,25 @@
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 更新销售明细
      tags:
      - SalesDetails
  /api/salesDetails/updateStatus:
    post:
      parameters:
      - description: 查询参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.UpdateSalesDetailsStatus'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 更新销售明细状态
      tags:
      - SalesDetails
  /api/salesLeads/add:
@@ -9803,7 +11232,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:
@@ -9821,7 +11269,7 @@
            $ref: '#/definitions/contextx.Response'
      summary: 删除销售退款
      tags:
      - SalesRefund
      - 销售退款单
  /api/salesRefund/list:
    post:
      parameters:
@@ -9845,7 +11293,7 @@
              type: object
      summary: 销售退款单列表
      tags:
      - SalesRefund
      - 销售退款单
  /api/salesRefund/update:
    put:
      parameters:
@@ -9864,7 +11312,7 @@
            $ref: '#/definitions/contextx.Response'
      summary: 更新销售退款
      tags:
      - SalesRefund
      - 销售退款单
  /api/salesReturn/add:
    post:
      parameters:
@@ -9883,7 +11331,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:
@@ -9901,7 +11368,7 @@
            $ref: '#/definitions/contextx.Response'
      summary: 删除销售退货
      tags:
      - SalesReturn
      - 销售退货单
  /api/salesReturn/list:
    post:
      parameters:
@@ -9925,7 +11392,7 @@
              type: object
      summary: 销售退货单列表
      tags:
      - SalesReturn
      - 销售退货单
  /api/salesReturn/update:
    put:
      parameters:
@@ -9944,7 +11411,7 @@
            $ref: '#/definitions/contextx.Response'
      summary: 更新销售退货
      tags:
      - SalesReturn
      - 销售退货单
  /api/salesReturnStatus/add:
    post:
      parameters:
@@ -10202,12 +11669,14 @@
      tags:
      - 收款计划管理
  /api/serviceCollectionPlan/list:
    get:
    post:
      parameters:
      - description: 服务合同id
        in: query
        name: serviceContractId
        type: integer
      - description: 参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.GetServiceCollectionPlanList'
      produces:
      - application/json
      responses:
@@ -10266,12 +11735,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:
@@ -10279,7 +11748,7 @@
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 删除服务合同
      summary: 批量删除服务合同
      tags:
      - ServiceContract
  /api/serviceContract/list:
@@ -10341,9 +11810,9 @@
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 添加服务合同状态
      summary: 添加合同状态
      tags:
      - ServiceContractStatus
      - 合同状态
  /api/serviceContractStatus/delete/{id}:
    delete:
      parameters:
@@ -10359,11 +11828,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:
@@ -10371,14 +11866,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:
@@ -10387,7 +11884,7 @@
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.UpdateServiceContractStatuss'
          $ref: '#/definitions/request.UpdateServiceContractStatus'
      produces:
      - application/json
      responses:
@@ -10395,9 +11892,9 @@
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 更新服务合同状态
      summary: 更新合同状态
      tags:
      - ServiceContractStatus
      - 合同状态
  /api/serviceContractType/add:
    post:
      parameters:
@@ -10652,6 +12149,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:
@@ -10715,6 +12231,107 @@
      summary: 更新服务单
      tags:
      - 服务单管理
  /api/serviceOrderStatus/add:
    post:
      parameters:
      - description: 查询参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.AddServiceOrderStatus'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 添加服务单状态
      tags:
      - 服务单状态
  /api/serviceOrderStatus/delete/{id}:
    delete:
      parameters:
      - description: 查询参数
        in: path
        name: id
        required: true
        type: integer
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 删除服务单状态
      tags:
      - 服务单状态
  /api/serviceOrderStatus/list:
    get:
      parameters:
      - in: query
        name: keyword
        type: string
      - enum:
        - ""
        in: query
        name: keywordType
        type: string
        x-enum-varnames:
        - ServiceOrderStatusKeywordCustomerName
      - description: 页码
        in: query
        name: page
        type: integer
      - description: 每页大小
        in: query
        name: pageSize
        type: integer
      - enum:
        - ""
        in: query
        name: queryClass
        type: string
        x-enum-varnames:
        - ServiceOrderStatusQueryClassExpireLessThen60Days
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            allOf:
            - $ref: '#/definitions/response.ListResponse'
            - properties:
                data:
                  items:
                    $ref: '#/definitions/model.ServiceOrderStatus'
                  type: array
              type: object
      summary: 获取服务单状态列表
      tags:
      - 服务单状态
  /api/serviceOrderStatus/update:
    put:
      parameters:
      - description: 查询参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.UpdateServiceOrderStatus'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 更新服务单状态
      tags:
      - 服务单状态
  /api/serviceType/add:
    post:
      parameters:
@@ -11025,14 +12642,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:
@@ -11086,6 +12704,61 @@
      summary: 更新子订单
      tags:
      - SubOrder
  /api/system/getSystemSet:
    get:
      produces:
      - application/json
      responses:
        "200":
          description: 成功
          schema:
            allOf:
            - $ref: '#/definitions/contextx.Response'
            - properties:
                data:
                  additionalProperties: true
                  type: object
              type: object
      summary: 获取系统设置
      tags:
      - 系统设置
  /api/system/saveSystemSet:
    post:
      parameters:
      - description: 查询参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.SaveSystemSet'
      produces:
      - application/json
      responses:
        "200":
          description: 成功
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 保存系统设置
      tags:
      - 系统设置
  /api/system/useSystemSet/{modeType}:
    get:
      parameters:
      - description: 查询参数
        in: path
        name: modeType
        required: true
        type: string
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/response.ListResponse'
      summary: 使用系统设置
      tags:
      - 系统设置
  /api/timeSpent/add:
    post:
      parameters:
@@ -11234,161 +12907,6 @@
      summary: 更新销售阶段
      tags:
      - TimelyRate
  /api/user/changePassword:
    post:
      parameters:
      - description: 查询参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.ChangePasswordReq'
      produces:
      - application/json
      responses:
        "200":
          description: 成功
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 用户修改密码
      tags:
      - User
  /api/user/deleteUser:
    delete:
      parameters:
      - description: 查询参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.DeleteUserReq'
      produces:
      - application/json
      responses:
        "200":
          description: 成功
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 删除用户
      tags:
      - User
  /api/user/getUserInfo:
    post:
      produces:
      - application/json
      responses:
        "200":
          description: 成功
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 获取自身信息
      tags:
      - User
  /api/user/getUserList:
    post:
      parameters:
      - description: 查询参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.GetUserList'
      produces:
      - application/json
      responses:
        "200":
          description: 成功
          schema:
            allOf:
            - $ref: '#/definitions/contextx.Response'
            - properties:
                data:
                  $ref: '#/definitions/response.PageResult'
              type: object
      summary: 分页获取用户列表(不传分页参数,获取全部)
      tags:
      - User
  /api/user/register:
    post:
      parameters:
      - description: 查询参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.Register'
      produces:
      - application/json
      responses:
        "200":
          description: 成功
          schema:
            allOf:
            - $ref: '#/definitions/contextx.Response'
            - properties:
                data:
                  $ref: '#/definitions/response.UserResponse'
              type: object
      summary: 注册账号
      tags:
      - User
  /api/user/resetPassword:
    post:
      parameters:
      - description: 查询参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/model.User'
      produces:
      - application/json
      responses:
        "200":
          description: 成功
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 重置用户密码
      tags:
      - User
  /api/user/setSelfInfo:
    post:
      parameters:
      - description: 查询参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.ChangeUserInfo'
      produces:
      - application/json
      responses:
        "200":
          description: 成功
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 设置用户信息
      tags:
      - User
  /api/user/setUserInfo:
    post:
      parameters:
      - description: 查询参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.ChangeUserInfo'
      produces:
      - application/json
      responses:
        "200":
          description: 成功
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 设置用户信息
      tags:
      - User
  /api/vetting/add:
    post:
      parameters: