...
This commit is contained in:
parent
9652a63dd5
commit
5583c2b609
|
@ -191,11 +191,15 @@ public class CorrectionListener implements TaskListener, ExecutionListener, Acti
|
|||
//如果有code说明已经注册过了,以及只有通过的流程申请
|
||||
if (kv.get("gatewayCode") != null ||
|
||||
!ActTaskService.Task_HANDLE_STATE_AGREE.equals(kv.get(ActTaskService.Task_HANDLE_STATE))) return;
|
||||
|
||||
try {
|
||||
Gson gson = new Gson();
|
||||
JsonElement jsonElement = gson.toJsonTree(kv);
|
||||
TAbilityApplicationDTO abilityApplicationDTO = gson.fromJson(jsonElement, TAbilityApplicationDTO.class);
|
||||
applyCode(delegateTask, abilityApplicationDTO);
|
||||
} catch (Exception e) {
|
||||
logger.error(e.getLocalizedMessage(), e);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue