forked from free-lancers/electricity_bill_calc_service
feat(report):完成修改指定待摊薄费用信息的功能。
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user