Bladeren bron

打卡xml修改

LiFei 4 jaren geleden
bovenliggende
commit
1dceb27f21

+ 10 - 3
happy-job-module-hpjob/src/main/java/com/jeeplus/modules/wspunch/mapper/xml/WsPunchClockMapper.xml

@@ -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>