Commit d52759df by zhangxk

修改违法类型推送

1 parent 247ab678
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
<dependency> <dependency>
<groupId>org.apache.commons</groupId> <groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId> <artifactId>commons-lang3</artifactId>
<version>3.5</version> <version>3.10</version>
</dependency> </dependency>
</dependencies> </dependencies>
......
...@@ -76,6 +76,9 @@ public class TrafficProcess implements Process { ...@@ -76,6 +76,9 @@ public class TrafficProcess implements Process {
location(model, location); location(model, location);
// ------------------ 违章 -------------------- // ------------------ 违章 --------------------
illegal(model, illegal); illegal(model, illegal);
if(model.getIllegalType() <= 0){
return null;
}
// ------------------ 录像 --------------------- // ------------------ 录像 ---------------------
video(model, video, deviceSerialnum, eventTime); video(model, video, deviceSerialnum, eventTime);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!