应征入伍保留学籍申请表信息详细
This commit is contained in:
@@ -66,8 +66,14 @@ public class ApprovalAssigneeListener implements ExecutionListener {
|
||||
// 获取审核意见
|
||||
String approvalOpinion = (String) execution.getVariable("approvalOpinion");
|
||||
|
||||
// 获取审核状态
|
||||
Long approvalResult = (Long) execution.getVariable("approvalResult");
|
||||
// 获取审核状态(兼容Integer/Long类型)
|
||||
Object approvalResultObj = execution.getVariable("approvalResult");
|
||||
Long approvalResult = null;
|
||||
if (approvalResultObj != null) {
|
||||
// 先转为数字,再获取long值
|
||||
Number num = (Number) approvalResultObj;
|
||||
approvalResult = num.longValue();
|
||||
}
|
||||
|
||||
// 4. 后续逻辑不变:查询下一个节点负责人并更新变量
|
||||
Long nextAssigneeId = getNextAssignee(currentNodeName, processInstanceId, enlistmentId, currentActivityId, approvalOpinion, approvalResult);
|
||||
|
||||
Reference in New Issue
Block a user