考勤机
This commit is contained in:
		| @ -333,10 +333,11 @@ public class BusAttendanceServiceImpl extends ServiceImpl<BusAttendanceMapper, B | |||||||
|             } |             } | ||||||
|  |  | ||||||
|             //打卡范围 |             //打卡范围 | ||||||
|             if (!checkInRange(req)) { |             if (!"1".equals(req.getSource())){ | ||||||
|                 throw new ServiceException("打卡位置不在范围内", HttpStatus.ERROR); |                 if (!checkInRange(req)) { | ||||||
|  |                     throw new ServiceException("打卡位置不在范围内", HttpStatus.ERROR); | ||||||
|  |                 } | ||||||
|             } |             } | ||||||
|  |  | ||||||
|             //用户信息校验 |             //用户信息校验 | ||||||
|             SubConstructionUser constructionUser = constructionUserService.getBySysUserId(userId); |             SubConstructionUser constructionUser = constructionUserService.getBySysUserId(userId); | ||||||
|             if ("1".equals(constructionUser.getStatus())) { |             if ("1".equals(constructionUser.getStatus())) { | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 zt
					zt