jianghan 5 月之前
父节点
当前提交
73927cccda
共有 2 个文件被更改,包括 5 次插入1 次删除
  1. 1 1
      rpc/pb/biService_grpc.pb.go
  2. 4 0
      service/clueInfoList.go

+ 1 - 1
rpc/pb/biService_grpc.pb.go

@@ -16,7 +16,7 @@ import (
 // This is a compile-time assertion to ensure that this generated file
 // is compatible with the grpc package it is being compiled against.
 // Requires gRPC-Go v1.64.0 or later.
-const _ = grpc.SupportPackageIsVersion9
+const _ = grpc.SupportPackageIsVersion8
 
 const (
 	BiService_MyDataAsset_FullMethodName         = "/BiService/myDataAsset"

+ 4 - 0
service/clueInfoList.go

@@ -10,7 +10,9 @@ import (
 )
 
 type ClueInfo struct {
+	Id               int64  `json:"id"`
 	ClueName         string `json:"cluename"`
+	SeatNumber       string `json:"seatNumber"`
 	CompanyNature    int    `json:"company_natural"`   // 公司性质  集团/非集团
 	LockStatus       int    `json:"lock_status"`       // 锁定状态
 	LockPerson       string `json:"lock_person"`       // 锁定人
@@ -91,7 +93,9 @@ func CheckingList(in *pb.ClueInfoReq) *pb.BiReply {
 
 func getClueInfo(tmp map[string]interface{}) *ClueInfo {
 	clueInfo := &ClueInfo{
+		Id:               common.Int64All(tmp["id"]),
 		ClueName:         common.ObjToString(tmp["cluename"]),
+		SeatNumber:       common.ObjToString(tmp["seatNumber"]),
 		CompanyNature:    common.IntAll(tmp["COMPANY_NATURE"]),
 		LockStatus:       common.IntAll(tmp["lock_status"]),
 		LockTime:         common.ObjToString(tmp["lock_time"]),