任务描述


调试:

后在数据库数据对比发现以下两种情况:

1、品牌明细的数据的GroupID字段的值与渠道品牌ListID的数据的GroupID不一致导致;


select os.*  from Apx_Brand_OrderSource AS os   where os.CustomerId  =1  and os.OrderSourceId Not in(select  d.OrderSourceId  from Apx_Brand_Detail as d where os.GroupId  = d.GroupId  GROUP BY d.OrderSourceId) group  by os.Id ;


select  * from Apx_Brand_Detail  where   OrderSourceId in(select os.OrderSourceId  from Apx_Brand_OrderSource AS os   where os.CustomerId  =1  and os.OrderSourceId Not in(select  d.OrderSourceId  from Apx_Brand_Detail as d where os.GroupId  = d.GroupId  GROUP BY d.OrderSourceId) group  by os.Id ) order by CreationTime  desc

2、渠道品牌ListID的数据对应的明细压根就没有(占比很小,就几条数据);


select os.*  from Apx_Brand_OrderSource AS os   where os.CustomerId  =1 and os.OrderSourceId Not in(select  d.OrderSourceId  from Apx_Brand_Detail as d GROUP BY d.OrderSourceId) order by os.Id ;




附件
历史记录  
  1. 2022-11-23 21:48:15, 由 huangtiekun 创建。
  2. 2022-11-23 21:48:34, 由 huangtiekun 完成。
    修改了 总计消耗,旧值为 "0",新值为 "1.5"。
    修改了 实际完成,旧值为 "",新值为 "2022-11-23 21:48:28"。
    修改了 任务状态,旧值为 "wait",新值为 "done"。
    修改了 实际开始,旧值为 "0000-00-00 00:00:00",新值为 "2022-11-23 21:48:34"。
    修改了 预计剩余,旧值为 "1.5",新值为 "0"。
    修改了 由谁完成,旧值为 "",新值为 "huangtiekun"。
  3. 2022-11-28 14:59:29, 由 zhengqiao 关闭。
    修改了 任务状态,旧值为 "done",新值为 "closed"。
    修改了 指派给 ,旧值为 "huangtiekun",新值为 "closed"。
    修改了 由谁关闭,旧值为 "",新值为 "zhengqiao"。
    修改了 关闭时间,旧值为 "0000-00-00 00:00:00",新值为 "2022-11-28 14:59:29"。
    修改了 关闭原因,旧值为 "",新值为 "done"。
所属迭代 技术研发中心 11月运维事项(2022年)
所属模块 /
相关需求 暂无
指派给 Closed 于 2022-11-28 14:59:29
任务类型 运维
任务标签 初始
开发组 运营开发组
任务状态 已关闭
进度 100%
优先级 P2
关键词
抄送给
由谁创建 huangtiekun 于 2022-11-23 21:48:15
由谁完成 huangtiekun 于 2022-11-23 21:48:28
由谁取消 暂无
由谁关闭 zhengqiao 于 2022-11-28 14:59:29
关闭原因 已完成
最后编辑 zhengqiao 于 2022-11-28 14:59:29
团队 最初预计 总计消耗 预计剩余
工时信息
最初预计 1.5工时
总计消耗 1.5工时
预计剩余 0工时
预计开始 0000-00-00
实际开始 2022-11-23
截止日期 0000-00-00