Commit 2f2d556c authored by 周亚武's avatar 周亚武

钉钉相关接口

parent b9ef6959
...@@ -133,15 +133,15 @@ public class AttendanceLeaveRecordEntity extends AttendanceLeaveRecordVo { ...@@ -133,15 +133,15 @@ public class AttendanceLeaveRecordEntity extends AttendanceLeaveRecordVo {
public void initAttrValue(){ public void initAttrValue(){
this.leavePersonId = 0L; this.leavePersonId = 0L;
this.leavePerson = ""; this.leavePerson = "";
this.deptId = 0L; this.deptId = null;
this.deptName = ""; this.deptName = "";
this.phoneNumber = ""; this.phoneNumber = "";
this.leaveType = 0; this.leaveType = null;
this.startTime = new Date(); this.startTime = new Date();
this.endTime = new Date(); this.endTime = new Date();
this.duration = 0; this.duration = 0;
this.reason = ""; this.reason = "";
this.approverId = 0L; this.approverId = null;
this.approver = ""; this.approver = "";
this.attachment = ""; this.attachment = "";
this.attachmentPath = ""; this.attachmentPath = "";
......
...@@ -65,10 +65,10 @@ public class AttendanceLeaveRecordController extends BaseCRUDJsonBodyMappingCont ...@@ -65,10 +65,10 @@ public class AttendanceLeaveRecordController extends BaseCRUDJsonBodyMappingCont
UserPdu userPdu = new UserPdu(); UserPdu userPdu = new UserPdu();
userPdu.setSize(-1); userPdu.setSize(-1);
List <UserPdu> userPduList = iUserFeign.list(userPdu).getData().getData(); List <UserPdu> userPduList = iUserFeign.list(userPdu).getData().getData();
Map<Long, String> ans = new HashMap<>(); Map<String, String> ans = new HashMap<>();
for(UserPdu str: userPduList) { for(UserPdu str: userPduList) {
if(str != null) { //增加非空判断 if(str != null) { //增加非空判断
ans.put(str.getId(), str.getRealName()); ans.put(str.getId().toString(), str.getRealName());
} }
} }
......
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