Commit a453fdc1 by zhouminghui

fix

parent 6f5cac08
...@@ -870,7 +870,7 @@ or (is_lend=2 and cost_form=1)) and pay_time>= @start and pay_time< @end "); ...@@ -870,7 +870,7 @@ or (is_lend=2 and cost_form=1)) and pay_time>= @start and pay_time< @end ");
{ {
data = data.Select(x => data = data.Select(x =>
{ {
if (x.platform_type.ToLower() == "wihs") if (x.platform_type.ToLower() == "wish")
{ {
x.original_amount = Math.Abs(x.original_amount) * -1; x.original_amount = Math.Abs(x.original_amount) * -1;
x.total_amount_sales = Math.Abs(x.total_amount_sales) * -1; x.total_amount_sales = Math.Abs(x.total_amount_sales) * -1;
...@@ -1005,7 +1005,7 @@ ON s2.id = s1.order_fee_config_id WHERE s1.month = @month "); ...@@ -1005,7 +1005,7 @@ ON s2.id = s1.order_fee_config_id WHERE s1.month = @month ");
{ {
data = data.Select(x => data = data.Select(x =>
{ {
if (x.PlatForm.ToLower() == "wihs") if (x.PlatForm.ToLower() == "wish")
{ {
x.AmountVal = Math.Abs(x.AmountVal.Value) * -1; x.AmountVal = Math.Abs(x.AmountVal.Value) * -1;
x.AmountValRmb = Math.Abs(x.AmountValRmb.Value) * -1; x.AmountValRmb = Math.Abs(x.AmountValRmb.Value) * -1;
...@@ -1069,7 +1069,7 @@ AND s2.datacenter_col like '%{input.FeeName}' group by s2.platform,s1.website "; ...@@ -1069,7 +1069,7 @@ AND s2.datacenter_col like '%{input.FeeName}' group by s2.platform,s1.website ";
{ {
data = data.Select(x => data = data.Select(x =>
{ {
if (x.platform.ToLower() == "wihs") if (x.platform.ToLower() == "wish")
{ {
x.total = Math.Abs(x.total) * -1; x.total = Math.Abs(x.total) * -1;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment