任务描述
SELECT
    l.*
FROM
    (
    SELECT
        `CustomerId` AS `CustomerId`,
        `Sku` AS `Sku`
    FROM
        `P_Product`
    WHERE
        ((((
                        `CustomerId` = 1
                        )
                    AND (
                    `RiskInfringement` IN ( 2, 3 ))
                    )
                AND ( `StartBatch` >= 0 ))
        AND ( `StartBatch` <= 200 ))
    ) p
    INNER JOIN (
    SELECT
        `Id`,
        `CustomerId`,
        `OrderSourceId`,
        `SiteCode`,
        `ProductId`,
        `Name`,
        `MainImage`,
        `Type`,
        `IsMain`,
        `CategoryName`,
        `Brand`,
        `Gtin`,
        `Upc`,
        `SellerSku`,
        `Price`,
        `Msrp`,
        `Inventory`,
        `Quantity`,
        `BuyBoxShippingFee`,
        `BuyBoxPrice`,
        `Weight`,
        `Currency`,
        `StatusChangeReason`,
        `LifeCycleStatus`,
        `PublishStatus`,
        `LocalStatus`,
        `ShipMethods`,
        `Wpid`,
        `ShelfName`,
        `PrimaryCatPath`,
        `OfferStartDate`,
        `OfferEndDate`,
        `ItemCreationDate`,
        `ItemLastUpdated`,
        `Url`,
        `ReviewsCount`,
        `AverageRating`,
        `IsSearchable`,
        `CompetitorUrl`,
        `CompetitorPrice`,
        `CompetitorShipPrice`,
        `CompetitorLastDateFetched`,
        `ProductTaxCode`,
        `ShippingWeightUnit`,
        `FulfillmentType`,
        `Sku`,
        `CustomSku`,
        `ProductIdType`,
        `VariantGroupId`,
        `FulfillmentLagTime`,
        `FloorPrice`,
        `PricePerUnitQuantity`,
        `PricePerUnitUom`,
        `ElectronicsIndicator`,
        `BatteryTechnologyType`,
        `ChemicalAerosolPesticide`,
        `MultipackQuantity`,
        `ShipsInOriginalPackaging`,
        `StartDate`,
        `EndDate`,
        `MustShipAlone`,
        `ProductIdUpdate`,
        `SkuUpdate`,
        `SwatchVariantAttribute`,
        `SwatchImageUrl`,
        `FulfillmentLagType`,
        `IsDeleted`,
        `ChangeStatus`,
        `PublishTime`,
        `UnPublishTime`,
        `AutoPublishStrategyId`,
        `AutoPublishTime`,
        `IsAutoPublish`,
        `RePublishStrategyId`,
        `RePublishTime`,
        `AutoUnPublishStrategyId`,
        `AutoUnPublishTime`,
        `AutoAdjustPriceStrategyId`,
        `AutoAdjustPriceTime`,
        `AutoPromotionStrategyId`,
        `AutoPromotionTime`,
        `LastPhoenixPlanStrategyType`,
        `OnlineStatus`,
        `BuyBoxEligible`,
        `WFSSalesRestriction`,
        `PrimaryVariant`,
        `VariantGroupingValues`,
        `RepricerStrategy`,
        `MinimumSellerAllowedPrice`,
        `MaximumSellerAllowedPrice`,
        `RepricerStatus`,
        `ShipNodeID`,
        `ShipNodeName`,
        `LastModifierId`,
        `LastModifier`,
        `LastModificationTime`,
        `CreatorId`,
        `Creator`,
        `CreationTime`
    FROM
        `M_Walmart_Listing`
    WHERE
        ((((((
                                `CustomerId` = 1
                                )
                            AND NOT ( `Sku` IS NULL OR `Sku` = '' ))
                        AND (
                        `OrderSourceId` IN ( 11623 ))
                        )
                    AND (
                    `OrderSourceId` IN ( 11623 ))
                    )
                AND (
                `OnlineStatus` IN ( 1 ))
                )
            AND (
            ( CASE WHEN ( `IsAutoPublish` = 1 ) THEN 1 ELSE 0 END ) IN ( 1, 0 ))
        )
        ) l ON ((
            `p`.`CustomerId` = `l`.`CustomerId`
        )
    AND ( `p`.`Sku` = `l`.`Sku` ))
ORDER BY
    `l`.`Id` DESC
    LIMIT 0,
    100;
需求描述
业务背景

1)业务方临时数据处理、统计、导出等无法得到及时帮助

2)生产问题排查排期周期过长


业务文档

https://alidocs.dingtalk.com/i/nodes/mExel2BLV541nqKkSZX5MzAlWgk9rpMq?utm_scene=team_space


验收标准

及时响应业务问题并处理妥善,保持系统稳定性

历史记录  
  1. 2023-12-27 10:57:27, 由 韦思成 创建。
  2. 2023-12-27 16:00:19, 由 韦思成 编辑。
    修改了 所属模块,旧值为 "1845",新值为 "0"。
    修改了 指派给 ,旧值为 "weisicheng",新值为 "zhusiwen"。
    修改了 预计开始,旧值为 "2023-12-27",新值为 "2023-12-28"。
  3. 2023-12-28 19:41:50, 由 朱思文 编辑。
    修改了 相关需求,旧值为 "0",新值为 "18362"。
    修改了 需求版本,旧值为 "1",新值为 "2"。
  4. 2024-01-02 19:43:40, 由 朱思文 启动。
    修改了 实际开始,旧值为 "0000-00-00 00:00:00",新值为 "2024-01-02 19:43:02"。
    修改了 总计消耗,旧值为 "0",新值为 "1"。
    修改了 任务状态,旧值为 "wait",新值为 "doing"。

    1.修改沃尔玛凤凰计划接口,添加强制索引

  5. 2024-01-02 19:44:05, 由 朱思文 完成。
    修改了 总计消耗,旧值为 "1",新值为 "1.5"。
    修改了 指派给 ,旧值为 "zhusiwen",新值为 "weisicheng"。
    修改了 实际完成,旧值为 "",新值为 "2024-01-02 19:44:02"。
    修改了 任务状态,旧值为 "doing",新值为 "done"。
    修改了 预计剩余,旧值为 "1.5",新值为 "0"。
    修改了 由谁完成,旧值为 "",新值为 "zhusiwen"。
  6. 2024-01-02 21:13:32, 由 韦思成 编辑。
    修改了 指派给,旧值为 "weisicheng",新值为 "wangxiangyu"。
  7. 2024-01-24 10:18:00, 由 周杰 关闭。
    修改了 任务状态,旧值为 "done",新值为 "closed"。
    修改了 指派给 ,旧值为 "wangxiangyu",新值为 "closed"。
    修改了 由谁关闭,旧值为 "",新值为 "zhoujie"。
    修改了 关闭时间,旧值为 "0000-00-00 00:00:00",新值为 "2024-01-24 10:18:00"。
    修改了 关闭原因,旧值为 "",新值为 "done"。
所属迭代 主干 1月运维事项(2024年)
所属模块 /
相关需求 IMS:20240109营销开发组-MTP运维需求
指派给 Closed 于 2024-01-24 10:18:00
任务类型 运维
任务标签 初始
开发组 运营开发组
任务状态 已关闭
进度 100%
优先级 P2
关键词
抄送给
由谁创建 韦思成 于 2023-12-27 10:57:27
由谁完成 朱思文 于 2024-01-02 19:44:02
由谁取消 暂无
由谁关闭 周杰 于 2024-01-24 10:18:00
关闭原因 已完成
最后编辑 周杰 于 2024-01-24 10:18:00
团队 最初预计 总计消耗 预计剩余
工时信息
最初预计 1.5工时
总计消耗 1.5工时
预计剩余 0工时
预计开始 2023-12-28
实际开始 2024-01-02
截止日期 2024-01-03