From e027ac6cb0705ab4eda2a162fb70f4532f24af93 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期五, 11 八月 2023 17:43:34 +0800
Subject: [PATCH] update

---
 model/serviceFollowup.go |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/model/serviceFollowup.go b/model/serviceFollowup.go
index be9255b..787c48e 100644
--- a/model/serviceFollowup.go
+++ b/model/serviceFollowup.go
@@ -16,7 +16,7 @@
 		Number               string               `json:"number" gorm:"column:number;type:varchar(255);comment:鍚堝悓缂栧彿"`
 		ContactId            int                  `json:"contactId" gorm:"column:contact_id;type:int;comment:鑱旂郴浜篿d"`
 		Contact              Contact              `json:"contact"  gorm:"foreignKey:ContactId"`
-		ServiceId            int                  `json:"serviceId" gorm:"column:service_id;type:int;comment:瀹㈡埛鏈嶅姟鍗昳d"`
+		ServiceOrderId       int                  `json:"serviceOrderId" gorm:"column:service_order_id;type:int;comment:瀹㈡埛鏈嶅姟鍗昳d"`
 		ServiceOrder         ServiceOrder         `gorm:"foreignKey:ServiceId"`
 		CustomerServiceSheet CustomerServiceSheet `json:"customerServiceSheet" gorm:"foreignKey:ServiceId"`
 		MemberId             int                  `json:"memberId" gorm:"column:member_id;type:int;comment:鏈嶅姟浜哄憳id"`
@@ -144,6 +144,11 @@
 	return slf
 }
 
+func (slf *ServiceFollowupSearch) SetServiceOrderId(id int) *ServiceFollowupSearch {
+	slf.ServiceOrderId = id
+	return slf
+}
+
 func (slf *ServiceFollowupSearch) SetPreload(preload bool) *ServiceFollowupSearch {
 	slf.Preload = preload
 	return slf

--
Gitblit v1.8.0