diff --git a/src/main/java/com/gzzn/omms/msgexchangeapi/msghandler/flop/FDIVHandler.java b/src/main/java/com/gzzn/omms/msgexchangeapi/msghandler/flop/FDIVHandler.java index 6a363b86..db335357 100644 --- a/src/main/java/com/gzzn/omms/msgexchangeapi/msghandler/flop/FDIVHandler.java +++ b/src/main/java/com/gzzn/omms/msgexchangeapi/msghandler/flop/FDIVHandler.java @@ -4,11 +4,15 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.BeanUtils; +import com.gzzn.omms.msgexchangeapi.entity.msg.ABNDATA; +import com.gzzn.omms.msgexchangeapi.entity.msg.ABNORMALTYPE; import com.gzzn.omms.msgexchangeapi.entity.msg.DIVERSIONDATA; import com.gzzn.omms.msgexchangeapi.entity.msg.FLOP; +import com.gzzn.omms.msgexchangeapi.entity.msg.FTSSTYPE; import com.gzzn.omms.msgexchangeapi.entity.msg.OPTDIVERSIONDATA; import com.gzzn.omms.msgexchangeapi.entity.msg.SCHD; import com.gzzn.omms.msgexchangeapi.msghandler.flop.base.FlopBaseHandler; +import com.gzzn.omms.msgexchangeapi.utils.JsonUtil; /** * 航班转场事件 @@ -26,6 +30,28 @@ public class FDIVHandler extends FlopBaseHandler { DIVERSIONDATA diversionData = new DIVERSIONDATA(); BeanUtils.copyProperties(optDiversionData, diversionData); fltr.setFDIV(diversionData); + + + //设置运营状态信息 + fltr.setFTSS(FTSSTYPE.ALT.name()); + + + //更新航班异常信息,先清空旧的再加入新的 + for(int i=0;i