VppDrEventIngestService.java 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. package com.usky.vpp.service;
  2. import com.usky.vpp.domain.VppDrEvent;
  3. import java.util.Map;
  4. /**
  5. * 运管平台邀约/出清报文入库
  6. */
  7. public interface VppDrEventIngestService {
  8. /**
  9. * 解析 DistributeEventRequest(Poll 拉取或 UN 推送),写入 vpp_dr_event
  10. */
  11. VppDrEvent ingestDistributeEvent(Map<String, Object> body, String source);
  12. /**
  13. * @deprecated 请使用 {@link #ingestDistributeEvent}
  14. */
  15. @Deprecated
  16. VppDrEvent ingestInvitation(Map<String, Object> body, String source);
  17. /**
  18. * 处理 CreateCqRequest(DN→UN 分拆出清申报前的本地同步,或联调回显)
  19. */
  20. VppDrEvent ingestCreateCqRequest(Map<String, Object> body, String source);
  21. /**
  22. * 处理 CreateOptRequest:optOut 取消事件;optIn 同步 list 申报
  23. */
  24. VppDrEvent ingestCreateOptRequest(Map<String, Object> body, String source);
  25. /**
  26. * 出清公示确认后更新事件状态(配合 CreateEventResponse)
  27. */
  28. VppDrEvent acknowledgeClearingPublicity(String platformEventId, Map<String, Object> body, String source);
  29. }