Browse Source

处理出行结果

brealinxx 5 months ago
parent
commit
9886a04a8e

+ 3 - 0
src/main/java/com/xjrsoft/module/hikvision/util/OutInRecordUtil.java

@@ -631,6 +631,7 @@ public class OutInRecordUtil {
                                 releaseWayInt = rlsResultObject.get("releaseWay").getAsInt();
                                 releaseReasonInt = rlsResultObject.get("releaseReason").getAsInt();
                                 releaseResultInt = rlsResultObject.get("releaseResult").getAsInt();
+                                if (releaseResultInt == 13) releaseResultInt = 1;
                             }
                         }
 
@@ -700,6 +701,7 @@ public class OutInRecordUtil {
                                 releaseWayInt = rlsResultObject.get("releaseWay").getAsInt();
                                 releaseReasonInt = rlsResultObject.get("releaseReason").getAsInt();
                                 releaseResultInt = rlsResultObject.get("releaseResult").getAsInt();
+                                if (releaseResultInt == 13) releaseResultInt = 1;
                             }
                         }
 
@@ -744,6 +746,7 @@ public class OutInRecordUtil {
                                 releaseWayInt = rlsResultObject.get("releaseWay").getAsInt();
                                 releaseReasonInt = rlsResultObject.get("releaseReason").getAsInt();
                                 releaseResultInt = rlsResultObject.get("releaseResult").getAsInt();
+                                if (releaseResultInt == 13) releaseResultInt = 1;
                             }
                         }