Browse Source

字段类型修改

jianghan 5 months ago
parent
commit
d8494f27f5
2 changed files with 8 additions and 8 deletions
  1. 2 2
      rpc/resourcesCenter.proto
  2. 6 6
      rpc/resourcesCenter/resourcesCenter.pb.go

+ 2 - 2
rpc/resourcesCenter.proto

@@ -210,8 +210,8 @@ message ChargeReq {
   int64 entId = 1;
   int64 entId = 1;
   string userId = 2;
   string userId = 2;
   int64 entUserId = 3;
   int64 entUserId = 3;
-  int32 exportNum = 4;
-  int32 deductNum = 5;
+  int64 exportNum = 4;
+  int64 deductNum = 5;
   int32 chargeType = 6;  //扣费方式,0: 企业,1: 个人
   int32 chargeType = 6;  //扣费方式,0: 企业,1: 个人
   string remark = 7; // 备注
   string remark = 7; // 备注
   int32 source = 8; // 0: 自助导出,1: 定制导出
   int32 source = 8; // 0: 自助导出,1: 定制导出

+ 6 - 6
rpc/resourcesCenter/resourcesCenter.pb.go

@@ -1929,8 +1929,8 @@ type ChargeReq struct {
 	EntId         int64                  `protobuf:"varint,1,opt,name=entId,proto3" json:"entId,omitempty"`
 	EntId         int64                  `protobuf:"varint,1,opt,name=entId,proto3" json:"entId,omitempty"`
 	UserId        string                 `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty"`
 	UserId        string                 `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty"`
 	EntUserId     int64                  `protobuf:"varint,3,opt,name=entUserId,proto3" json:"entUserId,omitempty"`
 	EntUserId     int64                  `protobuf:"varint,3,opt,name=entUserId,proto3" json:"entUserId,omitempty"`
-	ExportNum     int32                  `protobuf:"varint,4,opt,name=exportNum,proto3" json:"exportNum,omitempty"`
-	DeductNum     int32                  `protobuf:"varint,5,opt,name=deductNum,proto3" json:"deductNum,omitempty"`
+	ExportNum     int64                  `protobuf:"varint,4,opt,name=exportNum,proto3" json:"exportNum,omitempty"`
+	DeductNum     int64                  `protobuf:"varint,5,opt,name=deductNum,proto3" json:"deductNum,omitempty"`
 	ChargeType    int32                  `protobuf:"varint,6,opt,name=chargeType,proto3" json:"chargeType,omitempty"` //扣费方式,0: 企业,1: 个人
 	ChargeType    int32                  `protobuf:"varint,6,opt,name=chargeType,proto3" json:"chargeType,omitempty"` //扣费方式,0: 企业,1: 个人
 	Remark        string                 `protobuf:"bytes,7,opt,name=remark,proto3" json:"remark,omitempty"`          // 备注
 	Remark        string                 `protobuf:"bytes,7,opt,name=remark,proto3" json:"remark,omitempty"`          // 备注
 	Source        int32                  `protobuf:"varint,8,opt,name=source,proto3" json:"source,omitempty"`         // 0: 自助导出,1: 定制导出
 	Source        int32                  `protobuf:"varint,8,opt,name=source,proto3" json:"source,omitempty"`         // 0: 自助导出,1: 定制导出
@@ -1989,14 +1989,14 @@ func (x *ChargeReq) GetEntUserId() int64 {
 	return 0
 	return 0
 }
 }
 
 
-func (x *ChargeReq) GetExportNum() int32 {
+func (x *ChargeReq) GetExportNum() int64 {
 	if x != nil {
 	if x != nil {
 		return x.ExportNum
 		return x.ExportNum
 	}
 	}
 	return 0
 	return 0
 }
 }
 
 
-func (x *ChargeReq) GetDeductNum() int32 {
+func (x *ChargeReq) GetDeductNum() int64 {
 	if x != nil {
 	if x != nil {
 		return x.DeductNum
 		return x.DeductNum
 	}
 	}
@@ -2467,9 +2467,9 @@ var file_resourcesCenter_proto_rawDesc = string([]byte{
 	0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09,
 	0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09,
 	0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52,
 	0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52,
 	0x09, 0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x65, 0x78,
 	0x09, 0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x65, 0x78,
-	0x70, 0x6f, 0x72, 0x74, 0x4e, 0x75, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x65,
+	0x70, 0x6f, 0x72, 0x74, 0x4e, 0x75, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x65,
 	0x78, 0x70, 0x6f, 0x72, 0x74, 0x4e, 0x75, 0x6d, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x65, 0x64, 0x75,
 	0x78, 0x70, 0x6f, 0x72, 0x74, 0x4e, 0x75, 0x6d, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x65, 0x64, 0x75,
-	0x63, 0x74, 0x4e, 0x75, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x64, 0x65, 0x64,
+	0x63, 0x74, 0x4e, 0x75, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x64, 0x65, 0x64,
 	0x75, 0x63, 0x74, 0x4e, 0x75, 0x6d, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x72, 0x67, 0x65,
 	0x75, 0x63, 0x74, 0x4e, 0x75, 0x6d, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x72, 0x67, 0x65,
 	0x54, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x63, 0x68, 0x61, 0x72,
 	0x54, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x63, 0x68, 0x61, 0x72,
 	0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b,
 	0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b,