zhangqian
2023-12-05 b24a62470d1c937dcd033728b05a47ad3e13500d
dashboard字段更新
4个文件已修改
71 ■■■■ 已修改文件
docs/docs.go 25 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
docs/swagger.json 25 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
docs/swagger.yaml 20 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
model/dashboard.go 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
docs/docs.go
@@ -1828,21 +1828,33 @@
        "model.WorkOrderStats": {
            "type": "object",
            "properties": {
                "amount": {
                    "description": "生产数量",
                    "type": "integer"
                },
                "delayDays": {
                    "description": "延期天数",
                    "type": "integer"
                },
                "finishProcedureNum": {
                    "description": "已完成工序数量",
                    "type": "integer"
                },
                "number": {
                    "description": "编号",
                    "type": "string"
                },
                "percent": {
                    "description": "完成进度",
                    "type": "integer"
                },
                "planTime": {
                    "description": "计划时间",
                    "type": "string"
                },
                "procedureNum": {
                    "description": "工序数量",
                    "type": "integer"
                },
                "processingProcedureNum": {
                    "description": "进行中工序数量",
                    "type": "integer"
                },
                "product": {
                    "description": "产品",
@@ -1858,18 +1870,23 @@
            "type": "object",
            "properties": {
                "defective": {
                    "description": "次品数量",
                    "type": "integer"
                },
                "name": {
                    "description": "车间名称",
                    "type": "string"
                },
                "percent": {
                    "description": "正品率",
                    "type": "integer"
                },
                "qualified": {
                    "description": "正品数量",
                    "type": "integer"
                },
                "total": {
                    "description": "生产总数",
                    "type": "integer"
                }
            }
docs/swagger.json
@@ -1816,21 +1816,33 @@
        "model.WorkOrderStats": {
            "type": "object",
            "properties": {
                "amount": {
                    "description": "生产数量",
                    "type": "integer"
                },
                "delayDays": {
                    "description": "延期天数",
                    "type": "integer"
                },
                "finishProcedureNum": {
                    "description": "已完成工序数量",
                    "type": "integer"
                },
                "number": {
                    "description": "编号",
                    "type": "string"
                },
                "percent": {
                    "description": "完成进度",
                    "type": "integer"
                },
                "planTime": {
                    "description": "计划时间",
                    "type": "string"
                },
                "procedureNum": {
                    "description": "工序数量",
                    "type": "integer"
                },
                "processingProcedureNum": {
                    "description": "进行中工序数量",
                    "type": "integer"
                },
                "product": {
                    "description": "产品",
@@ -1846,18 +1858,23 @@
            "type": "object",
            "properties": {
                "defective": {
                    "description": "次品数量",
                    "type": "integer"
                },
                "name": {
                    "description": "车间名称",
                    "type": "string"
                },
                "percent": {
                    "description": "正品率",
                    "type": "integer"
                },
                "qualified": {
                    "description": "正品数量",
                    "type": "integer"
                },
                "total": {
                    "description": "生产总数",
                    "type": "integer"
                }
            }
docs/swagger.yaml
@@ -632,18 +632,27 @@
    type: object
  model.WorkOrderStats:
    properties:
      amount:
        description: 生产数量
        type: integer
      delayDays:
        description: 延期天数
        type: integer
      finishProcedureNum:
        description: 已完成工序数量
        type: integer
      number:
        description: 编号
        type: string
      percent:
        description: 完成进度
        type: integer
      planTime:
        description: 计划时间
        type: string
      procedureNum:
        description: 工序数量
        type: integer
      processingProcedureNum:
        description: 进行中工序数量
        type: integer
      product:
        description: 产品
        type: string
@@ -654,14 +663,19 @@
  model.WorkshopStats:
    properties:
      defective:
        description: 次品数量
        type: integer
      name:
        description: 车间名称
        type: string
      percent:
        description: 正品率
        type: integer
      qualified:
        description: 正品数量
        type: integer
      total:
        description: 生产总数
        type: integer
    type: object
  problem.CheckResult:
model/dashboard.go
@@ -64,6 +64,7 @@
        Number                 string //编号
        Product                string //产品
        Scale                  string //规格
        Amount                 int64  //生产数量
        PlanTime               string //计划时间
        DelayDays              int    //延期天数
        ProcedureNum           int    //工序数量