Merge pull request !3591 from 李鹏宇/dev
This commit is contained in:
李鹏宇
2025-06-30 08:57:55 +00:00
committed by Gitee
@@ -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 # 打卡范围