enhance(report):批量导入预置的维护费功能,会提前删除之前导入的内容。

This commit is contained in:
徐涛
2022-08-21 21:31:10 +08:00
parent ea929fd106
commit f7c639cba0
2 changed files with 11 additions and 3 deletions

View File

@@ -291,7 +291,7 @@ func importPredefinedMaintenanceFees(c *gin.Context) {
return *fee
},
)
err = service.ReportService.BatchSaveMaintenanceFee(dilutedFees)
err = service.ReportService.BatchSaveMaintenanceFee(report.Id, dilutedFees)
if err != nil {
result.Error(http.StatusInternalServerError, err.Error())
return