From b6bf402c2c06911aaa51dbe525bd379ea1da8897 Mon Sep 17 00:00:00 2001 From: liuchengqian Date: Fri, 10 Mar 2023 17:21:03 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=AA=E6=8E=A5=E6=94=B6=E8=80=95=E5=9C=B0?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E7=9A=84=E7=81=AB=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/xkrs/utilsnew/FirePointFilterUtils.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) {