step 5 : add comp longi & lati, check distance gql, trans clock in gql

This commit is contained in:
sindhu
2024-01-22 15:11:44 +07:00
parent c62764165d
commit ba1f43ae70
12 changed files with 548 additions and 697 deletions

View File

@@ -92,6 +92,8 @@ func (staff *Staff) LoginAttendance(email string, id_google_sign_in string) (*mo
M_StaffNoHp,
M_CompanyID,
M_CompanyName,
M_CompanyLatitude,
M_CompanyLongitude,
M_StaffIsActive,
M_StaffIsLogin,
M_StaffToken,
@@ -121,6 +123,8 @@ func (staff *Staff) LoginAttendance(email string, id_google_sign_in string) (*mo
&ret.PhoneNumber,
&ret.CompanyID,
&ret.CompanyName,
&ret.CompanyLatitude,
&ret.CompanyLongitude,
&ret.IsActive,
&ret.IsLogin,
&ret.Token,