fix(god):修复清空报表中维护费方法。
This commit is contained in:
parent
7be45d3ffc
commit
c3324128d0
|
@ -77,6 +77,7 @@ func (_GodModeService) resetReportSummary(tx *xorm.Session, reportId string) (bo
|
||||||
func (_GodModeService) flushReportMaintenances(tx *xorm.Session, reportId string) (bool, error) {
|
func (_GodModeService) flushReportMaintenances(tx *xorm.Session, reportId string) (bool, error) {
|
||||||
rows, err := tx.
|
rows, err := tx.
|
||||||
Where(builder.Eq{"report_id": reportId}).
|
Where(builder.Eq{"report_id": reportId}).
|
||||||
|
NoAutoCondition().
|
||||||
Delete(new(model.WillDilutedFee))
|
Delete(new(model.WillDilutedFee))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
tx.Rollback()
|
tx.Rollback()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user