From 34ef7217a034599217a7fdd1e28e1ae6910e1b4b Mon Sep 17 00:00:00 2001 From: liujiandao <274878379@qq.com> Date: 星期三, 11 十月 2023 20:15:21 +0800 Subject: [PATCH] 菜单获取编码规则 --- model/request/contract.go | 16 ++++++++++------ 1 files changed, 10 insertions(+), 6 deletions(-) diff --git a/model/request/contract.go b/model/request/contract.go index 701f75c..e9e9c43 100644 --- a/model/request/contract.go +++ b/model/request/contract.go @@ -1,16 +1,20 @@ 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"` + 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 { -- Gitblit v1.8.0