diff --git a/src/main/java/com/xkrs/utilsnew/FirePointFilterUtils.java b/src/main/java/com/xkrs/utilsnew/FirePointFilterUtils.java index ac06eef..fdb68c0 100644 --- a/src/main/java/com/xkrs/utilsnew/FirePointFilterUtils.java +++ b/src/main/java/com/xkrs/utilsnew/FirePointFilterUtils.java @@ -17,10 +17,10 @@ public class FirePointFilterUtils { } public static DataWrapper2 checkLandType(String landType) { - if ("水体".equals(landType)) { - return new DataWrapper2<>(Boolean.FALSE, "添加失败,不接收水体类型"); + if ("耕地".equals(landType)) { + return new DataWrapper2<>(Boolean.TRUE, ""); } - return new DataWrapper2<>(Boolean.TRUE, ""); + return new DataWrapper2<>(Boolean.FALSE, "添加失败,只接收耕地类型的火点"); } public static DataWrapper2 checkSatelliteType(String satelliteType, String confidence) {