From 2030ec81f18f4ec9ea1800f13046acafff6d50f7 Mon Sep 17 00:00:00 2001
From: yinbentan <yinbentan@live.com>
Date: 星期四, 26 九月 2024 00:48:59 +0800
Subject: [PATCH] 添加grpc方法:客户信息维护

---
 model/request/contract.go |   20 ++++++++++++++------
 1 files changed, 14 insertions(+), 6 deletions(-)

diff --git a/model/request/contract.go b/model/request/contract.go
index 8480054..acc26ef 100644
--- a/model/request/contract.go
+++ b/model/request/contract.go
@@ -5,12 +5,15 @@
 }
 
 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
+	SendTime     string `json:"sendTime"`    //鍙戣揣鏃堕棿
 }
 
 type UpdateContract struct {
@@ -21,4 +24,9 @@
 type GetContractList struct {
 	PageInfo
 	SearchMap map[string]interface{} `json:"search_map"` // 鎼滅储鏉′欢: map[string]interface{} {"member_name": "閿�鍞礋璐d汉", "number": "鍚堝悓缂栧彿", "created_at": "鍒涘缓鏃堕棿"}
+	Keyword   string                 `json:"keyword"`
+}
+
+type DeleteContract struct {
+	Ids []int `json:"ids"`
 }

--
Gitblit v1.8.0