From 96d78533bab3bd47fff99341be6d4cafd56931f4 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Mon, 22 Aug 2022 18:36:25 +0800 Subject: [PATCH] =?UTF-8?q?add=20reverse:for=20v1.8.9=20=E5=85=AC=E6=8E=92?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=8A=B6=E6=80=81=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rule/public_platoon_relate_commission.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rule/public_platoon_relate_commission.go b/rule/public_platoon_relate_commission.go index 52a30cc..edaaeb0 100644 --- a/rule/public_platoon_relate_commission.go +++ b/rule/public_platoon_relate_commission.go @@ -247,7 +247,7 @@ func UpdateWaitForSettlementDate(engine *xorm.Engine, userIds []string) (err err settleDay = userPublicPlatoonSetting.SettleDay } //Todo:: 将 user_public_platoon_relation 中 wait_for_settlement_date 设置为 30天后 - sql := "update user_public_platoon_amount set wait_for_settlement_date = ? where uid in (" + strings.Join(userIds, ",") + ")" + sql := "update user_public_platoon_relation set wait_for_settlement_date = ? where uid in (" + strings.Join(userIds, ",") + ")" waitForSettlementDate := time.Now().AddDate(0, 0, settleDay).Format("2006-01-02") _, err = engine.Exec(sql, waitForSettlementDate) if err != nil {