liujiandao
2023-12-22 28d04b70a786c5084ddceb12f6cc34b5702e0d36
docs/swagger.yaml
@@ -1118,16 +1118,22 @@
    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:
@@ -2111,6 +2117,17 @@
          $ref: '#/definitions/model.Product'
        type: array
    type: object
  model.SystemSet:
    properties:
      id:
        type: integer
      name:
        type: string
      systemType:
        type: string
      value:
        type: string
    type: object
  model.TimeSpent:
    properties:
      id:
@@ -2207,23 +2224,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:
@@ -4154,6 +4154,17 @@
        allOf:
        - $ref: '#/definitions/constvar.SalesReturnSourceType'
        description: 源单类型(1销售明细)
    type: object
  request.SaveSystemSet:
    properties:
      sets:
        items:
          $ref: '#/definitions/model.SystemSet'
        type: array
      systemTypes:
        items:
          type: string
        type: array
    type: object
  request.SetAuthorityMenu:
    properties:
@@ -6087,6 +6098,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:
@@ -6174,6 +6196,19 @@
        items:
          $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:
@@ -6370,6 +6405,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: {}
@@ -9408,9 +9460,7 @@
            - $ref: '#/definitions/contextx.Response'
            - properties:
                data:
                  items:
                    $ref: '#/definitions/product.WorkOrderInfo'
                  type: array
                  $ref: '#/definitions/response.Info'
              type: object
      summary: 获取产品订单信息
      tags:
@@ -9456,6 +9506,10 @@
      - description: 产品编码
        in: query
        name: productNumber
        type: string
      - description: 报价单编码
        in: query
        name: quotationNumber
        type: string
      produces:
      - application/json
@@ -12395,6 +12449,43 @@
      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/timeSpent/add:
    post:
      parameters: