feat(report):完成待摊薄费用条目的删除功能。

This commit is contained in:
徐涛
2022-08-21 22:18:25 +08:00
parent f7c639cba0
commit bf9cdd8549
2 changed files with 21 additions and 0 deletions

View File

@@ -250,3 +250,8 @@ func (_ReportService) UpdateMaintenanceFee(feeId string, updates map[string]inte
_, err = global.DBConn.Table(new(model.WillDilutedFee)).ID(feeId).Update(updates)
return
}
func (_ReportService) DeleteWillDilutedFee(fee string) (err error) {
_, err = global.DBConn.ID(fee).NoAutoCondition().Delete(new(model.WillDilutedFee))
return
}