Commit aad4c796 by 杨林龙

优化大数据研判最后报警时间

1 parent 74c8bfb4
......@@ -77,6 +77,10 @@ public class JudgmentService extends AbstractCommonService {
judgmentExport.setAlarmAddress(stuJudgeAlarm.getAlarmAddress());
judgmentExport.setAlarmBeginTime(stuJudgeAlarm.getAlarmBeginTime());
judgmentExport.setAlarmEndTime(stuJudgeAlarm.getAlarmEndTime());
if (TypeConverseEunm.AlarmStatusEnum.TAKE_EFFECT.getAlarmStatus().equals(stuJudgeAlarm.getAlarmStatus())) {
// 如果警情为生效警情 则将失效时间设备为 --
judgmentExport.setAlarmEndTime("--");
}
judgmentExport.setAlarmLng(stuJudgeAlarm.getAlarmLng());
judgmentExport.setAlarmLat(stuJudgeAlarm.getAlarmLat());
judgmentExport.setAlarmAddress(stuJudgeAlarm.getAlarmAddress());
......@@ -123,6 +127,10 @@ public class JudgmentService extends AbstractCommonService {
judgmentExport.setAlarmAddress(stuJudgeAlarm.getAlarmAddress());
judgmentExport.setAlarmBeginTime(stuJudgeAlarm.getAlarmBeginTime());
judgmentExport.setAlarmEndTime(stuJudgeAlarm.getAlarmEndTime());
if (TypeConverseEunm.AlarmStatusEnum.TAKE_EFFECT.getAlarmStatus().equals(stuJudgeAlarm.getAlarmStatus())) {
// 如果警情为生效警情 则将失效时间设备为 --
judgmentExport.setAlarmEndTime("--");
}
judgmentExport.setAlarmLng(stuJudgeAlarm.getAlarmLng());
judgmentExport.setAlarmLat(stuJudgeAlarm.getAlarmLat());
judgmentExport.setAlarmAddress(stuJudgeAlarm.getAlarmAddress());
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!