|
|
@@ -800,16 +800,12 @@ public class SysUserServiceImpl implements ISysUserService
|
|
|
}
|
|
|
ur.setRecordTime(Date.from(e.getClockTime().atStartOfDay().atZone(ZoneId.systemDefault()).toInstant()));
|
|
|
if (projectStaffRecords.isEmpty()){
|
|
|
- ur.setStatus(4);
|
|
|
+ ur.setClockStatus(2);
|
|
|
}else if (projectStaffRecords.size()==1){
|
|
|
- ur.setStatus(0);
|
|
|
+ ur.setClockStatus(0);
|
|
|
ur.setPsrId(projectStaffRecords.get(0).getId());
|
|
|
}else if (projectStaffRecords.size()>1){
|
|
|
- if (ur.getStatus()==1){
|
|
|
- ur.setStatus(3);
|
|
|
- }else{
|
|
|
- ur.setStatus(2);
|
|
|
- }
|
|
|
+ ur.setClockStatus(1);
|
|
|
ur.setList(projectStaffRecords);
|
|
|
}
|
|
|
ur.setCreateId(SecurityUtils.getUserId());
|