|
@@ -52,9 +52,13 @@ public class SignDataConvert {
|
|
|
entity.setUsertype("1");
|
|
entity.setUsertype("1");
|
|
|
entity.setSigndate(checkData);
|
|
entity.setSigndate(checkData);
|
|
|
entity.setSigntime(attendance.getCheckinTime());
|
|
entity.setSigntime(attendance.getCheckinTime());
|
|
|
- entity.setClientAddress("");
|
|
|
|
|
|
|
+ entity.setClientAddress(attendance.getLocationTitle());
|
|
|
entity.setIsincom("1");
|
|
entity.setIsincom("1");
|
|
|
- entity.setSignfrom("Wechat");
|
|
|
|
|
|
|
+ if ("外出打卡".equals(attendance.getCheckinType())) {
|
|
|
|
|
+ entity.setSignfrom("Wechat_out");
|
|
|
|
|
+ } else {
|
|
|
|
|
+ entity.setSignfrom("Wechat");
|
|
|
|
|
+ }
|
|
|
entity.setLatitude(attendance.getLatitude());
|
|
entity.setLatitude(attendance.getLatitude());
|
|
|
entity.setLongitude(attendance.getLongitude());
|
|
entity.setLongitude(attendance.getLongitude());
|
|
|
entity.setAddr(attendance.getLocationTitle());
|
|
entity.setAddr(attendance.getLocationTitle());
|