|
|
@@ -14,6 +14,7 @@
|
|
|
a.end_punch_latitude AS "endPunchLatitude",
|
|
|
a.end_punch_clock AS "endPunchClock",
|
|
|
a.duration AS "duration",
|
|
|
+ a.fence_name as "fenceName",
|
|
|
wsc.company_name AS "companyName",
|
|
|
hpm.real_name AS "userName",
|
|
|
hpm.phone AS "phone",
|
|
|
@@ -114,7 +115,9 @@
|
|
|
end_punch_longitude,
|
|
|
end_punch_latitude,
|
|
|
end_punch_clock,
|
|
|
- duration
|
|
|
+ duration,
|
|
|
+ company_name,
|
|
|
+ fence_name
|
|
|
) VALUES (
|
|
|
#{companyId},
|
|
|
#{memberId},
|
|
|
@@ -125,7 +128,9 @@
|
|
|
#{endPunchLongitude},
|
|
|
#{endPunchLatitude},
|
|
|
#{endPunchClock},
|
|
|
- #{duration}
|
|
|
+ #{duration},
|
|
|
+ #{companyName},
|
|
|
+ #{fenceName}
|
|
|
)
|
|
|
</insert>
|
|
|
|
|
|
@@ -140,7 +145,9 @@
|
|
|
end_punch_longitude = #{endPunchLongitude},
|
|
|
end_punch_latitude = #{endPunchLatitude},
|
|
|
end_punch_clock = #{endPunchClock},
|
|
|
- duration = #{duration}
|
|
|
+ duration = #{duration},
|
|
|
+ company_name = #{companyName},
|
|
|
+ fence_name = #{fenceName}
|
|
|
WHERE id = #{id}
|
|
|
</update>
|
|
|
|