@@ -52,8 +52,9 @@ class AppletAttendance(Controller):
|
||||
group_id = attendance_id.shift_name
|
||||
att_longitude = kw['att_longitude'] # 打卡经度
|
||||
att_latitude = kw['att_latitude'] # 打卡纬度
|
||||
_logger.info(f"打卡经度{att_longitude}打卡纬度{att_latitude}人员{employee_id.name}__________")
|
||||
self_address = self.get_address_from_coords(att_latitude, att_longitude)
|
||||
_logger.info(f"打卡经度{att_longitude}打卡纬度{att_latitude}__________")
|
||||
_logger.info(f"人员{employee_id.name}地址{self_address}__________")
|
||||
longitude = address_id.longitude # 要求经度
|
||||
latitude = address_id.latitude # 要求纬度
|
||||
card_rice = address_id.card_rice * 0.001 # 打卡范围
|
||||
|
||||
Reference in New Issue
Block a user