feat(report):完成步进报表中待摊薄费用编辑步骤的功能。

This commit is contained in:
徐涛
2022-08-21 22:29:09 +08:00
parent bf9cdd8549
commit 5ea375a2cc
2 changed files with 26 additions and 0 deletions

View File

@@ -255,3 +255,9 @@ func (_ReportService) DeleteWillDilutedFee(fee string) (err error) {
_, err = global.DBConn.ID(fee).NoAutoCondition().Delete(new(model.WillDilutedFee))
return
}
func (_ReportService) ProgressReportWillDilutedFee(report model.Report) (err error) {
report.StepState.WillDiluted = true
_, err = global.DBConn.ID(report.Id).Cols("step_state").Update(report)
return
}