From c3324128d064b7831dc6d835262cda701e98ffcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=B6=9B?= Date: Tue, 6 Sep 2022 18:40:18 +0800 Subject: [PATCH] =?UTF-8?q?fix(god):=E4=BF=AE=E5=A4=8D=E6=B8=85=E7=A9=BA?= =?UTF-8?q?=E6=8A=A5=E8=A1=A8=E4=B8=AD=E7=BB=B4=E6=8A=A4=E8=B4=B9=E6=96=B9?= =?UTF-8?q?=E6=B3=95=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/god_mode.go | 1 + 1 file changed, 1 insertion(+) diff --git a/service/god_mode.go b/service/god_mode.go index 5e8fa32..3de2d29 100644 --- a/service/god_mode.go +++ b/service/god_mode.go @@ -77,6 +77,7 @@ func (_GodModeService) resetReportSummary(tx *xorm.Session, reportId string) (bo func (_GodModeService) flushReportMaintenances(tx *xorm.Session, reportId string) (bool, error) { rows, err := tx. Where(builder.Eq{"report_id": reportId}). + NoAutoCondition(). Delete(new(model.WillDilutedFee)) if err != nil { tx.Rollback()