| | |
| | | import org.springblade.system.entity.DictBiz; |
| | | import org.springblade.system.feign.IDictBizClient; |
| | | import org.springblade.system.user.entity.User; |
| | | import org.springblade.system.user.feign.IUserClient; |
| | | import org.springblade.system.user.vo.UserVO; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | |
| | | private final IEnclosureService iEnclosureService; |
| | | |
| | | private final IDictBizClient iDictBizService; |
| | | |
| | | private final IUserClient iUserClient; |
| | | |
| | | /** |
| | | * 详情 |
| | |
| | | //判断是否在所在区域打卡,返回数据 |
| | | if (onArea) { |
| | | //查询当前考勤人员的部门信息 |
| | | |
| | | attendance.setDepartment(iUserClient.selUserByCode(attendance.getNumber()).getDeptId()); |
| | | //获取当前日期是礼拜几 |
| | | attendance.setWeek(new SimpleDateFormat("EEEE").format(new Date())); |
| | | //获取打卡时间标准 |