This commit is contained in:
wangliwen 2022-05-11 15:58:41 +08:00
parent 105b6b536c
commit 53efbf246e
1 changed files with 3 additions and 1 deletions

View File

@ -105,11 +105,13 @@ public class CorrectionListener implements TaskListener, ExecutionListener, Acti
Gson gson = new Gson();
JsonElement jsonElement = gson.toJsonTree(kv);
TAbilityApplicationDTO abilityApplicationDTO = gson.fromJson(jsonElement, TAbilityApplicationDTO.class);
if (abilityApplicationDTO != null) {
if (abilityApplicationDTO != null && abilityApplicationDTO.getId() != null) {
abilityApplicationDTO.setDelFlag(0);
abilityApplicationDTO.setApproveStatus("通过");
tAbilityApplicationService.update(abilityApplicationDTO);
logger.error("审批通过申请id:" + abilityApplicationDTO.getId());
} else {
logger.error(kv.toString());
}
}