Commit 868a76c7 by guanchen

修复遗留错误数据

parent dfba251b
...@@ -217,3 +217,34 @@ ADD COLUMN `settle_time` datetime(0) NULL COMMENT '结算奖励的时间: 淘宝 ...@@ -217,3 +217,34 @@ ADD COLUMN `settle_time` datetime(0) NULL COMMENT '结算奖励的时间: 淘宝
ALTER TABLE `huhu`.`agent_reward` ALTER TABLE `huhu`.`agent_reward`
ADD COLUMN `settle_time` datetime(0) NULL COMMENT '结算奖励的时间: 淘宝客/京东联盟为确认收货时间, 其他类型奖励同于recharge_time' AFTER `ratio_all`; ADD COLUMN `settle_time` datetime(0) NULL COMMENT '结算奖励的时间: 淘宝客/京东联盟为确认收货时间, 其他类型奖励同于recharge_time' AFTER `ratio_all`;
10月25结算
update agent_reward
set ratio_all='[1,"0.03600000",0.03]'
where settle_time>='2019-09-01 00:00:00'
and ratio_all like '%0.03]'
and ratio_all not like ',0.03]'
and ratio_all='[1,"0.03600000"0.03]';
update agent_reward
set ratio_all='["1","0.27000000","0.01",0.03]'
where settle_time>='2019-09-01 00:00:00'
and ratio_all like '%0.03]'
and ratio_all not like ',0.03]'
and ratio_all='["1","0.27000000","0.01"0.03]';
update agent_reward
set ratio_all='[1,"0.00900000",0.03]'
where settle_time>='2019-09-01 00:00:00'
and ratio_all like '%0.03]'
and ratio_all not like ',0.03]'
and ratio_all='[1,"0.00900000"0.03]';
update agent_reward
set ratio_all='["1","0.04500000","0.01",0.03]'
where settle_time>='2019-09-01 00:00:00'
and ratio_all like '%0.03]'
and ratio_all not like ',0.03]'
and ratio_all='["1","0.04500000","0.01"0.03]';
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