Quellcode durchsuchen

[考勤管理]修复了在某些情况下移动打卡后无法查询出结果的问题

o2lee vor 5 Jahren
Ursprung
Commit
e1437116b0

+ 2 - 1
o2server/x_attendance_assemble_control/src/main/java/com/x/attendance/assemble/control/jaxrs/attendancedetail/ActionReciveAttendanceMobile.java

@@ -92,10 +92,11 @@ public class ActionReciveAttendanceMobile extends BaseAction {
 			if( StringUtils.isEmpty( distinguishedName )){
 				distinguishedName = currentPerson.getDistinguishedName();
 			}
-			attendanceDetailMobile.setEmpName( distinguishedName );
+
 			Person person = userManagerService.getPersonObjByName( distinguishedName );
 
 			if( person != null ){
+				attendanceDetailMobile.setEmpName( person.getDistinguishedName() );
 				if( StringUtils.isEmpty( wrapIn.getEmpNo() )){
 					if( person != null ){
 						if( StringUtils.isNotEmpty( person.getEmployee() )){