|
|
@@ -7603,10 +7603,10 @@ type GZPresaleApplyReq struct {
|
|
|
SellUserID *uint32 `protobuf:"varint,2,opt,name=SellUserID" json:"SellUserID,omitempty"` // 发行方用户,必填
|
|
|
SellAccountID *uint64 `protobuf:"varint,3,opt,name=SellAccountID" json:"SellAccountID,omitempty"` // 发行方资金账户ID,必填
|
|
|
WRStandardName *string `protobuf:"bytes,4,opt,name=WRStandardName" json:"WRStandardName,omitempty"` // 现货商品名称,必填
|
|
|
- PresaleQty *uint64 `protobuf:"varint,5,opt,name=PresaleQty" json:"PresaleQty,omitempty"` // 预售总量,必填
|
|
|
- MinBuyQty *uint64 `protobuf:"varint,6,opt,name=MinBuyQty" json:"MinBuyQty,omitempty"` // 单人最小申购量,必填
|
|
|
- MaxBuyQty *uint64 `protobuf:"varint,7,opt,name=MaxBuyQty" json:"MaxBuyQty,omitempty"` // 单人最大申购量,必填
|
|
|
- MinSuccessQty *uint64 `protobuf:"varint,8,opt,name=MinSuccessQty" json:"MinSuccessQty,omitempty"` // 最低成团量,必填
|
|
|
+ PresaleQty *float64 `protobuf:"fixed64,5,opt,name=PresaleQty" json:"PresaleQty,omitempty"` // 预售总量,必填,小数,两位
|
|
|
+ MinBuyQty *float64 `protobuf:"fixed64,6,opt,name=MinBuyQty" json:"MinBuyQty,omitempty"` // 单人最小申购量,必填,小数,两位
|
|
|
+ MaxBuyQty *float64 `protobuf:"fixed64,7,opt,name=MaxBuyQty" json:"MaxBuyQty,omitempty"` // 单人最大申购量,必填,小数,两位
|
|
|
+ MinSuccessQty *float64 `protobuf:"fixed64,8,opt,name=MinSuccessQty" json:"MinSuccessQty,omitempty"` // 最低成团量,必填,小数,两位
|
|
|
UnitPrice *float64 `protobuf:"fixed64,9,opt,name=UnitPrice" json:"UnitPrice,omitempty"` // 预售价格,小数,两位,必填
|
|
|
StartDate *string `protobuf:"bytes,10,opt,name=StartDate" json:"StartDate,omitempty"` // 预售开始日期,必填
|
|
|
EndDate *string `protobuf:"bytes,11,opt,name=EndDate" json:"EndDate,omitempty"` // 预售结束日期,必填
|
|
|
@@ -7688,28 +7688,28 @@ func (x *GZPresaleApplyReq) GetWRStandardName() string {
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
-func (x *GZPresaleApplyReq) GetPresaleQty() uint64 {
|
|
|
+func (x *GZPresaleApplyReq) GetPresaleQty() float64 {
|
|
|
if x != nil && x.PresaleQty != nil {
|
|
|
return *x.PresaleQty
|
|
|
}
|
|
|
return 0
|
|
|
}
|
|
|
|
|
|
-func (x *GZPresaleApplyReq) GetMinBuyQty() uint64 {
|
|
|
+func (x *GZPresaleApplyReq) GetMinBuyQty() float64 {
|
|
|
if x != nil && x.MinBuyQty != nil {
|
|
|
return *x.MinBuyQty
|
|
|
}
|
|
|
return 0
|
|
|
}
|
|
|
|
|
|
-func (x *GZPresaleApplyReq) GetMaxBuyQty() uint64 {
|
|
|
+func (x *GZPresaleApplyReq) GetMaxBuyQty() float64 {
|
|
|
if x != nil && x.MaxBuyQty != nil {
|
|
|
return *x.MaxBuyQty
|
|
|
}
|
|
|
return 0
|
|
|
}
|
|
|
|
|
|
-func (x *GZPresaleApplyReq) GetMinSuccessQty() uint64 {
|
|
|
+func (x *GZPresaleApplyReq) GetMinSuccessQty() float64 {
|
|
|
if x != nil && x.MinSuccessQty != nil {
|
|
|
return *x.MinSuccessQty
|
|
|
}
|
|
|
@@ -7947,7 +7947,7 @@ type GZPresaleOrderReq struct {
|
|
|
UserID *uint32 `protobuf:"varint,2,opt,name=UserID" json:"UserID,omitempty"` // 用户ID,必填
|
|
|
AccountID *uint64 `protobuf:"varint,3,opt,name=AccountID" json:"AccountID,omitempty"` // 资金账户ID,必填
|
|
|
WRTradeOrderID *uint64 `protobuf:"varint,4,opt,name=WRTradeOrderID" json:"WRTradeOrderID,omitempty"` // 仓单贸易委托单ID,必填
|
|
|
- OrderQty *uint64 `protobuf:"varint,5,opt,name=OrderQty" json:"OrderQty,omitempty"` // 认购数量,必填
|
|
|
+ OrderQty *float64 `protobuf:"fixed64,5,opt,name=OrderQty" json:"OrderQty,omitempty"` // 认购数量,必填,2位小数
|
|
|
MarketID *uint32 `protobuf:"varint,6,opt,name=MarketID" json:"MarketID,omitempty"` // 市场ID,必填
|
|
|
ClientOrderTime *string `protobuf:"bytes,7,opt,name=ClientOrderTime" json:"ClientOrderTime,omitempty"` // 委托时间,必填
|
|
|
ClientType *uint32 `protobuf:"varint,8,opt,name=ClientType" json:"ClientType,omitempty"` // 终端类型
|
|
|
@@ -8014,7 +8014,7 @@ func (x *GZPresaleOrderReq) GetWRTradeOrderID() uint64 {
|
|
|
return 0
|
|
|
}
|
|
|
|
|
|
-func (x *GZPresaleOrderReq) GetOrderQty() uint64 {
|
|
|
+func (x *GZPresaleOrderReq) GetOrderQty() float64 {
|
|
|
if x != nil && x.OrderQty != nil {
|
|
|
return *x.OrderQty
|
|
|
}
|
|
|
@@ -8219,10 +8219,10 @@ type GZCenterPurchaseApplyReq struct {
|
|
|
SellUserID *uint32 `protobuf:"varint,2,opt,name=SellUserID" json:"SellUserID,omitempty"` // 发行方用户,必填
|
|
|
SellAccountID *uint64 `protobuf:"varint,3,opt,name=SellAccountID" json:"SellAccountID,omitempty"` // 发行方资金账户ID,必填
|
|
|
WRStandardName *string `protobuf:"bytes,4,opt,name=WRStandardName" json:"WRStandardName,omitempty"` // 现货商品名称,必填
|
|
|
- PresaleQty *uint64 `protobuf:"varint,5,opt,name=PresaleQty" json:"PresaleQty,omitempty"` // 预售总量,必填
|
|
|
- MinBuyQty *uint64 `protobuf:"varint,6,opt,name=MinBuyQty" json:"MinBuyQty,omitempty"` // 单人最小申购量,必填
|
|
|
- MaxBuyQty *uint64 `protobuf:"varint,7,opt,name=MaxBuyQty" json:"MaxBuyQty,omitempty"` // 单人最大申购量,必填
|
|
|
- MinSuccessQty *uint64 `protobuf:"varint,8,opt,name=MinSuccessQty" json:"MinSuccessQty,omitempty"` // 最低成团量,必填
|
|
|
+ PresaleQty *float64 `protobuf:"fixed64,5,opt,name=PresaleQty" json:"PresaleQty,omitempty"` // 预售总量,必填,小数,两位
|
|
|
+ MinBuyQty *float64 `protobuf:"fixed64,6,opt,name=MinBuyQty" json:"MinBuyQty,omitempty"` // 单人最小申购量,必填,小数,两位
|
|
|
+ MaxBuyQty *float64 `protobuf:"fixed64,7,opt,name=MaxBuyQty" json:"MaxBuyQty,omitempty"` // 单人最大申购量,必填,小数,两位
|
|
|
+ MinSuccessQty *float64 `protobuf:"fixed64,8,opt,name=MinSuccessQty" json:"MinSuccessQty,omitempty"` // 最低成团量,必填,小数,两位
|
|
|
StartDate *string `protobuf:"bytes,9,opt,name=StartDate" json:"StartDate,omitempty"` // 预售开始日期,必填
|
|
|
EndDate *string `protobuf:"bytes,10,opt,name=EndDate" json:"EndDate,omitempty"` // 预售结束日期,必填
|
|
|
BuyMarginAlgorithm *uint32 `protobuf:"varint,11,opt,name=BuyMarginAlgorithm" json:"BuyMarginAlgorithm,omitempty"` // 买方保证金方式,必填
|
|
|
@@ -8309,28 +8309,28 @@ func (x *GZCenterPurchaseApplyReq) GetWRStandardName() string {
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
-func (x *GZCenterPurchaseApplyReq) GetPresaleQty() uint64 {
|
|
|
+func (x *GZCenterPurchaseApplyReq) GetPresaleQty() float64 {
|
|
|
if x != nil && x.PresaleQty != nil {
|
|
|
return *x.PresaleQty
|
|
|
}
|
|
|
return 0
|
|
|
}
|
|
|
|
|
|
-func (x *GZCenterPurchaseApplyReq) GetMinBuyQty() uint64 {
|
|
|
+func (x *GZCenterPurchaseApplyReq) GetMinBuyQty() float64 {
|
|
|
if x != nil && x.MinBuyQty != nil {
|
|
|
return *x.MinBuyQty
|
|
|
}
|
|
|
return 0
|
|
|
}
|
|
|
|
|
|
-func (x *GZCenterPurchaseApplyReq) GetMaxBuyQty() uint64 {
|
|
|
+func (x *GZCenterPurchaseApplyReq) GetMaxBuyQty() float64 {
|
|
|
if x != nil && x.MaxBuyQty != nil {
|
|
|
return *x.MaxBuyQty
|
|
|
}
|
|
|
return 0
|
|
|
}
|
|
|
|
|
|
-func (x *GZCenterPurchaseApplyReq) GetMinSuccessQty() uint64 {
|
|
|
+func (x *GZCenterPurchaseApplyReq) GetMinSuccessQty() float64 {
|
|
|
if x != nil && x.MinSuccessQty != nil {
|
|
|
return *x.MinSuccessQty
|
|
|
}
|
|
|
@@ -8603,7 +8603,7 @@ type GZCenterPurchaseOrderReq struct {
|
|
|
UserID *uint32 `protobuf:"varint,2,opt,name=UserID" json:"UserID,omitempty"` // 用户ID,必填
|
|
|
AccountID *uint64 `protobuf:"varint,3,opt,name=AccountID" json:"AccountID,omitempty"` // 资金账户ID,必填
|
|
|
WRTradeOrderID *uint64 `protobuf:"varint,4,opt,name=WRTradeOrderID" json:"WRTradeOrderID,omitempty"` // 仓单贸易委托单ID,必填
|
|
|
- OrderQty *uint64 `protobuf:"varint,5,opt,name=OrderQty" json:"OrderQty,omitempty"` // 认购数量,必填
|
|
|
+ OrderQty *float64 `protobuf:"fixed64,5,opt,name=OrderQty" json:"OrderQty,omitempty"` // 认购数量,必填,2位小数
|
|
|
MarketID *uint32 `protobuf:"varint,6,opt,name=MarketID" json:"MarketID,omitempty"` // 市场ID,必填
|
|
|
ClientOrderTime *string `protobuf:"bytes,7,opt,name=ClientOrderTime" json:"ClientOrderTime,omitempty"` // 委托时间,必填
|
|
|
ClientType *uint32 `protobuf:"varint,8,opt,name=ClientType" json:"ClientType,omitempty"` // 终端类型
|
|
|
@@ -8670,7 +8670,7 @@ func (x *GZCenterPurchaseOrderReq) GetWRTradeOrderID() uint64 {
|
|
|
return 0
|
|
|
}
|
|
|
|
|
|
-func (x *GZCenterPurchaseOrderReq) GetOrderQty() uint64 {
|
|
|
+func (x *GZCenterPurchaseOrderReq) GetOrderQty() float64 {
|
|
|
if x != nil && x.OrderQty != nil {
|
|
|
return *x.OrderQty
|
|
|
}
|
|
|
@@ -10360,12 +10360,12 @@ var file_mtp2_proto_rawDesc = []byte{
|
|
|
0x61, 0x72, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x57,
|
|
|
0x52, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a,
|
|
|
0x0a, 0x50, 0x72, 0x65, 0x73, 0x61, 0x6c, 0x65, 0x51, 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28,
|
|
|
- 0x04, 0x52, 0x0a, 0x50, 0x72, 0x65, 0x73, 0x61, 0x6c, 0x65, 0x51, 0x74, 0x79, 0x12, 0x1c, 0x0a,
|
|
|
- 0x09, 0x4d, 0x69, 0x6e, 0x42, 0x75, 0x79, 0x51, 0x74, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04,
|
|
|
+ 0x01, 0x52, 0x0a, 0x50, 0x72, 0x65, 0x73, 0x61, 0x6c, 0x65, 0x51, 0x74, 0x79, 0x12, 0x1c, 0x0a,
|
|
|
+ 0x09, 0x4d, 0x69, 0x6e, 0x42, 0x75, 0x79, 0x51, 0x74, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x01,
|
|
|
0x52, 0x09, 0x4d, 0x69, 0x6e, 0x42, 0x75, 0x79, 0x51, 0x74, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x4d,
|
|
|
- 0x61, 0x78, 0x42, 0x75, 0x79, 0x51, 0x74, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09,
|
|
|
+ 0x61, 0x78, 0x42, 0x75, 0x79, 0x51, 0x74, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x01, 0x52, 0x09,
|
|
|
0x4d, 0x61, 0x78, 0x42, 0x75, 0x79, 0x51, 0x74, 0x79, 0x12, 0x24, 0x0a, 0x0d, 0x4d, 0x69, 0x6e,
|
|
|
- 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x51, 0x74, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04,
|
|
|
+ 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x51, 0x74, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x01,
|
|
|
0x52, 0x0d, 0x4d, 0x69, 0x6e, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x51, 0x74, 0x79, 0x12,
|
|
|
0x1c, 0x0a, 0x09, 0x55, 0x6e, 0x69, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x18, 0x09, 0x20, 0x01,
|
|
|
0x28, 0x01, 0x52, 0x09, 0x55, 0x6e, 0x69, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x1c, 0x0a,
|
|
|
@@ -10433,7 +10433,7 @@ var file_mtp2_proto_rawDesc = []byte{
|
|
|
0x26, 0x0a, 0x0e, 0x57, 0x52, 0x54, 0x72, 0x61, 0x64, 0x65, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x49,
|
|
|
0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x57, 0x52, 0x54, 0x72, 0x61, 0x64, 0x65,
|
|
|
0x4f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x4f, 0x72, 0x64, 0x65, 0x72,
|
|
|
- 0x51, 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x4f, 0x72, 0x64, 0x65, 0x72,
|
|
|
+ 0x51, 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x01, 0x52, 0x08, 0x4f, 0x72, 0x64, 0x65, 0x72,
|
|
|
0x51, 0x74, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x44, 0x18,
|
|
|
0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x44, 0x12,
|
|
|
0x28, 0x0a, 0x0f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x54, 0x69,
|
|
|
@@ -10477,13 +10477,13 @@ var file_mtp2_proto_rawDesc = []byte{
|
|
|
0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
|
|
|
0x09, 0x52, 0x0e, 0x57, 0x52, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x64, 0x4e, 0x61, 0x6d,
|
|
|
0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x50, 0x72, 0x65, 0x73, 0x61, 0x6c, 0x65, 0x51, 0x74, 0x79, 0x18,
|
|
|
- 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x50, 0x72, 0x65, 0x73, 0x61, 0x6c, 0x65, 0x51, 0x74,
|
|
|
+ 0x05, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0a, 0x50, 0x72, 0x65, 0x73, 0x61, 0x6c, 0x65, 0x51, 0x74,
|
|
|
0x79, 0x12, 0x1c, 0x0a, 0x09, 0x4d, 0x69, 0x6e, 0x42, 0x75, 0x79, 0x51, 0x74, 0x79, 0x18, 0x06,
|
|
|
- 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x4d, 0x69, 0x6e, 0x42, 0x75, 0x79, 0x51, 0x74, 0x79, 0x12,
|
|
|
+ 0x20, 0x01, 0x28, 0x01, 0x52, 0x09, 0x4d, 0x69, 0x6e, 0x42, 0x75, 0x79, 0x51, 0x74, 0x79, 0x12,
|
|
|
0x1c, 0x0a, 0x09, 0x4d, 0x61, 0x78, 0x42, 0x75, 0x79, 0x51, 0x74, 0x79, 0x18, 0x07, 0x20, 0x01,
|
|
|
- 0x28, 0x04, 0x52, 0x09, 0x4d, 0x61, 0x78, 0x42, 0x75, 0x79, 0x51, 0x74, 0x79, 0x12, 0x24, 0x0a,
|
|
|
+ 0x28, 0x01, 0x52, 0x09, 0x4d, 0x61, 0x78, 0x42, 0x75, 0x79, 0x51, 0x74, 0x79, 0x12, 0x24, 0x0a,
|
|
|
0x0d, 0x4d, 0x69, 0x6e, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x51, 0x74, 0x79, 0x18, 0x08,
|
|
|
- 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x4d, 0x69, 0x6e, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73,
|
|
|
+ 0x20, 0x01, 0x28, 0x01, 0x52, 0x0d, 0x4d, 0x69, 0x6e, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73,
|
|
|
0x51, 0x74, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x53, 0x74, 0x61, 0x72, 0x74, 0x44, 0x61, 0x74, 0x65,
|
|
|
0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x53, 0x74, 0x61, 0x72, 0x74, 0x44, 0x61, 0x74,
|
|
|
0x65, 0x12, 0x18, 0x0a, 0x07, 0x45, 0x6e, 0x64, 0x44, 0x61, 0x74, 0x65, 0x18, 0x0a, 0x20, 0x01,
|
|
|
@@ -10569,7 +10569,7 @@ var file_mtp2_proto_rawDesc = []byte{
|
|
|
0x57, 0x52, 0x54, 0x72, 0x61, 0x64, 0x65, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x44, 0x18, 0x04,
|
|
|
0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x57, 0x52, 0x54, 0x72, 0x61, 0x64, 0x65, 0x4f, 0x72, 0x64,
|
|
|
0x65, 0x72, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x51, 0x74, 0x79,
|
|
|
- 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x51, 0x74, 0x79,
|
|
|
+ 0x18, 0x05, 0x20, 0x01, 0x28, 0x01, 0x52, 0x08, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x51, 0x74, 0x79,
|
|
|
0x12, 0x1a, 0x0a, 0x08, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x44, 0x18, 0x06, 0x20, 0x01,
|
|
|
0x28, 0x0d, 0x52, 0x08, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x44, 0x12, 0x28, 0x0a, 0x0f,
|
|
|
0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x18,
|