fix(god):修复清空报表中维护费方法。

This commit is contained in:
徐涛 2022-09-06 18:40:18 +08:00
parent 7be45d3ffc
commit c3324128d0

View File

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