5
0

2 Revīzijas 47bc532998 ... 314f17ce13

Autors SHA1 Ziņojums Datums
  brealinxx 314f17ce13 Merge branch 'dev' of https://git.yingcaibx.com/tl/api into dev 5 mēneši atpakaļ
  brealinxx 9886a04a8e 处理出行结果 5 mēneši atpakaļ

+ 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;
                             }
                         }