风险预警

This commit is contained in:
liujiaji 2018-06-25 17:42:15 +08:00
parent 8533530f87
commit 9494e69b9c

View File

@ -100,7 +100,7 @@ public class AutoRiskScanService {
this.flowState = bo.getAttribute("flowState") == null ? "" : bo
.getAttribute("flowState").toString();
this.bizArgs = "ObjectType=" + objectType + "&ObjectNo="
+ objectNo + "&PhaseNo=" + phaseNo + "&TaskNo="
+ objectNo + "&FlowNo=" + flowNo + "&PhaseNo=" + phaseNo + "&TaskNo="
+ taskNo + "&UserId=" + userId + "&isAutoCommit=true";
}
}
@ -125,7 +125,7 @@ public class AutoRiskScanService {
}
ScenarioUtil scenarioUtil = new ScenarioUtil();
boolean autoResult = scenarioUtil.autoRiskScan(flowName, bizArgs, "",
boolean autoResult = scenarioUtil.autoRiskScan(flowName, bizArgs, phaseNo,
tx, sqlca);
Map<String, Object> body = new HashMap<String, Object>();
body.put("autoResult", autoResult);