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()