浏览代码

feat:更新

wangshan 3 年之前
父节点
当前提交
26d0588d0a
共有 3 个文件被更改,包括 8 次插入8 次删除
  1. 1 1
      jyBXCore/rpc/bxcore.proto
  2. 5 5
      jyBXCore/rpc/type/bxcore/bxcore.pb.go
  3. 2 2
      jyBXCore/rpc/util/search.go

+ 1 - 1
jyBXCore/rpc/bxcore.proto

@@ -62,7 +62,7 @@ message  SearchList {
   string projectName = 17;//项目名称
   string  buyer = 18;//采购单位
   string winner = 19;//中标企业
-  int64 bidopentime = 20;//开标时间
+  int64 bidopenTime = 20;//开标时间
   PInfo projectInfo = 21;//拟建项目信息
   string projectCode = 22;//项目代码
 }

+ 5 - 5
jyBXCore/rpc/type/bxcore/bxcore.pb.go

@@ -414,7 +414,7 @@ type SearchList struct {
 	ProjectName string `protobuf:"bytes,17,opt,name=projectName,proto3" json:"projectName,omitempty"`  //项目名称
 	Buyer       string `protobuf:"bytes,18,opt,name=buyer,proto3" json:"buyer,omitempty"`              //采购单位
 	Winner      string `protobuf:"bytes,19,opt,name=winner,proto3" json:"winner,omitempty"`            //中标企业
-	Bidopentime int64  `protobuf:"varint,20,opt,name=bidopentime,proto3" json:"bidopentime,omitempty"` //开标时间
+	BidopenTime int64  `protobuf:"varint,20,opt,name=bidopenTime,proto3" json:"bidopenTime,omitempty"` //开标时间
 	ProjectInfo *PInfo `protobuf:"bytes,21,opt,name=projectInfo,proto3" json:"projectInfo,omitempty"`  //拟建项目信息
 	ProjectCode string `protobuf:"bytes,22,opt,name=projectCode,proto3" json:"projectCode,omitempty"`  //项目代码
 }
@@ -584,9 +584,9 @@ func (x *SearchList) GetWinner() string {
 	return ""
 }
 
-func (x *SearchList) GetBidopentime() int64 {
+func (x *SearchList) GetBidopenTime() int64 {
 	if x != nil {
-		return x.Bidopentime
+		return x.BidopenTime
 	}
 	return 0
 }
@@ -934,8 +934,8 @@ var file_bxcore_proto_rawDesc = []byte{
 	0x79, 0x65, 0x72, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x62, 0x75, 0x79, 0x65, 0x72,
 	0x12, 0x16, 0x0a, 0x06, 0x77, 0x69, 0x6e, 0x6e, 0x65, 0x72, 0x18, 0x13, 0x20, 0x01, 0x28, 0x09,
 	0x52, 0x06, 0x77, 0x69, 0x6e, 0x6e, 0x65, 0x72, 0x12, 0x20, 0x0a, 0x0b, 0x62, 0x69, 0x64, 0x6f,
-	0x70, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x14, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62,
-	0x69, 0x64, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x0b, 0x70, 0x72,
+	0x70, 0x65, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x14, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62,
+	0x69, 0x64, 0x6f, 0x70, 0x65, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x0b, 0x70, 0x72,
 	0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32,
 	0x0d, 0x2e, 0x62, 0x78, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x50, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b,
 	0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x20, 0x0a, 0x0b, 0x70,

+ 2 - 2
jyBXCore/rpc/util/search.go

@@ -227,7 +227,7 @@ func GetBidSearchData(in *bxcore.SearchReq) (count int64, list []*bxcore.SearchL
 				}
 				searchList.Winner = MC.ObjToString(v["winner"])
 				searchList.Buyer = MC.ObjToString(v["buyer"])
-				searchList.Bidopentime = MC.Int64All(v["bidopentime"])
+				searchList.BidopenTime = MC.Int64All(v["bidopentime"])
 				list = append(list, searchList)
 			}
 		}
@@ -603,7 +603,7 @@ func SearchCahcheData(in *bxcore.SearchReq) (count int64, list []*bxcore.SearchL
 				}
 				searchList.Winner = MC.ObjToString(v["winner"])
 				searchList.Buyer = MC.ObjToString(v["buyer"])
-				searchList.Bidopentime = MC.Int64All(v["bidopentime"])
+				searchList.BidopenTime = MC.Int64All(v["bidopentime"])
 				list = append(list, searchList)
 			}
 		}