...
This commit is contained in:
parent
105b6b536c
commit
53efbf246e
|
@ -105,11 +105,13 @@ public class CorrectionListener implements TaskListener, ExecutionListener, Acti
|
||||||
Gson gson = new Gson();
|
Gson gson = new Gson();
|
||||||
JsonElement jsonElement = gson.toJsonTree(kv);
|
JsonElement jsonElement = gson.toJsonTree(kv);
|
||||||
TAbilityApplicationDTO abilityApplicationDTO = gson.fromJson(jsonElement, TAbilityApplicationDTO.class);
|
TAbilityApplicationDTO abilityApplicationDTO = gson.fromJson(jsonElement, TAbilityApplicationDTO.class);
|
||||||
if (abilityApplicationDTO != null) {
|
if (abilityApplicationDTO != null && abilityApplicationDTO.getId() != null) {
|
||||||
abilityApplicationDTO.setDelFlag(0);
|
abilityApplicationDTO.setDelFlag(0);
|
||||||
abilityApplicationDTO.setApproveStatus("通过");
|
abilityApplicationDTO.setApproveStatus("通过");
|
||||||
tAbilityApplicationService.update(abilityApplicationDTO);
|
tAbilityApplicationService.update(abilityApplicationDTO);
|
||||||
logger.error("审批通过!申请id:" + abilityApplicationDTO.getId());
|
logger.error("审批通过!申请id:" + abilityApplicationDTO.getId());
|
||||||
|
} else {
|
||||||
|
logger.error(kv.toString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue