文档首页/ ISDP/ 双预控/ API/ 风险四色图模型/ 查询隐患清单(API名称:queryHiddenTroubleList)
更新时间:2023-06-16 GMT+08:00
分享

查询隐患清单(API名称:queryHiddenTroubleList)

功能介绍

该接口用于查询隐患清单。

URL

请求方式

HTTPS地址

消息体类型

POST

https://AppCube域名/service/ISDP__SecurityRiskBO/1.0.1/queryHiddenTroubleList

application/json

请求头

参数

类型

是否必填

描述

Content-Type

String

请求体内容类型。

填写为:application/json

access-token

String

调用API要用到的访问令牌获取access_token中获取的access_token的值。

请求参数

参数

类型

是否必填

描述

pageStart

Number

查询起始页

pageSize

Number

查询条数,取值范围:1~200

queryType

String

查询类型:

  • 0:全部
  • 1:草稿
  • 2:整改中(处理中)
  • 3:验收中(待关闭)
  • 4:已完成(已关闭)
  • 5:待处理
说明:

多个类型用英文逗号分隔。

creatorDescribe

String

隐患描述,模糊搜索

issueTypeFather

String

隐患大类,模糊搜索

issueType

String

隐患小类,模糊搜索

issueLevel

Number

隐患等级:

  • 3:重大隐患
  • 4:一般隐患A
  • 5:一般隐患B
  • 6:一般隐患C

issueHandlerName

String

处理人名称,模糊搜索

createdBy

String

创建人id

adminOrganization

String

组织id列表,例如:["35320","335329"]

signSiteId

String

辨识对象id

响应参数

参数

类型

描述

resCode

String

响应状态码

  • 0:成功
  • 其他:失败,其他错误码说明请参考错误码

resMsg

String

响应描述,如果成功状态,通常会返回“成功”,其他情况返回具体的错误信息

result

Object

响应结果内容

result参数说明

参数

类型

描述

hiddenTroubleList

Object

隐患列表

totalCount

Number

查询结果总数

请求示例

{
    "pageStart": 0,
    "pageSize": 15,
    "queryType": "4",
    "creatorDescribe": "描述",
    "issueTypeFather": "类别",
    "issueType": "通风",
    "issueLevel": 4,
    "issueHandlerName": "nara",
    "createdBy": "288762",
    "adminOrganization": [
        "35320",
        "335329"
    ],
    "signSiteId": "99054145"
}

响应示例

{
    "resCode": "0",
    "resMsg": "成功",
    "result": {
        "hiddenTroubleList": [
            {
                "accountableParty": null,
                "adminOrganization": "35320",
                "adminOrganizationName": "皮带运输队",
                "adminRegion": null,
                "adminRegionName": null,
                "checkSceneTaskId": null,
                "city": null,
                "closeBy": 895404,
                "closeDate": "2023-05-18 17:12:07",
                "closeName": "appcubeAdapter",
                "closeTimestamp": 1684401127963,
                "code": "Issue20230512154380",
                "country": null,
                "createName": "nara",
                "createSupplierName": null,
                "createdBy": 288762,
                "createdByUserInfo": "[{\"personId\":288204,\"personGroupId\":null,\"blackList\":0,\"reason\":null,\"profilePictureStatus\":\"CollectionSucceeded\",\"profilePictureId\":\"7492680\",\"personCode\":\"100035@isdp\",\"firstName\":null,\"lastName\":null,\"personName\":\"nara\",\"qualificationCode\":null,\"personType\":\"Admin\",\"tenantId\":1745,\"certificateType\":null,\"certificateNo\":null,\"description\":null,\"phone\":\"131******86\",\"adminOrgId\":35320,\"headFileId\":7492679,\"orgName\":\"皮带运输队\",\"customerId\":null,\"customerName\":null,\"supplierId\":null,\"supplierName\":null,\"openAccount\":null,\"account\":null,\"faceFileId\":null,\"integrationAccount\":null,\"status\":0,\"lastUpdatedBy\":288762,\"lastUpdateDate\":\"2023-04-19T07:22:05.000+00:00\",\"personStatus\":\"OpenAccount\",\"udfExtend1\":null,\"udfExtend2\":null,\"udfExtend3\":null,\"udfExtend4\":null,\"udfExtend5\":null,\"udfExtend6\":null,\"udfExtend7\":null,\"udfExtend8\":null,\"udfExtend9\":null,\"udfExtend10\":null,\"isSmartDevice\":\"N\",\"userId\":288762,\"qualificationList\":[{\"personQualId\":76572,\"personQualPictureId\":\"\",\"personQualPictureStatus\":null,\"personQualCode\":\"First aid\",\"personQualName\":\"急救证\",\"validPeriod\":\"12天\",\"skillId\":96367,\"startDate\":\"2021-04-18\",\"endDate\":\"2021-04-30\",\"creationDate\":\"2021-04-25T11:12:47.000+00:00\",\"skillLevelCode\":\"DJ202106001\",\"skillLevelName\":\"1级\",\"skillCode\":\"First aid\",\"skillName\":\"急救证\",\"skillDomainCode\":\"LY202106001\",\"skillDomainName\":\"安全\",\"personId\":288204,\"qualStatus\":\"false\"},{\"personQualId\":470168,\"personQualPictureId\":\"\",\"personQualPictureStatus\":null,\"personQualCode\":\"General EHS\",\"personQualName\":\"EHS通用\",\"validPeriod\":\"6_days\",\"skillId\":96369,\"startDate\":\"2023-02-22\",\"endDate\":\"2023-02-28\",\"creationDate\":\"2023-02-22T03:47:46.000+00:00\",\"skillLevelCode\":\"DJ202106001\",\"skillLevelName\":\"1级\",\"skillCode\":\"General EHS\",\"skillName\":\"EHS通用\",\"skillDomainCode\":\"LY202106001\",\"skillDomainName\":\"安全\",\"personId\":288204,\"qualStatus\":\"false\"}],\"qualificationName\":\"急救证;EHS通用\",\"personPositionList\":[{\"personId\":288204,\"positionId\":103783,\"positionCode\":\"aaa\",\"positionName\":\"aaa\",\"orgId\":25245,\"orgNo\":\"SaasTenant1745\",\"orgName\":\"信息展示子系统SIT测试租户\",\"positionFactor\":\"1.00\"},{\"personId\":288204,\"positionId\":103784,\"positionCode\":\"111\",\"positionName\":\"aaa\",\"orgId\":32962,\"orgNo\":\"SIT一级组织2\",\"orgName\":\"SIT一级组织2\",\"positionFactor\":\"1.00\"},{\"personId\":288204,\"positionId\":102758,\"positionCode\":\"123\",\"positionName\":\"123\",\"orgId\":25245,\"orgNo\":\"SaasTenant1745\",\"orgName\":\"信息展示子系统SIT测试租户\",\"positionFactor\":\"1.00\"},{\"personId\":288204,\"positionId\":102759,\"positionCode\":\"发斯蒂芬\",\"positionName\":\"发电房\",\"orgId\":25245,\"orgNo\":\"SaasTenant1745\",\"orgName\":\"信息展示子系统SIT测试租户\",\"positionFactor\":\"1.00\"},{\"personId\":288204,\"positionId\":12927,\"positionCode\":\"1\",\"positionName\":\"大佬\",\"orgId\":25245,\"orgNo\":\"SaasTenant1745\",\"orgName\":\"信息展示子系统SIT测试租户\",\"positionFactor\":\"1.00\"}],\"PersonPositionNameStr\":\"aaa;aaa;123;发电房;大佬\",\"personPositionCodeStr\":\"aaa;111;123;发斯蒂芬;1\"}]",
                "creationTimestamp": 1683878123313,
                "creatorDescribe": "隐患描述cs0512-8",
                "creatorResult": "验收通过",
                "creatorWorkUnit": null,
                "dealDate": "2023-05-18 15:24:20",
                "dealTimestamp": 1684394660247,
                "deleteFlag": 0,
                "department": null,
                "departmentName": null,
                "dueTimestamp": 1683907200000,
                "ehsViolatorId": null,
                "ehsViolatorName": null,
                "handlerFeedback": null,
                "issueAttachmentList": [
                    {
                        "appName": "isdp-qc-server",
                        "createName": "nara",
                        "createdBy": 288762,
                        "creationDate": "2023-05-12 15:55:24",
                        "creationTimestamp": 1683878124400,
                        "deleteFlag": 0,
                        "entityName": "IssueAttachment",
                        "fileId": 7565319,
                        "fileName": "附件一.PNG",
                        "fileSource": 1,
                        "fileType": "png",
                        "id": 75284,
                        "issueId": 351430,
                        "lastUpdateDate": "2023-05-12 15:55:24",
                        "lastUpdateName": "nara",
                        "lastUpdateTimestamp": 1683878124400,
                        "lastUpdatedBy": 288762,
                        "tenantId": 1745,
                        "thumbnailsId": null,
                        "waterMarkInfo": null,
                        "waterMarkKey": null
                    }
                ],
                "issueHandlerId": "288762",
                "issueHandlerName": "nara",
                "issueHandlerSupplierName": "--",
                "issueHandlerUserInfo": "[{\"personId\":288204,\"personGroupId\":null,\"blackList\":0,\"reason\":null,\"profilePictureStatus\":\"CollectionSucceeded\",\"profilePictureId\":\"7492680\",\"personCode\":\"100035@isdp\",\"firstName\":null,\"lastName\":null,\"personName\":\"nara\",\"qualificationCode\":null,\"personType\":\"Admin\",\"tenantId\":1745,\"certificateType\":null,\"certificateNo\":null,\"description\":null,\"phone\":\"131******86\",\"adminOrgId\":35320,\"headFileId\":7492679,\"orgName\":\"皮带运输队\",\"customerId\":null,\"customerName\":null,\"supplierId\":null,\"supplierName\":null,\"openAccount\":null,\"account\":null,\"faceFileId\":null,\"integrationAccount\":null,\"status\":0,\"lastUpdatedBy\":288762,\"lastUpdateDate\":\"2023-04-19T07:22:05.000+00:00\",\"personStatus\":\"OpenAccount\",\"udfExtend1\":null,\"udfExtend2\":null,\"udfExtend3\":null,\"udfExtend4\":null,\"udfExtend5\":null,\"udfExtend6\":null,\"udfExtend7\":null,\"udfExtend8\":null,\"udfExtend9\":null,\"udfExtend10\":null,\"isSmartDevice\":\"N\",\"userId\":288762,\"qualificationList\":[{\"personQualId\":76572,\"personQualPictureId\":\"\",\"personQualPictureStatus\":null,\"personQualCode\":\"First aid\",\"personQualName\":\"急救证\",\"validPeriod\":\"12天\",\"skillId\":96367,\"startDate\":\"2021-04-18\",\"endDate\":\"2021-04-30\",\"creationDate\":\"2021-04-25T11:12:47.000+00:00\",\"skillLevelCode\":\"DJ202106001\",\"skillLevelName\":\"1级\",\"skillCode\":\"First aid\",\"skillName\":\"急救证\",\"skillDomainCode\":\"LY202106001\",\"skillDomainName\":\"安全\",\"personId\":288204,\"qualStatus\":\"false\"},{\"personQualId\":470168,\"personQualPictureId\":\"\",\"personQualPictureStatus\":null,\"personQualCode\":\"General EHS\",\"personQualName\":\"EHS通用\",\"validPeriod\":\"6_days\",\"skillId\":96369,\"startDate\":\"2023-02-22\",\"endDate\":\"2023-02-28\",\"creationDate\":\"2023-02-22T03:47:46.000+00:00\",\"skillLevelCode\":\"DJ202106001\",\"skillLevelName\":\"1级\",\"skillCode\":\"General EHS\",\"skillName\":\"EHS通用\",\"skillDomainCode\":\"LY202106001\",\"skillDomainName\":\"安全\",\"personId\":288204,\"qualStatus\":\"false\"}],\"qualificationName\":\"急救证;EHS通用\",\"personPositionList\":[{\"personId\":288204,\"positionId\":103783,\"positionCode\":\"aaa\",\"positionName\":\"aaa\",\"orgId\":25245,\"orgNo\":\"SaasTenant1745\",\"orgName\":\"信息展示子系统SIT测试租户\",\"positionFactor\":\"1.00\"},{\"personId\":288204,\"positionId\":103784,\"positionCode\":\"111\",\"positionName\":\"aaa\",\"orgId\":32962,\"orgNo\":\"SIT一级组织2\",\"orgName\":\"SIT一级组织2\",\"positionFactor\":\"1.00\"},{\"personId\":288204,\"positionId\":102758,\"positionCode\":\"123\",\"positionName\":\"123\",\"orgId\":25245,\"orgNo\":\"SaasTenant1745\",\"orgName\":\"信息展示子系统SIT测试租户\",\"positionFactor\":\"1.00\"},{\"personId\":288204,\"positionId\":102759,\"positionCode\":\"发斯蒂芬\",\"positionName\":\"发电房\",\"orgId\":25245,\"orgNo\":\"SaasTenant1745\",\"orgName\":\"信息展示子系统SIT测试租户\",\"positionFactor\":\"1.00\"},{\"personId\":288204,\"positionId\":12927,\"positionCode\":\"1\",\"positionName\":\"大佬\",\"orgId\":25245,\"orgNo\":\"SaasTenant1745\",\"orgName\":\"信息展示子系统SIT测试租户\",\"positionFactor\":\"1.00\"}],\"PersonPositionNameStr\":\"aaa;aaa;123;发电房;大佬\",\"personPositionCodeStr\":\"aaa;111;123;发斯蒂芬;1\"}]",
                "issueId": 351430,
                "issueInstance": "1",
                "issueItemId": "",
                "issueKind": null,
                "issueLevel": 4,
                "issueRemark": null,
                "issueSource": "5",
                "issueType": "类别3#通风;",
                "issueTypeCode": "UDF8",
                "issueTypeFather": "类别3",
                "itemId": null,
                "itemName": null,
                "kcpId": null,
                "kcpName": null,
                "lastUpdateDate": "2023-05-18 17:12:07",
                "lastUpdateName": "appcubeAdapter",
                "lastUpdateTimestamp": 1684401127000,
                "lastUpdatedBy": 895404,
                "liveId": null,
                "projectNo": null,
                "province": null,
                "region": null,
                "regionId": null,
                "regionName": null,
                "regionPath": null,
                "relationSceneTaskName": "",
                "riskList": [],
                "sceneTaskId": null,
                "sceneTaskName": null,
                "signSiteCode": "新建位置对象",
                "signSiteId": 99054145,
                "signSiteName": "新建位置对象",
                "slaStatus": 1,
                "sourceType": null,
                "standardTroubleInfo": {},
                "status": 4,
                "submitPending": 0,
                "taskBusiType": null,
                "taskId": null,
                "taskName": null,
                "taskSheetType": null,
                "taskType": null,
                "templateId": null,
                "tenantId": 1745,
                "udf1": "采煤",
                "udf10": null,
                "udf10Close": null,
                "udf10Deal": null,
                "udf11": null,
                "udf11Close": null,
                "udf11Deal": null,
                "udf12": null,
                "udf12Close": null,
                "udf12Deal": null,
                "udf13": null,
                "udf13Close": null,
                "udf13Deal": null,
                "udf14": null,
                "udf14Close": null,
                "udf14Deal": null,
                "udf15": null,
                "udf15Close": null,
                "udf15Deal": null,
                "udf16": null,
                "udf16Close": null,
                "udf16Deal": null,
                "udf17": null,
                "udf17Close": null,
                "udf17Deal": null,
                "udf18": null,
                "udf18Close": null,
                "udf18Deal": null,
                "udf19": null,
                "udf19Close": null,
                "udf19Deal": null,
                "udf1Close": null,
                "udf1Deal": null,
                "udf2": "每月检查",
                "udf20": null,
                "udf20Close": null,
                "udf20Deal": null,
                "udf2Close": null,
                "udf2Deal": null,
                "udf3": "1683849600000",
                "udf3Close": null,
                "udf3Deal": null,
                "udf4": "1",
                "udf4Close": null,
                "udf4Deal": null,
                "udf5": "整改措施",
                "udf5Close": null,
                "udf5Deal": null,
                "udf6": "111111",
                "udf6Close": null,
                "udf6Deal": null,
                "udf7": null,
                "udf7Close": null,
                "udf7Deal": null,
                "udf8": null,
                "udf8Close": null,
                "udf8Deal": null,
                "udf9": null,
                "udf9Close": null,
                "udf9Deal": null,
                "userGroup": null,
                "userGroupName": null
            }
        ],
        "totalCount": 1
    }
}

状态码

状态码请参见状态码

错误码

错误码请参见错误码

相关文档