知识任务整理
<p>[TOC]</p>
<h3>待处理</h3>
<ul>
<li>方法: <code>ALKA00</code> <code>pendTaskKa</code></li>
<li>
<p>返回块: <code>result1</code></p>
<h4>返回示例</h4>
</li>
</ul>
<pre><code>String taskId = " "; /* 主键id*/
String deviceCode = " "; /* 报警设备编码*/
String domains = " "; /* 设备所在域路径*/
String alertSource = " "; /* 报警来源*/
String checkSpecialty = " "; /* 检测专业*/
Integer relationAlert = 0; /* 关联的报警数*/
Integer alertLevel = 0; /* 报警等级*/
Integer hasHang = Integer.valueOf(0); /* 是否挂起 0否 1是 默认为0*/
Integer hasDiagnosis = Integer.valueOf(0); /* 是否诊断 0否 1是 默认为0*/
String taskLabel = " "; /* 工单标签*/
String alertMessage = " "; /* 报警消息*/
Timestamp recCreateTime ; /* 创建时间*/
Timestamp recReviseTime ; /* 更新时间*/
Integer hasReport = Integer.valueOf(0); /* 是否有报告 1有 0 没有 默认没有*/
Integer kaState = Integer.valueOf(0); /* 知识任务状态 0 5 10*/
Integer evState = Integer.valueOf(0); /* 报警评价状态 0 5 10*/</code></pre>
<pre><code>{
attr: {
serviceType: "",
__resProjectEname__: "iehmpms",
__resAppEname__: "pmsal",
$$remote$$: "false",
methodName: "pendTaskKa",
soaInvokeProtocol: "local",
serviceName: "ALKA00"
},
name: null,
descName: null,
msg: "查询成功,本次查询返回1条记录!",
msgKey: "ep.2000",
detailMsg: "",
traceId: "",
sys: {},
blocks: {
inqu_status: {},
result1: {
attr: {},
blockMeta: {},
rows: [{
alertMessage: "-来源B-1",
alertSource: "来源B",
recReviseTime: "2022-05-16T02:47:30.000+0000",
alertLevel: 1,
hasHang: 0,
domains: "0/500233",
deviceCode: "480338E33",
relationAlert: 1,
hasDiagnosis: 1,
checkSpecialty: " ",
taskType: 1,
hasReport: 1,
taskState: 40,
kaState: 5,
taskCode: " ",
recCreateTime: "2022-05-07T12:15:35.000+0000",
evState: 0,
taskLabel: " ",
taskId: "70e5c8f2998b4f63bde0da76bedfb61e",
handleNode: "已完成"
}],
rowCount: 1,
attrKeys: "offset,count,limit"
}
},
status: 0,
globalUserId: "171465",
defBlock: null,
defaultBlock: null,
displayMsgKey: "EP-2000",
blockIds: "inqu_status,result1",
methodParamObj: null,
globalParams: {},
attrKeys: "serviceType,__resProjectEname__,__resAppEname__,$$remote$$,methodName,soaInvokeProtocol,serviceName"
}</code></pre>
<h3>已完成</h3>
<ul>
<li>方法: <code>ALKA00</code> <code>finishTaskKa</code></li>
<li>
<p>返回块: <code>result2</code></p>
<h4>返回示例</h4>
</li>
</ul>
<pre><code>参数说明同待处理</code></pre>
<h3>统计</h3>
<ul>
<li>
<p>方法: <code>ALKA00</code> <code>statisticsTaskKa</code></p>
<h4>返回示例</h4>
</li>
</ul>
<pre><code>pendCount //待处理统计
finishCount //已完成统计</code></pre>
<pre><code>{
attr: {
serviceType: "",
__resProjectEname__: "iehmpms",
__resAppEname__: "pmsal",
finishCount: 0,
$$remote$$: "false",
methodName: "statisticsTaskKa",
pendCount: 1,
soaInvokeProtocol: "local",
serviceName: "ALKA00"
},
name: null,
descName: null,
msg: "",
msgKey: "",
detailMsg: "",
traceId: "7f00000001116532906749390000000e",
sys: {},
blocks: {},
status: 0,
globalUserId: "nameless",
defBlock: null,
defaultBlock: null,
displayMsgKey: "",
blockIds: "",
methodParamObj: null,
globalParams: {},
attrKeys: "serviceType,__resProjectEname__,__resAppEname__,finishCount,$$remote$$,methodName,pendCount,soaInvokeProtocol,serviceName"
}</code></pre>
<h3>待处理详情</h3>
<ul>
<li>方法: <code>ALKA01</code> <code>pendDetailsKa</code></li>
<li>
<p>返回块: <code>result</code></p>
<h4>返回示例</h4>
</li>
</ul>
<pre><code>Integer contentId = 0; /* 主键Id*/
String taskId = " "; /* 工单Id*/
Long nodeId = 0L; /* 节点Id*/
String judgmentBasis = " "; /* 判断依据*/
String detectionSite = " "; /* 检测部位*/
String judgmentCriteria = " "; /* 判断标准*/
String abnormalPosition = " "; /* 异常部位*/
String judgmentConclusion = " "; /* 综合判定结论*/
String abnormalPhenomenon = " "; /* 异常现象*/
String attentionPoint = " "; /* 注意事项*/
String processStatus = " "; /* 工艺状况*/
String stateLevel = " "; /* 综合状态等级*/
String abnormalType = " "; /* 异常类型*/
Timestamp recCreateTime ; /* 创建时间*/
String handleAdvise = " "; /* 异常处理方案建议*/
String basisUrl = " "; /* 判断依据图片*/
String fileUrl = " "; /* 附件*/
String remark = " "; /* 备注*/
String reviewer = " "; /* 审核人员*/
String siteOperation = " "; /* 现场运维人员*/</code></pre>
<pre><code>{
attr: {
serviceType: "",
__resProjectEname__: "iehmpms",
__resAppEname__: "pmsal",
$$remote$$: "false",
methodName: "pendDetailsKa",
soaInvokeProtocol: "local",
serviceName: "ALKA01",
taskId: "70e5c8f2998b4f63bde0da76bedfb61e"
},
name: null,
descName: null,
msg: "查询成功,本次查询返回2条记录!",
msgKey: "ep.2000",
detailMsg: "",
traceId: "",
sys: {},
blocks: {
inqu_status: {},
result: {
attr: {},
blockMeta: {},
rows: [{
detectionSite: "task1数据1",
attentionPoint: "acsdc",
siteOperation: "[{"
userId ":"
171465 ","
uerName ":"
王帅 "}]",
judgmentCriteria: "task1数据1",
processStatus: "task1数据1",
handleAdvise: "task1数据1",
abnormalType: "task1数据1",
contentId: "14",
judgmentConclusion: "task1数据1",
abnormalPosition: "task1数据1",
remark: null,
reviewer: "[{"
userId ":"
171465 ","
uerName ":"
王帅 "}]",
stateLevel: "task1数据1",
judgmentBasis: "判断依据1",
recCreateTime: null,
fileUrl: "",
abnormalPhenomenon: "task1数据1",
basisUrl: "",
nodeId: "81",
taskId: "70e5c8f2998b4f63bde0da76bedfb61e"
}
],
rowCount: 2,
attrKeys: "offset,count,limit"
}
},
status: 0,
globalUserId: "171465",
defBlock: null,
defaultBlock: null,
displayMsgKey: "EP-2000",
blockIds: "inqu_status,result",
methodParamObj: null,
globalParams: {},
attrKeys: "serviceType,__resProjectEname__,__resAppEname__,$$remote$$,methodName,soaInvokeProtocol,serviceName,taskId"
}</code></pre>
<h3>提交</h3>
<ul>
<li>方法: <code>ALKA01</code> <code>submit</code></li>
<li>
<p>参数块: <code>addParam</code></p>
<h4>参数示例</h4>
</li>
</ul>
<pre><code>EiInfo inInfo = new EiInfo();
inInfo.set("addParam-0-taskId", "工单Id");
inInfo.set("addParam-0-warehousing。", "0");0/1。整理1/放弃0
inInfo.set("addParam-0-judgmentBasis", "判断依据");
inInfo.set("addParam-0-detectionSite", "检测部位");
inInfo.set("addParam-0-judgmentCriteria", "判断标准");
inInfo.set("addParam-0-abnormalPosition", "异常部位");
inInfo.set("addParam-0-judgmentConclusion", "综合判定结论");
inInfo.set("addParam-0-abnormalPhenomenon", "异常现象");
inInfo.set("addParam-0-attentionPoint", "注意事项");
inInfo.set("addParam-0-processStatus", "工艺状况");
inInfo.set("addParam-0-stateLevel", "综合状态等级");
inInfo.set("addParam-0-abnormalType", "异常类型");
inInfo.set("addParam-0-handleAdvise", "异常处理方案建议");
inInfo.set("addParam-0-basisUrl", "判断依据图片");
inInfo.set("addParam-0-fileUrl", "附件");
inInfo.set("addParam-0-remark", "备注");</code></pre>
<h3>已完成</h3>
<ul>
<li>方法: <code>ALKA02</code> <code>ServiceALKA02</code></li>
<li>
<p>返回块: <code>result</code></p>
<h4>返回示例</h4>
</li>
</ul>
<pre><code>Integer contentId = 0; /* 主键Id*/
String taskId = " "; /* 工单Id*/
String judgmentBasis = " "; /* 判断依据*/
String detectionSite = " "; /* 检测部位*/
String judgmentCriteria = " "; /* 判断标准*/
String abnormalPosition = " "; /* 异常部位*/
String judgmentConclusion = " "; /* 综合判定结论*
String abnormalPhenomenon = " "; /* 异常现象*/
String attentionPoint = " "; /* 注意事项*/
String processStatus = " "; /* 工艺状况*/
String stateLevel = " "; /* 综合状态等级*/
String abnormalType = " "; /* 异常类型*/
String handleAdvise = " "; /* 异常处理方案建议*/
String basisUrl = " "; /* 判断依据图片*/
String fileUrl = " "; /* 附件*/
String remark = " "; /* 备注*/
String handleId = " "; /* 处理人Id*/
String handleName = " "; /* 处理人name*/
Timestamp recCreateTime ; /* 创建时间*/</code></pre>