feat(report):完成修改指定待摊薄费用信息的功能。

This commit is contained in:
徐涛
2022-08-21 21:12:07 +08:00
parent ef8bd0c617
commit ea929fd106
2 changed files with 30 additions and 0 deletions

View File

@@ -237,3 +237,8 @@ func (_ReportService) BatchSaveMaintenanceFee(fees []model.WillDilutedFee) error
}
return nil
}
func (_ReportService) UpdateMaintenanceFee(feeId string, updates map[string]interface{}) (err error) {
_, err = global.DBConn.Table(new(model.WillDilutedFee)).ID(feeId).Update(updates)
return
}