业务需求
验收标准
价值描述
10000
历史记录  
  1. 2025-02-14 16:38:20, 由 林很 Bug转化而来,Bug编号为 55420 。
  2. 2025-02-14 16:40:15, 由 林很 编辑。
    修改了 所属计划,旧值为 "",新值为 "1762"。
    修改了 所处阶段,旧值为 "wait",新值为 "planned"。
  3. 2025-02-14 17:49:50, 由 林很 变更。
    修改了 版本号 ,旧值为 "1",新值为 "2"。
    修改了 需求名称,区别为:
    001- 销售买家日报告电源处理器 SQL 太大
    001+ 【性能优化】销售买家日销量报告SQL优化
    001- 销售买家日报告电源处理器 SQL 太大
    001+ 【性能优化】销售买家日销量报告SQL优化
    修改了 需求描述,区别为:
    002- [09:43:42]  -------------------------------------------------------------CODE:N0943422Error:16_8623_1_-2146232060SQL:select tmpfee.SalesDay,tmpfee.OrderSourceID,tmpfee.BusinessAdminID,(cast(tmpfee.SalesYear as varchar)+ N'年' + cast(tmpfee.SalesDay as varchar)+ N'月') as XAxis,CAST(isnull(tmpfee.Profits,0) AS DECIMAL(28,14)) as OperateFee,CAST(isnull(tmpfee.SalesPrice+tmpfee.TransportPay+tmpfee.SalesRefunds+tmpfee.PromotionRebates+tmpfee.OtherCredits+tmpfee.TaxIncome,0) AS DECIMAL(28,14)) as TotalIncome,CAST(isnull(tmpfee.SalesPrice,0) AS DECIMAL(28,14)) as SalesPrice,isnull(tmprest.OrderNum,0) OrderNum,CAST(isnull(tmpfee.TransportPay,0) AS DECIMAL(28,14)) as TransportPay,CAST(isnull(tmpfee.SalesRefunds,0) AS DECIMAL(28,14)) as RefundPrice,CAST(isnull(tmpfee.SalesRefundsV2,0) AS DECIMAL(28,14)) as SalesRefundsV2,CAST(isnull(tmpfee.PromotionRebates,0) AS DECIMAL(28,14)) as PromotionFee,CAST(isnull(tmpfee.OtherCredits,0) AS DECIMAL(28,14)) as OtherIncomeAmount,CAST(isnull(tmpfee.CommisionFee,0) AS DECIMAL(28,14)) as CommissionFee,CAST(isnull(tmpfee.FBATransactionFees,0) AS DECIMAL(28,14)) as FBAOperateFee,CAST(isnull(tmpfee.OrderSourceOtherDebits,0) AS DECIMAL(28,14)) as OrderSourceCost,CAST(isnull(tmpfee.CostOfAdvertising,0) AS DECIMAL(28,14)) as CostOfAdvertising,CAST(isnull(tmpfee.BuyPrice,0) AS DECIMAL(28,14)) as BuyPrice,CAST(isnull(tmpfee.PackageFees,0) AS DECIMAL(28,14)) as PackageShipedPrice,CAST(isnull(tmpfee.OverSeasShipFees,0) AS DECIMAL(28,14)) as OverseaShipPrice,CAST(isnull(tmpfee.FirstLegFees,0) AS DECIMAL(28,14)) as FirstLegPrice,CAST(isnull(tmpfee.TariffFees,0) AS DECIMAL(28,14)) as TraiffPrice,CAST(isnull(tmpfee.ExchangeLost,0) AS DECIMAL(28,14)) as ExchangeLost,CAST(isnull(tmpfee.SalesVatFees,0) AS DECIMAL(28,14)) as SalesVatFees,CAST(isnull(tmpfee.SubsidyPrice,0) AS DECIMAL(28,14)) as SubsidyPrice,CAST(isnull(tmpfee.PackagedCost,0) AS DECIMAL(28,14)) as PackagedCost,CAST(isnull(tmpfee.TaxIncome,0) AS DECIMAL(28,14)) AS TaxIncomefrom (    select datepart(YEAR, ShipDate) SalesYear,    month(ShipDate) SalesDay    ,OrderSourceID    ,BusinessAdminID BusinessAdminID    ,ABS(SUM((CASE WHEN ISNULL(SalesRefunds,0)=0 THEN 0 ELSE ISNULL(SalesRefunds,0)+ISNULL(PromotionRebates,0)+ISNULL(OtherCredits,0)+ISNULL(Tax,0)+ISNULL(MarketplaceFacilitatorTax,0) END))) SalesRefundsV2 ,SUM(Profits) Profits,SUM(SalesPrice) SalesPrice,SUM(TransportPay) TransportPay,SUM(SalesRefunds) SalesRefunds,SUM(PromotionRebates) PromotionRebates,SUM(OtherCredits) OtherCredits ,SUM(CommisionFee) CommisionFee,SUM(FBATransactionFees) FBATransactionFees    ,SUM(OrderSourceOtherDebits) OrderSourceOtherDebits    ,SUM(CostOfAdvertising) CostOfAdvertising    ,SUM((BuyPrice+ISNULL(DistributionPrice,0))) BuyPrice,SUM(PackagedCost) PackagedCost,SUM(PackageFees) PackageFees ,SUM(OverSeasShipFees) OverSeasShipFees,SUM(FirstLegFees) FirstLegFees,SUM(TariffFees) TariffFees,SUM(ExchangeLost) ExchangeLost    ,SUM(ISNULL(SalesVatFee,0)) as SalesVatFees    ,SUM(ISNULL(SubsidyPrice,0)) as SubsidyPrice    ,Sum((ISNULL(Tax,0)+ISNULL(MarketplaceFacilitatorTax,0))) as TaxIncome from RB_Report_OrderSettlement with(nolock)=@StartDate and ShipDate
    002+ [09:43:42] -------------------------------------------------------------CODE:N0943422Error:16_8623_1_-2146232060SQL:select tmpfee.SalesDay,tmpfee.OrderSourceID,tmpfee.BusinessAdminID,(cast(tmpfee.SalesYear as varchar)+ N'年' + cast(tmpfee.SalesDay as varchar)+ N'月') as XAxis,CAST(isnull(tmpfee.Profits,0) AS DECIMAL(28,14)) as OperateFee,CAST(isnull(tmpfee.SalesPrice+tmpfee.TransportPay+tmpfee.SalesRefunds+tmpfee.PromotionRebates+tmpfee.OtherCredits+tmpfee.TaxIncome,0) AS DECIMAL(28,14)) as TotalIncome,CAST(isnull(tmpfee.SalesPrice,0) AS DECIMAL(28,14)) as SalesPrice,isnull(tmprest.OrderNum,0) OrderNum,CAST(isnull(tmpfee.TransportPay,0) AS DECIMAL(28,14)) as TransportPay,CAST(isnull(tmpfee.SalesRefunds,0) AS DECIMAL(28,14)) as RefundPrice,CAST(isnull(tmpfee.SalesRefundsV2,0) AS DECIMAL(28,14)) as SalesRefundsV2,CAST(isnull(tmpfee.PromotionRebates,0) AS DECIMAL(28,14)) as PromotionFee,CAST(isnull(tmpfee.OtherCredits,0) AS DECIMAL(28,14)) as OtherIncomeAmount,CAST(isnull(tmpfee.CommisionFee,0) AS DECIMAL(28,14)) as CommissionFee,CAST(isnull(tmpfee.FBATransactionFees,0) AS DECIMAL(28,14)) as FBAOperateFee,CAST(isnull(tmpfee.OrderSourceOtherDebits,0) AS DECIMAL(28,14)) as OrderSourceCost,CAST(isnull(tmpfee.CostOfAdvertising,0) AS DECIMAL(28,14)) as CostOfAdvertising,CAST(isnull(tmpfee.BuyPrice,0) AS DECIMAL(28,14)) as BuyPrice,CAST(isnull(tmpfee.PackageFees,0) AS DECIMAL(28,14)) as PackageShipedPrice,CAST(isnull(tmpfee.OverSeasShipFees,0) AS DECIMAL(28,14)) as OverseaShipPrice,CAST(isnull(tmpfee.FirstLegFees,0) AS DECIMAL(28,14)) as FirstLegPrice,CAST(isnull(tmpfee.TariffFees,0) AS DECIMAL(28,14)) as TraiffPrice,CAST(isnull(tmpfee.ExchangeLost,0) AS DECIMAL(28,14)) as ExchangeLost,CAST(isnull(tmpfee.SalesVatFees,0) AS DECIMAL(28,14)) as SalesVatFees,CAST(isnull(tmpfee.SubsidyPrice,0) AS DECIMAL(28,14)) as SubsidyPrice,CAST(isnull(tmpfee.PackagedCost,0) AS DECIMAL(28,14)) as PackagedCost,CAST(isnull(tmpfee.TaxIncome,0) AS DECIMAL(28,14)) AS TaxIncomefrom ( select datepart(YEAR, ShipDate) SalesYear, month(ShipDate) SalesDay ,OrderSourceID ,BusinessAdminID BusinessAdminID ,ABS(SUM((CASE WHEN ISNULL(SalesRefunds,0)=0 THEN 0 ELSE ISNULL(SalesRefunds,0)+ISNULL(PromotionRebates,0)+ISNULL(OtherCredits,0)+ISNULL(Tax,0)+ISNULL(MarketplaceFacilitatorTax,0) END))) SalesRefundsV2 ,SUM(Profits) Profits,SUM(SalesPrice) SalesPrice,SUM(TransportPay) TransportPay,SUM(SalesRefunds) SalesRefunds,SUM(PromotionRebates) PromotionRebates,SUM(OtherCredits) OtherCredits ,SUM(CommisionFee) CommisionFee,SUM(FBATransactionFees) FBATransactionFees ,SUM(OrderSourceOtherDebits) OrderSourceOtherDebits ,SUM(CostOfAdvertising) CostOfAdvertising ,SUM((BuyPrice+ISNULL(DistributionPrice,0))) BuyPrice,SUM(PackagedCost) PackagedCost,SUM(PackageFees) PackageFees ,SUM(OverSeasShipFees) OverSeasShipFees,SUM(FirstLegFees) FirstLegFees,SUM(TariffFees) TariffFees,SUM(ExchangeLost) ExchangeLost ,SUM(ISNULL(SalesVatFee,0)) as SalesVatFees ,SUM(ISNULL(SubsidyPrice,0)) as SubsidyPrice ,Sum((ISNULL(Tax,0)+ISNULL(MarketplaceFacilitatorTax,0))) as TaxIncome from RB_Report_OrderSettlement with(nolock)=@StartDate and ShipDate
    002- <br /><br />[09:43:42]  -------------------------------------------------------------<br />CODE:N0943422<br />Error:16_8623_1_-2146232060<br />SQL:select <br />tmpfee.SalesDay<br />,tmpfee.OrderSourceID<br />,tmpfee.BusinessAdminID<br />,(cast(tmpfee.SalesYear as varchar)+ N'年' + cast(tmpfee.SalesDay as varchar)+ N'月') as XAxis<br />,CAST(isnull(tmpfee.Profits,0) AS DECIMAL(28,14)) as OperateFee<br />,CAST(isnull(tmpfee.SalesPrice+tmpfee.TransportPay+tmpfee.SalesRefunds+tmpfee.PromotionRebates+tmpfee.OtherCredits+tmpfee.TaxIncome,0) AS DECIMAL(28,14)) as TotalIncome<br />,CAST(isnull(tmpfee.SalesPrice,0) AS DECIMAL(28,14)) as SalesPrice<br />,isnull(tmprest.OrderNum,0) OrderNum<br />,CAST(isnull(tmpfee.TransportPay,0) AS DECIMAL(28,14)) as TransportPay<br />,CAST(isnull(tmpfee.SalesRefunds,0) AS DECIMAL(28,14)) as RefundPrice<br />,CAST(isnull(tmpfee.SalesRefundsV2,0) AS DECIMAL(28,14)) as SalesRefundsV2<br />,CAST(isnull(tmpfee.PromotionRebates,0) AS DECIMAL(28,14)) as PromotionFee<br />,CAST(isnull(tmpfee.OtherCredits,0) AS DECIMAL(28,14)) as OtherIncomeAmount<br />,CAST(isnull(tmpfee.CommisionFee,0) AS DECIMAL(28,14)) as CommissionFee<br />,CAST(isnull(tmpfee.FBATransactionFees,0) AS DECIMAL(28,14)) as FBAOperateFee<br />,CAST(isnull(tmpfee.OrderSourceOtherDebits,0) AS DECIMAL(28,14)) as OrderSourceCost<br />,CAST(isnull(tmpfee.CostOfAdvertising,0) AS DECIMAL(28,14)) as CostOfAdvertising<br />,CAST(isnull(tmpfee.BuyPrice,0) AS DECIMAL(28,14)) as BuyPrice<br />,CAST(isnull(tmpfee.PackageFees,0) AS DECIMAL(28,14)) as PackageShipedPrice<br />,CAST(isnull(tmpfee.OverSeasShipFees,0) AS DECIMAL(28,14)) as OverseaShipPrice<br />,CAST(isnull(tmpfee.FirstLegFees,0) AS DECIMAL(28,14)) as FirstLegPrice<br />,CAST(isnull(tmpfee.TariffFees,0) AS DECIMAL(28,14)) as TraiffPrice<br />,CAST(isnull(tmpfee.ExchangeLost,0) AS DECIMAL(28,14)) as ExchangeLost<br />,CAST(isnull(tmpfee.SalesVatFees,0) AS DECIMAL(28,14)) as SalesVatFees<br />,CAST(isnull(tmpfee.SubsidyPrice,0) AS DECIMAL(28,14)) as SubsidyPrice<br />,CAST(isnull(tmpfee.PackagedCost,0) AS DECIMAL(28,14)) as PackagedCost<br />,CAST(isnull(tmpfee.TaxIncome,0) AS DECIMAL(28,14)) AS TaxIncome<br />from <br />(<br />    select datepart(YEAR, ShipDate) SalesYear,<br />    month(ShipDate) SalesDay<br />    ,OrderSourceID<br />    ,BusinessAdminID BusinessAdminID<br />    ,ABS(SUM((CASE WHEN ISNULL(SalesRefunds,0)=0 THEN 0 ELSE ISNULL(SalesRefunds,0)+ISNULL(PromotionRebates,0)+ISNULL(OtherCredits,0)+ISNULL(Tax,0)+ISNULL(MarketplaceFacilitatorTax,0) END))) SalesRefundsV2<br /> ,SUM(Profits) Profits,SUM(SalesPrice) SalesPrice,SUM(TransportPay) TransportPay,SUM(SalesRefunds) SalesRefunds,SUM(PromotionRebates) PromotionRebates,SUM(OtherCredits) OtherCredits<br /> ,SUM(CommisionFee) CommisionFee,SUM(FBATransactionFees) FBATransactionFees<br />    ,SUM(OrderSourceOtherDebits) OrderSourceOtherDebits<br />    ,SUM(CostOfAdvertising) CostOfAdvertising<br />    ,SUM((BuyPrice+ISNULL(DistributionPrice,0))) BuyPrice,SUM(PackagedCost) PackagedCost,SUM(PackageFees) PackageFees<br /> ,SUM(OverSeasShipFees) OverSeasShipFees,SUM(FirstLegFees) FirstLegFees,SUM(TariffFees) TariffFees,SUM(ExchangeLost) ExchangeLost<br />    ,SUM(ISNULL(SalesVatFee,0)) as SalesVatFees<br />    ,SUM(ISNULL(SubsidyPrice,0)) as SubsidyPrice<br />    ,Sum((ISNULL(Tax,0)+ISNULL(MarketplaceFacilitatorTax,0))) as TaxIncome<br /> from RB_Report_OrderSettlement with(nolock)<br />=@StartDate and ShipDate
    002+ <br /><br />[09:43:42] -------------------------------------------------------------<br />CODE:N0943422<br />Error:16_8623_1_-2146232060<br />SQL:select <br />tmpfee.SalesDay<br />,tmpfee.OrderSourceID<br />,tmpfee.BusinessAdminID<br />,(cast(tmpfee.SalesYear as varchar)+ N'年' + cast(tmpfee.SalesDay as varchar)+ N'月') as XAxis<br />,CAST(isnull(tmpfee.Profits,0) AS DECIMAL(28,14)) as OperateFee<br />,CAST(isnull(tmpfee.SalesPrice+tmpfee.TransportPay+tmpfee.SalesRefunds+tmpfee.PromotionRebates+tmpfee.OtherCredits+tmpfee.TaxIncome,0) AS DECIMAL(28,14)) as TotalIncome<br />,CAST(isnull(tmpfee.SalesPrice,0) AS DECIMAL(28,14)) as SalesPrice<br />,isnull(tmprest.OrderNum,0) OrderNum<br />,CAST(isnull(tmpfee.TransportPay,0) AS DECIMAL(28,14)) as TransportPay<br />,CAST(isnull(tmpfee.SalesRefunds,0) AS DECIMAL(28,14)) as RefundPrice<br />,CAST(isnull(tmpfee.SalesRefundsV2,0) AS DECIMAL(28,14)) as SalesRefundsV2<br />,CAST(isnull(tmpfee.PromotionRebates,0) AS DECIMAL(28,14)) as PromotionFee<br />,CAST(isnull(tmpfee.OtherCredits,0) AS DECIMAL(28,14)) as OtherIncomeAmount<br />,CAST(isnull(tmpfee.CommisionFee,0) AS DECIMAL(28,14)) as CommissionFee<br />,CAST(isnull(tmpfee.FBATransactionFees,0) AS DECIMAL(28,14)) as FBAOperateFee<br />,CAST(isnull(tmpfee.OrderSourceOtherDebits,0) AS DECIMAL(28,14)) as OrderSourceCost<br />,CAST(isnull(tmpfee.CostOfAdvertising,0) AS DECIMAL(28,14)) as CostOfAdvertising<br />,CAST(isnull(tmpfee.BuyPrice,0) AS DECIMAL(28,14)) as BuyPrice<br />,CAST(isnull(tmpfee.PackageFees,0) AS DECIMAL(28,14)) as PackageShipedPrice<br />,CAST(isnull(tmpfee.OverSeasShipFees,0) AS DECIMAL(28,14)) as OverseaShipPrice<br />,CAST(isnull(tmpfee.FirstLegFees,0) AS DECIMAL(28,14)) as FirstLegPrice<br />,CAST(isnull(tmpfee.TariffFees,0) AS DECIMAL(28,14)) as TraiffPrice<br />,CAST(isnull(tmpfee.ExchangeLost,0) AS DECIMAL(28,14)) as ExchangeLost<br />,CAST(isnull(tmpfee.SalesVatFees,0) AS DECIMAL(28,14)) as SalesVatFees<br />,CAST(isnull(tmpfee.SubsidyPrice,0) AS DECIMAL(28,14)) as SubsidyPrice<br />,CAST(isnull(tmpfee.PackagedCost,0) AS DECIMAL(28,14)) as PackagedCost<br />,CAST(isnull(tmpfee.TaxIncome,0) AS DECIMAL(28,14)) AS TaxIncome<br />from <br />(<br /> select datepart(YEAR, ShipDate) SalesYear,<br /> month(ShipDate) SalesDay<br /> ,OrderSourceID<br /> ,BusinessAdminID BusinessAdminID<br /> ,ABS(SUM((CASE WHEN ISNULL(SalesRefunds,0)=0 THEN 0 ELSE ISNULL(SalesRefunds,0)+ISNULL(PromotionRebates,0)+ISNULL(OtherCredits,0)+ISNULL(Tax,0)+ISNULL(MarketplaceFacilitatorTax,0) END))) SalesRefundsV2<br /> ,SUM(Profits) Profits,SUM(SalesPrice) SalesPrice,SUM(TransportPay) TransportPay,SUM(SalesRefunds) SalesRefunds,SUM(PromotionRebates) PromotionRebates,SUM(OtherCredits) OtherCredits<br /> ,SUM(CommisionFee) CommisionFee,SUM(FBATransactionFees) FBATransactionFees<br /> ,SUM(OrderSourceOtherDebits) OrderSourceOtherDebits<br /> ,SUM(CostOfAdvertising) CostOfAdvertising<br /> ,SUM((BuyPrice+ISNULL(DistributionPrice,0))) BuyPrice,SUM(PackagedCost) PackagedCost,SUM(PackageFees) PackageFees<br /> ,SUM(OverSeasShipFees) OverSeasShipFees,SUM(FirstLegFees) FirstLegFees,SUM(TariffFees) TariffFees,SUM(ExchangeLost) ExchangeLost<br /> ,SUM(ISNULL(SalesVatFee,0)) as SalesVatFees<br /> ,SUM(ISNULL(SubsidyPrice,0)) as SubsidyPrice<br /> ,Sum((ISNULL(Tax,0)+ISNULL(MarketplaceFacilitatorTax,0))) as TaxIncome<br /> from RB_Report_OrderSettlement with(nolock)<br />=@StartDate and ShipDate
  4. 2025-02-14 18:12:10, 由 林很 变更。
    修改了 版本号 ,旧值为 "2",新值为 "3"。
    修改了 需求描述,区别为:
    001- [步骤]
    001+ <a href="https://alidocs.dingtalk.com/i/nodes/Qnp9zOoBVBZjqO74S4ALKa20V1DK0g6l">https://alidocs.dingtalk.com/i/nodes/Qnp9zOoBVBZjqO74S4ALKa20V1DK0g6l
    002- [09:43:42] -------------------------------------------------------------CODE:N0943422Error:16_8623_1_-2146232060SQL:select tmpfee.SalesDay,tmpfee.OrderSourceID,tmpfee.BusinessAdminID,(cast(tmpfee.SalesYear as varchar)+ N'年' + cast(tmpfee.SalesDay as varchar)+ N'月') as XAxis,CAST(isnull(tmpfee.Profits,0) AS DECIMAL(28,14)) as OperateFee,CAST(isnull(tmpfee.SalesPrice+tmpfee.TransportPay+tmpfee.SalesRefunds+tmpfee.PromotionRebates+tmpfee.OtherCredits+tmpfee.TaxIncome,0) AS DECIMAL(28,14)) as TotalIncome,CAST(isnull(tmpfee.SalesPrice,0) AS DECIMAL(28,14)) as SalesPrice,isnull(tmprest.OrderNum,0) OrderNum,CAST(isnull(tmpfee.TransportPay,0) AS DECIMAL(28,14)) as TransportPay,CAST(isnull(tmpfee.SalesRefunds,0) AS DECIMAL(28,14)) as RefundPrice,CAST(isnull(tmpfee.SalesRefundsV2,0) AS DECIMAL(28,14)) as SalesRefundsV2,CAST(isnull(tmpfee.PromotionRebates,0) AS DECIMAL(28,14)) as PromotionFee,CAST(isnull(tmpfee.OtherCredits,0) AS DECIMAL(28,14)) as OtherIncomeAmount,CAST(isnull(tmpfee.CommisionFee,0) AS DECIMAL(28,14)) as CommissionFee,CAST(isnull(tmpfee.FBATransactionFees,0) AS DECIMAL(28,14)) as FBAOperateFee,CAST(isnull(tmpfee.OrderSourceOtherDebits,0) AS DECIMAL(28,14)) as OrderSourceCost,CAST(isnull(tmpfee.CostOfAdvertising,0) AS DECIMAL(28,14)) as CostOfAdvertising,CAST(isnull(tmpfee.BuyPrice,0) AS DECIMAL(28,14)) as BuyPrice,CAST(isnull(tmpfee.PackageFees,0) AS DECIMAL(28,14)) as PackageShipedPrice,CAST(isnull(tmpfee.OverSeasShipFees,0) AS DECIMAL(28,14)) as OverseaShipPrice,CAST(isnull(tmpfee.FirstLegFees,0) AS DECIMAL(28,14)) as FirstLegPrice,CAST(isnull(tmpfee.TariffFees,0) AS DECIMAL(28,14)) as TraiffPrice,CAST(isnull(tmpfee.ExchangeLost,0) AS DECIMAL(28,14)) as ExchangeLost,CAST(isnull(tmpfee.SalesVatFees,0) AS DECIMAL(28,14)) as SalesVatFees,CAST(isnull(tmpfee.SubsidyPrice,0) AS DECIMAL(28,14)) as SubsidyPrice,CAST(isnull(tmpfee.PackagedCost,0) AS DECIMAL(28,14)) as PackagedCost,CAST(isnull(tmpfee.TaxIncome,0) AS DECIMAL(28,14)) AS TaxIncomefrom ( select datepart(YEAR, ShipDate) SalesYear, month(ShipDate) SalesDay ,OrderSourceID ,BusinessAdminID BusinessAdminID ,ABS(SUM((CASE WHEN ISNULL(SalesRefunds,0)=0 THEN 0 ELSE ISNULL(SalesRefunds,0)+ISNULL(PromotionRebates,0)+ISNULL(OtherCredits,0)+ISNULL(Tax,0)+ISNULL(MarketplaceFacilitatorTax,0) END))) SalesRefundsV2 ,SUM(Profits) Profits,SUM(SalesPrice) SalesPrice,SUM(TransportPay) TransportPay,SUM(SalesRefunds) SalesRefunds,SUM(PromotionRebates) PromotionRebates,SUM(OtherCredits) OtherCredits ,SUM(CommisionFee) CommisionFee,SUM(FBATransactionFees) FBATransactionFees ,SUM(OrderSourceOtherDebits) OrderSourceOtherDebits ,SUM(CostOfAdvertising) CostOfAdvertising ,SUM((BuyPrice+ISNULL(DistributionPrice,0))) BuyPrice,SUM(PackagedCost) PackagedCost,SUM(PackageFees) PackageFees ,SUM(OverSeasShipFees) OverSeasShipFees,SUM(FirstLegFees) FirstLegFees,SUM(TariffFees) TariffFees,SUM(ExchangeLost) ExchangeLost ,SUM(ISNULL(SalesVatFee,0)) as SalesVatFees ,SUM(ISNULL(SubsidyPrice,0)) as SubsidyPrice ,Sum((ISNULL(Tax,0)+ISNULL(MarketplaceFacilitatorTax,0))) as TaxIncome from RB_Report_OrderSettlement with(nolock)=@StartDate and ShipDate
    001- <p>[步骤]</p>
    001+ <p><a href="https://alidocs.dingtalk.com/i/nodes/Qnp9zOoBVBZjqO74S4ALKa20V1DK0g6l">https://alidocs.dingtalk.com/i/nodes/Qnp9zOoBVBZjqO74S4ALKa20V1DK0g6l</a></p>
    002- <br /><br />[09:43:42] -------------------------------------------------------------<br />CODE:N0943422<br />Error:16_8623_1_-2146232060<br />SQL:select <br />tmpfee.SalesDay<br />,tmpfee.OrderSourceID<br />,tmpfee.BusinessAdminID<br />,(cast(tmpfee.SalesYear as varchar)+ N'年' + cast(tmpfee.SalesDay as varchar)+ N'月') as XAxis<br />,CAST(isnull(tmpfee.Profits,0) AS DECIMAL(28,14)) as OperateFee<br />,CAST(isnull(tmpfee.SalesPrice+tmpfee.TransportPay+tmpfee.SalesRefunds+tmpfee.PromotionRebates+tmpfee.OtherCredits+tmpfee.TaxIncome,0) AS DECIMAL(28,14)) as TotalIncome<br />,CAST(isnull(tmpfee.SalesPrice,0) AS DECIMAL(28,14)) as SalesPrice<br />,isnull(tmprest.OrderNum,0) OrderNum<br />,CAST(isnull(tmpfee.TransportPay,0) AS DECIMAL(28,14)) as TransportPay<br />,CAST(isnull(tmpfee.SalesRefunds,0) AS DECIMAL(28,14)) as RefundPrice<br />,CAST(isnull(tmpfee.SalesRefundsV2,0) AS DECIMAL(28,14)) as SalesRefundsV2<br />,CAST(isnull(tmpfee.PromotionRebates,0) AS DECIMAL(28,14)) as PromotionFee<br />,CAST(isnull(tmpfee.OtherCredits,0) AS DECIMAL(28,14)) as OtherIncomeAmount<br />,CAST(isnull(tmpfee.CommisionFee,0) AS DECIMAL(28,14)) as CommissionFee<br />,CAST(isnull(tmpfee.FBATransactionFees,0) AS DECIMAL(28,14)) as FBAOperateFee<br />,CAST(isnull(tmpfee.OrderSourceOtherDebits,0) AS DECIMAL(28,14)) as OrderSourceCost<br />,CAST(isnull(tmpfee.CostOfAdvertising,0) AS DECIMAL(28,14)) as CostOfAdvertising<br />,CAST(isnull(tmpfee.BuyPrice,0) AS DECIMAL(28,14)) as BuyPrice<br />,CAST(isnull(tmpfee.PackageFees,0) AS DECIMAL(28,14)) as PackageShipedPrice<br />,CAST(isnull(tmpfee.OverSeasShipFees,0) AS DECIMAL(28,14)) as OverseaShipPrice<br />,CAST(isnull(tmpfee.FirstLegFees,0) AS DECIMAL(28,14)) as FirstLegPrice<br />,CAST(isnull(tmpfee.TariffFees,0) AS DECIMAL(28,14)) as TraiffPrice<br />,CAST(isnull(tmpfee.ExchangeLost,0) AS DECIMAL(28,14)) as ExchangeLost<br />,CAST(isnull(tmpfee.SalesVatFees,0) AS DECIMAL(28,14)) as SalesVatFees<br />,CAST(isnull(tmpfee.SubsidyPrice,0) AS DECIMAL(28,14)) as SubsidyPrice<br />,CAST(isnull(tmpfee.PackagedCost,0) AS DECIMAL(28,14)) as PackagedCost<br />,CAST(isnull(tmpfee.TaxIncome,0) AS DECIMAL(28,14)) AS TaxIncome<br />from <br />(<br /> select datepart(YEAR, ShipDate) SalesYear,<br /> month(ShipDate) SalesDay<br /> ,OrderSourceID<br /> ,BusinessAdminID BusinessAdminID<br /> ,ABS(SUM((CASE WHEN ISNULL(SalesRefunds,0)=0 THEN 0 ELSE ISNULL(SalesRefunds,0)+ISNULL(PromotionRebates,0)+ISNULL(OtherCredits,0)+ISNULL(Tax,0)+ISNULL(MarketplaceFacilitatorTax,0) END))) SalesRefundsV2<br /> ,SUM(Profits) Profits,SUM(SalesPrice) SalesPrice,SUM(TransportPay) TransportPay,SUM(SalesRefunds) SalesRefunds,SUM(PromotionRebates) PromotionRebates,SUM(OtherCredits) OtherCredits<br /> ,SUM(CommisionFee) CommisionFee,SUM(FBATransactionFees) FBATransactionFees<br /> ,SUM(OrderSourceOtherDebits) OrderSourceOtherDebits<br /> ,SUM(CostOfAdvertising) CostOfAdvertising<br /> ,SUM((BuyPrice+ISNULL(DistributionPrice,0))) BuyPrice,SUM(PackagedCost) PackagedCost,SUM(PackageFees) PackageFees<br /> ,SUM(OverSeasShipFees) OverSeasShipFees,SUM(FirstLegFees) FirstLegFees,SUM(TariffFees) TariffFees,SUM(ExchangeLost) ExchangeLost<br /> ,SUM(ISNULL(SalesVatFee,0)) as SalesVatFees<br /> ,SUM(ISNULL(SubsidyPrice,0)) as SubsidyPrice<br /> ,Sum((ISNULL(Tax,0)+ISNULL(MarketplaceFacilitatorTax,0))) as TaxIncome<br /> from RB_Report_OrderSettlement with(nolock)<br />=@StartDate and ShipDate
  5. 2025-02-14 18:12:54, 由 林很 变更。
    修改了 版本号 ,旧值为 "3",新值为 "4"。
    修改了 需求名称,区别为:
    001- 【性能优化】销售买家日销量报告SQL优化
    001+ 【性能优化】销售人员V2报告SQL优化
    001- 【性能优化】销售买家日销量报告SQL优化
    001+ 【性能优化】销售人员V2报告SQL优化
  6. 2025-02-14 18:31:46, 由 林很 变更。
    修改了 版本号 ,旧值为 "4",新值为 "5"。
    修改了 需求名称,区别为:
    001- 【性能优化】销售人员V2报告SQL优化
    001+ 【性能优化】销售人员V2拆分仓储字段改为独立表来查询
    001- 【性能优化】销售人员V2报告SQL优化
    001+ 【性能优化】销售人员V2拆分仓储字段改为独立表来查询
  7. 2025-02-18 14:01:21, 由 林很 编辑。
    修改了 指派给,旧值为 "lihuiyun",新值为 "xuruifeng"。
  8. 2025-02-20 15:27:29, 由 何智军 记录评审结果,结果为 确认通过。
  9. 2025-02-20 15:40:03, 由 周杰 编辑。
    修改了 预计工时,旧值为 "12",新值为 "3"。
    修改了 ROI ,旧值为 "10.00",新值为 "40"。
    修改了 成本 ,旧值为 "6000",新值为 "1500"。
  10. 2025-02-20 15:40:20, 由 周杰 关联到迭代 主干_3月V1版本_20250304 。
  11. 2025-02-20 17:06:53, 由 周杰 编辑。
    修改了 计划验收时间,旧值为 "0000-00-00",新值为 "2025-03-07"。
  12. 2025-02-24 17:59:03, 由 曾倩 编辑。
  13. 2025-02-26 09:23:27, 由 李乐同 编辑。
    修改了 所处阶段 ,旧值为 "projected",新值为 "developed"。
    修改了 设置阶段者,旧值为 "zhoujie",新值为 "liletong"。
  14. 2025-03-04 20:25:16, 由 曾倩 编辑。
    修改了 所处阶段 ,旧值为 "tested",新值为 "released"。
    修改了 设置阶段者,旧值为 "",新值为 "zengqian"。
  15. 2025-03-04 20:34:38, 由 周杰 编辑。
    修改了 所处阶段 ,旧值为 "released",新值为 "bepending"。
    修改了 设置阶段者,旧值为 "zengqian",新值为 "zhoujie"。
  16. 2025-03-07 10:09:42, 由 许瑞丰 编辑。
    修改了 所处阶段,旧值为 "业务验收中",新值为 "业务验收通过"。
    功能验收:验收通过
    满意度:满意
    价值验收:基本达成
    原因备注:无
  17. 2025-03-07 14:09:15, 由 周杰 关闭,原因为 已完成 。
    修改了 由谁关闭,旧值为 "",新值为 "zhoujie"。
    修改了 关闭日期,旧值为 "0000-00-00 00:00:00",新值为 "2025-03-07 14:09:15"。
    修改了 指派给 ,旧值为 "hezhijun",新值为 "closed"。
    修改了 当前状态,旧值为 "active",新值为 "closed"。
    修改了 所处阶段,旧值为 "verified",新值为 "closed"。
    修改了 关闭原因,旧值为 "",新值为 "done"。
  18. 2025-09-02 17:11:53, 由 许瑞丰 编辑。
    修改了 业务回填价值,旧值为 "0",新值为 "10000"。
    修改了 actualAchieveDesc ,旧值为 "",新值为 "基本达成预期效果"。
迭代版本
提报业务部门 技术研发中心
提报人员 林很
需求来源 bug转需求
所属项目 技术中心-需求池
所属模块 财务   财务管理
所属计划
业务价值
开发组 财务开发组
受益业务部门 技术研发中心
验收人员 许瑞丰
业务目标类型
中心业务目标
业务价值 控制风险
每月价值量 10000
每月节省人数 0
优先级 P2
价值类型 长期价值
预计工时 3
成本 250
ROI 40.00
操作手册 否
高价值
主被动
复杂度
工作流ID
工作流创建时间
更新点
是否高危 否
评分
当前状态 已关闭
所处阶段 已关闭
关键词
评审次数 一次
计划上线
上线时间 2025-03-04
计划验收时间 2025-03-07
业务验收时间 2025-03-07 10:09:42
满意度 满意
价值验收 基本达成
满意度分值 80
业务回填价值 10000
验收达成价值 48000.0
验收达成ROI 32.0
抄送给 袁慧斌  
由谁创建 林很 于 2025-02-14 16:38:19
指派给 Closed 于 2025-03-07 14:09:15
由谁评审 何智军
评审时间 2025-02-20
由谁关闭 周杰 于 2025-03-07 14:09:15
关闭原因 已完成
最后修改 周杰 于 2025-03-07 14:09:15
来源Bug
相关Bug
相关用例
相关需求
细分需求