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/contract.go |   23 ++++++++++++++++-------
 1 files changed, 16 insertions(+), 7 deletions(-)

diff --git a/model/request/contract.go b/model/request/contract.go
index f86a93b..8285425 100644
--- a/model/request/contract.go
+++ b/model/request/contract.go
@@ -1,16 +1,21 @@
 package request
 
+import "aps_crm/proto/code"
+
 type AddContract struct {
 	Contract
 }
 
 type Contract struct {
-	ClientId    int    `json:"client_id"`
-	MemberId    int    `json:"member_id"`
-	Number      string `json:"number"`
-	QuotationId int    `json:"quotation_id"`
-	StatusId    int    `json:"status_id"`
-	File        string `json:"file"`
+	ContractName string            `json:"contractName"` //鍚堝悓鍚嶇О
+	ClientId     int               `json:"client_id"`
+	MemberId     int               `json:"member_id"`
+	Number       string            `json:"number"`
+	QuotationId  int               `json:"quotation_id"`
+	StatusId     int               `json:"status_id"`
+	File         string            `json:"file"`
+	CodeStandID  string            `json:"codeStandID"` //缂栫爜id
+	CodeRule     code.CodeStandard `json:"codeRule"`
 }
 
 type UpdateContract struct {
@@ -20,5 +25,9 @@
 
 type GetContractList struct {
 	PageInfo
-	Keyword string `json:"keyword"`
+	SearchMap map[string]interface{} `json:"search_map"` // 鎼滅储鏉′欢: map[string]interface{} {"member_name": "閿�鍞礋璐d汉", "number": "鍚堝悓缂栧彿", "created_at": "鍒涘缓鏃堕棿"}
+}
+
+type DeleteContract struct {
+	Ids []int `json:"ids"`
 }

--
Gitblit v1.8.0