任务背景:
凤凰计划队列,自动刊登队列 未完成日志信息迁移,需要跟进完成
相关需求:16123 IMS:listing管理页面操作日志增加系统处理数据
任务内容:
1.归档10.27日之前的队列表,凤凰计划队列 表的数据;(当前处理时间,一个月以前的数据)
2.开启从11.20 之后的队列数据合并日志到Listing表(当前处理时间往前推7天 开始算)
3.监控2跑的是否正常,若不能正常跑,打日志跟进调度任务逻辑流程:
调度系统MQ 模式工作逻辑流程:
1.调度任务向配置的MQ消息队列 :exchange.queue 发送 生产消息;
2.调度任务 消费 端消费 MQ:exchange.queue 的消息 + 调用配置的***.Execute()方法,开始执行业务逻辑;
3.执行业务逻辑完成;
4.调度任务执行完成。
--刊登队列表:
delete from ap_autopublish_shopeev2_queue where LastModificationTime < '2023-09-18 00:00:00'
delete from ap_autopublish_kogan_queue where LastModificationTime< '2023-09-18 00:00:00'
delete from ap_autopublish_lazada_queue where LastModificationTime < '2023-09-18 00:00:00'
delete from ap_autopublish_aliexpress_queue where LastModificationTime < '2023-09-18 00:00:00'
delete from ap_autopublish_allegro_queue where LastModificationTime < '2023-09-18 00:00:00'
delete from ap_autopublish_mercadolibre_queue where LastModificationTime< '2023-09-18 00:00:00'
--凤凰计划队列表:
delete from pp_phoenixplan_shopeev2_queue where LastModificationTime< '2023-09-18 00:00:00'
delete from pp_phoenixplan_lazada_queue where LastModificationTime< '2023-09-18 00:00:00'
delete from pp_phoenixplan_kogan_queue where LastModificationTime < '2023-09-18 00:00:00'
delete from pp_phoenixplan_aliexpress_queue where LastModificationTime < '2023-09-18 00:00:00'
delete from pp_phoenixplan_allegro_queue where LastModificationTime< '2023-09-18 00:00:00'
delete from pp_phoenixplan_mercadolibre_queue where LastModificationTime < '2023-09-18 00:00:00'





该任务一直未安排,经过10月23日沟通,任务暂停,待禁售/敏感词需求完成,11月份开始启动,预计验收时间 11月15日
同时逻辑修改为
清理一个月前的队列数据,并且只将最近7天的数据,同步到Listing表中记录!