查询系统

查询系统工具器


设备借出单号统计多状态(归还 退回数量)

[TOC]

简要描述
请求URL
  • http://172.16.14.59:8082/deviceManagement/queryAllByLimitByNumber
请求方式
  • POST
参数
{
    "username":"admin",
    "status":[3,4,5],
    "pageNum":1,
    "pageSize":10,
    "borrowNumber": "202304101638580000594",
    "times":"2023-03-01 10:26:36,2023-03-20 10:26:36"
}
返回示例
{
    "code": 200,
    "success": true,
    "msg": "操作成功",
    "data": {
        "total": 2,
        "status_sum": {  各状态统计
            "3": 2
        },
        "list": [
        {
                "check_reason": null, 归还退回原因
                "dgh": 0, 待归还
                "counts": 1, 查询状态的总数
                "cause": "给客户", 用途
                "th_device_models": [], 退回设备型号
                "device_type": 1, 设备类别
                "device_types": [   借单中所有设备类别
                    "1"
                ],
                "estimate_return_time": "2023-04-10 16:38:28", 预计归还
                "sp_device_numbers": [], 归还审批设备
                "borrow_number": "202304101638580000594",
                "review_reason": null,
                "device_name": "绝缘子憎水性检测仪绝缘子憎水性检测仪",
                "device_names": [
                    "绝缘子憎水性检测仪绝缘子憎水性检测仪"
                ],
                "return_time": "2023-04-12 14:11:16",
                "sp": 0, 归还审批数量
                "device_numbers": [
                    "0000000vvvvvjjjjjuuu56655"
                ],
                "gh": 1, 已归还
                "dgh_device_numbers": [],  待归还
                "device_models": [   设备型号
                    "HB-HCA20"
                ],
                "dgh_device_models": [], 待归还型号
                "borrow_user": 1636272960009609217,
                "gh_device_models": [  归还型号
                    "HB-HCA20"
                ],
                "borrow_time": "2023-04-11 16:38:24", 借用时间
                "th_device_numbers": [], 退回编码
                "th": 0, 退回数量
                "allcounts": 1, 单子总设备数
                "sp_device_models": [],归还审批型号
                "gh_device_numbers": [
                    "0000000vvvvvjjjjjuuu56655"
                ],
                "username": "仓管",  借用人
                "status": 1, 单子状态(1: 完成 2: 借用中 3: 借用审核 4: 归还检查 5: 审核退回 6: 归还退回)',
                "all_status": [   单子所有状态
                    "1"
                ]
            },
            {
                "gh": 0, 归还数量
                "device_model": "HB-70",  
                "check_reason": "11111", 归还检查退回原因
                "dgh": 0,
                "dgh_device_numbers": [], 待归还设备
                "device_models": [        设备型号
                    "HB-70"
                ],
                "counts": 3,
                "cause": "",  用途
                "th_device_models": [],  退回型号
                "estimate_return_time": null,
                "dgh_device_models": [],    待归还型号
                "borrow_user": 1,
                "gh_device_models": [],  归还型号
                "borrow_time": "2023-03-17",
                "borrow_number": "3EF184487F14463E858F141BD94DFFE7",
                "th_device_numbers": [],  退回型号
                "review_reason": null, 借出退回原因
                "device_name": "器具增加333332",
                "th": 0,
                "inspectorname": "admin",  检查员(归还)
                "gh_device_numbers": [],
                "approvername": "admin1",审批员(借出)
                "username": "admin",  借用人
                "status": 4
            }
        ]
    }
}
备注
  • 更多返回错误代码请看首页的错误代码描述

页面列表

ITEM_HTML