From 3e5480a69ab4d6c3494eb517e69e141b80fac3de Mon Sep 17 00:00:00 2001
From: liujiandao <274878379@qq.com>
Date: 星期二, 17 十月 2023 17:25:11 +0800
Subject: [PATCH] 联系人去除编码
---
model/request/serviceFollowup.go | 41 +++++++++++++++++++++++++++--------------
1 files changed, 27 insertions(+), 14 deletions(-)
diff --git a/model/request/serviceFollowup.go b/model/request/serviceFollowup.go
index a13fa6c..b5628e8 100644
--- a/model/request/serviceFollowup.go
+++ b/model/request/serviceFollowup.go
@@ -1,23 +1,30 @@
package request
+import (
+ "aps_crm/constvar"
+ "aps_crm/proto/code"
+)
+
type AddServiceFollowup struct {
ServiceFollowup
}
type ServiceFollowup struct {
- ClientId int `json:"clientId"`
- Number string `json:"number"`
- ContactId int `json:"contactId"`
- ServiceId int `json:"serviceId"`
- MemberId int `json:"memberId"`
- PlanId int `json:"planId"`
- Satisfaction int `json:"satisfaction"`
- TimelyRate int `json:"timelyRate"`
- SolveRate int `json:"solveRate"`
- IsVisit int `json:"isVisit"`
- OldMemberId int `json:"oldMemberId"`
- Remark string `json:"remark"`
- File string `json:"file"`
+ ClientId int `json:"clientId"`
+ Number string `json:"number"`
+ ContactId int `json:"contactId"`
+ ServiceOrderId int `json:"serviceOrderId"`
+ MemberId int `json:"memberId"`
+ PlanId int `json:"planId"`
+ Satisfaction int `json:"satisfaction"`
+ TimelyRate int `json:"timelyRate"`
+ SolveRate int `json:"solveRate"`
+ IsVisit int `json:"isVisit"`
+ OldMemberId int `json:"oldMemberId"`
+ Remark string `json:"remark"`
+ File string `json:"file"`
+ CodeStandID string `json:"codeStandID"` //缂栫爜id
+ CodeRule code.CodeStandard `json:"codeRule"`
}
type UpdateServiceFollowup struct {
@@ -27,5 +34,11 @@
type GetServiceFollowupList struct {
PageInfo
- Keyword string `json:"keyword"`
+ KeywordType constvar.ServiceFollowupKeywordType `json:"keywordType"`
+ Keyword string `json:"keyword"`
+ ServiceOrderId int `json:"serviceOrderId"` //鏈嶅姟鍥炶鍗昳d
+}
+
+type DeleteServiceFollowup struct {
+ Ids []int `json:"ids"`
}
--
Gitblit v1.8.0