From b09b3f4f2da0715bb30e943f3f466b5a8ce744d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=B6=9B?= Date: Tue, 30 Aug 2022 10:27:36 +0800 Subject: [PATCH] =?UTF-8?q?fix(fee):=E4=BF=AE=E6=AD=A3=E6=9C=AA=E8=83=BD?= =?UTF-8?q?=E6=AD=A3=E7=A1=AE=E8=8E=B7=E5=BE=97=E8=A6=81=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E7=9A=84=E7=BB=B4=E6=8A=A4=E8=B4=B9ID=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- controller/maintenance_fee.go | 1 + 1 file changed, 1 insertion(+) diff --git a/controller/maintenance_fee.go b/controller/maintenance_fee.go index 8ed80b3..db21e75 100644 --- a/controller/maintenance_fee.go +++ b/controller/maintenance_fee.go @@ -110,6 +110,7 @@ func modifyMaintenanceFeeRecord(c *gin.Context) { } newFeeState := new(model.MaintenanceFee) copier.Copy(newFeeState, formData) + newFeeState.Id = requestFee err := service.MaintenanceFeeService.ModifyMaintenanceFee(*newFeeState) if err != nil { result.Error(http.StatusInternalServerError, err.Error())