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