|
@@ -122,16 +122,16 @@ public class OutInRecordUtil {
|
|
|
}
|
|
|
if (personId == null) continue;
|
|
|
|
|
|
- int status = item.get("inAndOutType").getAsInt();
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
+ int statusInt = item.get("inAndOutType").getAsInt();
|
|
|
+ int status = -1;
|
|
|
+ switch (statusInt){
|
|
|
+ case 0:
|
|
|
+ status = 1;
|
|
|
+ break;
|
|
|
+ case 1:
|
|
|
+ status = 0;
|
|
|
+ break;
|
|
|
+ }
|
|
|
|
|
|
String uri = item.get("picUri").isJsonNull() ? null : item.get("picUri").getAsString();
|
|
|
String recordTime = item.get("eventTime").isJsonNull() ? null : item.get("eventTime").getAsString();
|
|
@@ -465,8 +465,6 @@ public class OutInRecordUtil {
|
|
|
JsonObject paramJson = new JsonObject();
|
|
|
paramJson.addProperty("pageNo", pageNo.get());
|
|
|
paramJson.addProperty("pageSize", pageSize);
|
|
|
- paramJson.addProperty("startTime", "2024-06-01T00:00:00Z");
|
|
|
- paramJson.addProperty("endTime", "2024-06-12T00:00:00Z");
|
|
|
|
|
|
return apiUtil.doPost(apiPath, String.valueOf(paramJson), null);
|
|
|
}
|