Commit cbf6420699a79e045d810f86475fbeadbb88a2f3

Authored by 273548560@qq.com
1 parent 019be050

修复bug

trash-workFlow/src/main/java/com/trash/casefile/kafka/Consumer.java
@@ -119,9 +119,7 @@ public class Consumer { @@ -119,9 +119,7 @@ public class Consumer {
119 if (violationWarningInformation1 == null) { 119 if (violationWarningInformation1 == null) {
120 ViolationWarningInformation violationWarningInformation = new ViolationWarningInformation(); 120 ViolationWarningInformation violationWarningInformation = new ViolationWarningInformation();
121 String siteType = jsonObject.getString("siteType"); 121 String siteType = jsonObject.getString("siteType");
122 - if ("1".equals(siteType)) {//工地  
123 -  
124 - } else if ("2".equals(siteType)) {//消纳场 122 + if ("2".equals(siteType)) {//消纳场
125 violationWarningInformation.setViolationObjectType("1"); 123 violationWarningInformation.setViolationObjectType("1");
126 } 124 }
127 //所属区域 125 //所属区域