5
0

2 Ревизии 47bc532998 ... 314f17ce13

Автор SHA1 Съобщение Дата
  brealinxx 314f17ce13 Merge branch 'dev' of https://git.yingcaibx.com/tl/api into dev преди 5 месеца
  brealinxx 9886a04a8e 处理出行结果 преди 5 месеца
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 3 0
      src/main/java/com/xjrsoft/module/hikvision/util/OutInRecordUtil.java

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