Commit fe6abe90 authored by 罗可心's avatar 罗可心 😕

考勤数据,添加打开设备名称字段

parent ba92da24
......@@ -87,7 +87,25 @@ public class AttendanceSync extends CyIdEntity<AttendanceSync> {
@Excel(name = "下班时间", orderNum = "6", width = 20)
private String offHours;
/**
/**
* @desc 上班打卡设备名称
* @column work_device_name
* @default
*/
private String workDeviceName;
/**
* @desc 下班打卡设备名称
* @column off_device_name
* @default
*/
private String offDeviceName;
/**
* @desc 考勤日期
* @column date_of_attendance
* @default
......
......@@ -53,11 +53,11 @@ public class InvitedPersonServiceImpl extends ServiceImpl<InvitedPersonRepositor
public VisitInfoMation getLastVisitInfo(HttpServletRequest request) {
//获取当前时间
Date date = new Date();
System.out.println("当前系统时间" + date);
// System.out.println("当前系统时间" + date);
//获取当前用户手机号
String phone = CyUserUtil.getUserInfoStrProp(cyJwtUtil.getToken(request), CyUserUtil.USER_PHONE);
System.out.println("用户手机号" + phone);
// System.out.println("用户手机号" + phone);
//如果电话为空 则返回空值
if(StringUtils.isEmpty(phone)){
......
......@@ -10,6 +10,8 @@
<result column="position_label" jdbcType="VARCHAR" property="positionLabel"/>
<result column="work_hours" jdbcType="VARCHAR" property="workHours"/>
<result column="off_hours" jdbcType="VARCHAR" property="offHours"/>
<result column="work_device_name" jdbcType="VARCHAR" property="workDeviceName"/>
<result column="off_device_name" jdbcType="VARCHAR" property="offDeviceName"/>
<result column="date_of_attendance" jdbcType="VARCHAR" property="dateOfAttendance"/>
<result column="time_on_job" jdbcType="VARCHAR" property="timeOnJob"/>
<result column="nlt_bz" jdbcType="VARCHAR" property="nltBz"/>
......
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