Commit 0220ab93 authored by 周亚武's avatar 周亚武

钉钉相关接口-添加筛选请假数据逻辑

parent 3fc86714
......@@ -123,6 +123,8 @@ public class DingMessageController {
if(rest.getCode() == Rest.SUCCESS){
GetProcessInstanceResponseBody.GetProcessInstanceResponseBodyResult result = rest.getData();
log.info("审批详情:"+JSONObject.toJSONString(result) );
if(result.getTitle().contains("请假")){ //只处理请假的审批单
AttendanceLeaveRecordEntity leaveRecordEntity = new AttendanceLeaveRecordEntity();
leaveRecordEntity.initAttrValue();
......@@ -607,6 +609,7 @@ public class DingMessageController {
}else {
log.info("根据id在钉钉平台查询电话失败"+mobileRest.getMsg());
}
}
......
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