应征入伍保留学籍申请表信息详细

This commit is contained in:
2025-11-20 16:30:10 +08:00
parent 35259d7a15
commit 70a0eb5bb4
4 changed files with 25 additions and 3 deletions

View File

@@ -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);