From 5f0170df9787c6f3ff17cc168b3f2e3f511453f6 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期二, 31 十月 2023 20:04:16 +0800
Subject: [PATCH] 支持职级降级的情况
---
model/request/salesDetails.go | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/model/request/salesDetails.go b/model/request/salesDetails.go
index 7758bf6..71aa235 100644
--- a/model/request/salesDetails.go
+++ b/model/request/salesDetails.go
@@ -11,7 +11,7 @@
type SalesDetails struct {
ClientId int `json:"clientId" gorm:"column:client_id;type:int;comment:瀹㈡埛id"`
- Number string `json:"number" gorm:"column:number;type:varchar(255);comment:閿�鍞瓙鍗曞彿"`
+ Number string `json:"number" gorm:"column:number;type:varchar(255);comment:閿�鍞槑缁嗗崟鍙�"`
SaleChanceId int `json:"saleChanceId" gorm:"column:sale_chance_id;type:int;comment:閿�鍞満浼歩d"`
SaleType int `json:"saleType" gorm:"column:sale_type;type:int;comment:閿�鍞被鍨�"`
SignTime string `json:"signTime" gorm:"column:sign_time;type:datetime;comment:绛惧崟鏃堕棿"`
@@ -27,6 +27,9 @@
LogisticCompany string `json:"logisticCompany" gorm:"column:logistic_company;type:varchar(255);comment:鐗╂祦鍏徃"`
LogisticNumber string `json:"logisticNumber" gorm:"column:logistic_number;type:varchar(255);comment:鐗╂祦鍗曞彿"`
LogisticCost float64 `json:"logisticCost" gorm:"column:logistic_cost;type:decimal(10,2);comment:鐗╂祦璐圭敤"`
+ CodeStandID string `json:"codeStandID"` //缂栫爜id
+ DeliverType int `json:"deliverType"` //浜や粯绫诲瀷:1.涓�娆″彂璐�,2.澶氭鍙戣揣
+ QuotationId int `json:"quotationId" gorm:"column:quotation_id;type:int;comment:鎶ヤ环鍗昳d"`
}
type UpdateSalesDetails struct {
@@ -36,6 +39,9 @@
type GetSalesDetailsList struct {
PageInfo
- KeywordType constvar.SalesDetailsKeywordType `json:"keywordType"`
- Keyword string `json:"keyword"`
+ KeywordType constvar.SalesDetailsKeywordType `json:"keywordType"`
+ Keyword string `json:"keyword"`
+ SaleChanceId int `json:"saleChanceId"` //閿�鍞満浼歩d
+ ClientId int `json:"clientId"` //瀹㈡埛id
+ Number string `json:"number"` //閿�鍞槑缁嗗崟鍙�
}
--
Gitblit v1.8.0