|
@@ -13,6 +13,7 @@ import javax.validation.Validator;
|
|
|
|
|
|
|
|
import com.ruoyi.common.core.domain.entity.SysDept;
|
|
import com.ruoyi.common.core.domain.entity.SysDept;
|
|
|
import com.ruoyi.common.enums.UserRolesType;
|
|
import com.ruoyi.common.enums.UserRolesType;
|
|
|
|
|
+import com.ruoyi.common.utils.bean.BeanUtils;
|
|
|
import com.ruoyi.project.domain.ProjectStaff;
|
|
import com.ruoyi.project.domain.ProjectStaff;
|
|
|
import com.ruoyi.project.domain.ProjectStaffRecord;
|
|
import com.ruoyi.project.domain.ProjectStaffRecord;
|
|
|
import com.ruoyi.project.domain.ProjectTask;
|
|
import com.ruoyi.project.domain.ProjectTask;
|
|
@@ -829,6 +830,8 @@ public class SysUserServiceImpl implements ISysUserService
|
|
|
return userRecordMapper.selectUserClock(userId);
|
|
return userRecordMapper.selectUserClock(userId);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
private String getTime(String s) {
|
|
private String getTime(String s) {
|
|
|
return s.replace("外勤","").trim();
|
|
return s.replace("外勤","").trim();
|
|
|
}
|
|
}
|
|
@@ -872,4 +875,12 @@ public class SysUserServiceImpl implements ISysUserService
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+ @Override
|
|
|
|
|
+ public Object UserClockDetails(Long id) {
|
|
|
|
|
+ UserRecord userRecord = userRecordMapper.selectByPrimaryKey(id);
|
|
|
|
|
+ UserRecordOut out=new UserRecordOut();
|
|
|
|
|
+ BeanUtils.copyProperties(userRecord, out);
|
|
|
|
|
+ return null;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
}
|
|
}
|