Commit cbf6420699a79e045d810f86475fbeadbb88a2f3
1 parent
019be050
修复bug
Showing
1 changed file
with
1 additions
and
3 deletions
trash-workFlow/src/main/java/com/trash/casefile/kafka/Consumer.java
| ... | ... | @@ -119,9 +119,7 @@ public class Consumer { |
| 119 | 119 | if (violationWarningInformation1 == null) { |
| 120 | 120 | ViolationWarningInformation violationWarningInformation = new ViolationWarningInformation(); |
| 121 | 121 | String siteType = jsonObject.getString("siteType"); |
| 122 | - if ("1".equals(siteType)) {//工地 | |
| 123 | - | |
| 124 | - } else if ("2".equals(siteType)) {//消纳场 | |
| 122 | + if ("2".equals(siteType)) {//消纳场 | |
| 125 | 123 | violationWarningInformation.setViolationObjectType("1"); |
| 126 | 124 | } |
| 127 | 125 | //所属区域 | ... | ... |