From c6d19b35b74d020b3ca28d33101d8f1695e39945 Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期五, 21 七月 2023 13:49:25 +0800
Subject: [PATCH] ignore

---
 api/v1/serviceFollowup.go |   28 +++++++++++++++-------------
 1 files changed, 15 insertions(+), 13 deletions(-)

diff --git a/api/v1/serviceFollowup.go b/api/v1/serviceFollowup.go
index 0a74b42..9e97657 100644
--- a/api/v1/serviceFollowup.go
+++ b/api/v1/serviceFollowup.go
@@ -87,6 +87,8 @@
 		return
 	}
 
+	serviceFollowup.Id = params.Id
+
 	errCode = serviceFollowupService.UpdateServiceFollowup(&serviceFollowup)
 	if errCode != ecode.OK {
 		ctx.Fail(errCode)
@@ -131,19 +133,19 @@
 	//}
 
 	serviceFollowupModel = model.ServiceFollowup{
-		ClientId:     serviceFollowup.ClientId,
-		Number:       serviceFollowup.Number,
-		ContactId:    serviceFollowup.ContactId,
-		ServiceId:    serviceFollowup.ServiceId,
-		MemberId:     serviceFollowup.MemberId,
-		PlanId:       serviceFollowup.PlanId,
-		Satisfaction: serviceFollowup.Satisfaction,
-		TimelyRate:   serviceFollowup.TimelyRate,
-		SolveRate:    serviceFollowup.SolveRate,
-		IsVisit:      serviceFollowup.IsVisit,
-		OldMemberId:  serviceFollowup.OldMemberId,
-		Remark:       serviceFollowup.Remark,
-		File:         serviceFollowup.File,
+		ClientId:       serviceFollowup.ClientId,
+		Number:         serviceFollowup.Number,
+		ContactId:      serviceFollowup.ContactId,
+		ServiceId:      serviceFollowup.ServiceId,
+		MemberId:       serviceFollowup.MemberId,
+		PlanId:         serviceFollowup.PlanId,
+		SatisfactionId: serviceFollowup.Satisfaction,
+		TimelyRateId:   serviceFollowup.TimelyRate,
+		SolveRateId:    serviceFollowup.SolveRate,
+		IsVisitId:      serviceFollowup.IsVisit,
+		OldMemberId:    serviceFollowup.OldMemberId,
+		Remark:         serviceFollowup.Remark,
+		File:           serviceFollowup.File,
 	}
 
 	return ecode.OK, serviceFollowupModel

--
Gitblit v1.8.0