zhangqian
2024-01-08 f1842bf9b5bb69b5078a215c02cb16b7e33f893a
docs/swagger.yaml
@@ -1118,18 +1118,26 @@
    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
      total:
        type: number
      unit:
        type: string
    type: object
  model.Province:
    properties:
@@ -1144,6 +1152,9 @@
    type: object
  model.Quotation:
    properties:
      amountTotal:
        description: 价格合计
        type: number
      client:
        $ref: '#/definitions/model.Client'
      client_id:
@@ -1480,6 +1491,8 @@
        items:
          $ref: '#/definitions/model.Product'
        type: array
      projectId:
        type: string
      quotation:
        $ref: '#/definitions/model.Quotation'
      quotationId:
@@ -2107,6 +2120,17 @@
          $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:
      id:
@@ -2148,6 +2172,9 @@
      pos:
        type: string
      realName:
        type: string
      subUserIds:
        description: 下属员工用户id,用逗号分开
        type: string
      userType:
        $ref: '#/definitions/constvar.UserType'
@@ -2200,23 +2227,6 @@
        description: 型号
        type: string
      Unit:
        type: string
    type: object
  product.WorkOrderInfo:
    properties:
      EndTime:
        type: string
      OrderId:
        type: string
      OrderStatus:
        type: string
      ProductName:
        type: string
      StartTime:
        type: string
      WorkOrderId:
        type: string
      WorkOrderStatus:
        type: string
    type: object
  request.AddAccountId:
@@ -2910,10 +2920,14 @@
    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:
@@ -2942,6 +2956,8 @@
        items:
          $ref: '#/definitions/model.Product'
        type: array
      projectId:
        type: string
      quotationId:
        type: integer
      remark:
@@ -3661,6 +3677,8 @@
    type: object
  request.GetContractList:
    properties:
      keyword:
        type: string
      page:
        description: 页码
        type: integer
@@ -3712,6 +3730,10 @@
      pageSize:
        description: 每页大小
        type: integer
      principalIds:
        items:
          type: integer
        type: array
      sourceId:
        type: integer
      sourceType:
@@ -4008,10 +4030,14 @@
    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:
@@ -4040,6 +4066,8 @@
        items:
          $ref: '#/definitions/model.Product'
        type: array
      projectId:
        type: string
      quotationId:
        type: integer
      remark:
@@ -4129,6 +4157,13 @@
        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:
@@ -6062,6 +6097,17 @@
          $ref: '#/definitions/model.Industry'
        type: array
    type: object
  response.Info:
    properties:
      makeInfo:
        items:
          $ref: '#/definitions/response.WorkOrderInfo'
        type: array
      purchaseInfo:
        items:
          $ref: '#/definitions/response.Purchase'
        type: array
    type: object
  response.IsInvoiceResponse:
    properties:
      list:
@@ -6150,6 +6196,19 @@
          $ref: '#/definitions/model.Province'
        type: array
    type: object
  response.Purchase:
    properties:
      amount:
        type: integer
      purchaseName:
        type: string
      purchaseNumber:
        type: string
      status:
        type: integer
      supplierName:
        type: string
    type: object
  response.QuotationResponse:
    properties:
      count:
@@ -6200,6 +6259,14 @@
        items:
          $ref: '#/definitions/model.Repository'
        type: array
    type: object
  response.Response:
    properties:
      code:
        type: integer
      data: {}
      msg:
        type: string
    type: object
  response.SaleChanceResponse:
    properties:
@@ -6337,6 +6404,23 @@
        items:
          $ref: '#/definitions/model.TimelyRate'
        type: array
    type: object
  response.WorkOrderInfo:
    properties:
      endTime:
        type: string
      orderId:
        type: string
      orderStatus:
        type: string
      productName:
        type: string
      startTime:
        type: string
      workOrderId:
        type: string
      workOrderStatus:
        type: string
    type: object
info:
  contact: {}
@@ -9375,9 +9459,7 @@
            - $ref: '#/definitions/contextx.Response'
            - properties:
                data:
                  items:
                    $ref: '#/definitions/product.WorkOrderInfo'
                  type: array
                  $ref: '#/definitions/response.Info'
              type: object
      summary: 获取产品订单信息
      tags:
@@ -9423,6 +9505,10 @@
      - description: 产品编码
        in: query
        name: productNumber
        type: string
      - description: 报价单编码
        in: query
        name: quotationNumber
        type: string
      produces:
      - application/json
@@ -9601,6 +9687,25 @@
      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:
    put:
      parameters:
@@ -9745,6 +9850,12 @@
        in: query
        name: pageSize
        type: integer
      - collectionFormat: csv
        in: query
        items:
          type: integer
        name: principleIds
        type: array
      - in: query
        name: sourceId
        type: integer
@@ -10618,25 +10729,6 @@
      summary: 添加销售明细
      tags:
      - SalesDetails
  /api/salesDetails/createOperation:
    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/delete:
    delete:
      parameters:
@@ -10672,6 +10764,18 @@
          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/getProductInventoryInfo/{number}:
@@ -10714,6 +10818,25 @@
                  $ref: '#/definitions/response.SalesDetailsResponse'
              type: object
      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:
@@ -12344,6 +12467,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: