Commit caf9b76a authored by 周亚武's avatar 周亚武

钉钉相关接口 -- 添加拒绝审批状态

parent cc387181
......@@ -577,7 +577,11 @@ public class DingPersonServiceImpl extends AbstractDingTalkService implements ID
}
}
} else if (result.equals("")) { //撤销假期审批中result会为空 撤销审批通过后result为AGREE
}
else if (result.getResult().compareToIgnoreCase("REFUSE") == 0) { //拒绝审批
leaveRecordEntity.setAuditResult(AppealResultEnum.不通过.getValue()); //拒绝审批
}
else if (result.equals("")) { //撤销假期审批中result会为空 撤销审批通过后result为AGREE
if (result.getTasks().size() > 1) {
log.info("status" + result.getTasks().get(1).getStatus());
if (result.getTasks().get(1).getStatus().compareToIgnoreCase("CANCELED") != 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment