葵花数据只推送高置信度的火点

This commit is contained in:
liuchengqian 2023-11-09 11:07:05 +08:00
parent 7ff3b089d6
commit aac7a6d750

View File

@ -94,10 +94,11 @@ public class FirePointServiceImpl implements FirePointService {
return false; return false;
} }
if ("Himawari 8".equals(firePointQo.getSatelliteType())) { if ("Himawari 8".equals(firePointQo.getSatelliteType())) {
if ("L".equals(firePointQo.getConfidence())) { if ("L".equals(firePointQo.getConfidence()) || "N".equals(firePointQo.getConfidence())) {
return false; return false;
} }
} }
FirePointEntity firePointEntity = new FirePointEntity(); FirePointEntity firePointEntity = new FirePointEntity();
firePointEntity.setFireCode(firePointQo.getFireCode()); firePointEntity.setFireCode(firePointQo.getFireCode());
firePointEntity.setCountyCode(firePointQo.getCountyCode().toString()); firePointEntity.setCountyCode(firePointQo.getCountyCode().toString());