wangshan 2 anni fa
parent
commit
abe7c4709c
1 ha cambiato i file con 0 aggiunte e 4 eliminazioni
  1. 0 4
      jyBXCore/rpc/service/participateBid.go

+ 0 - 4
jyBXCore/rpc/service/participateBid.go

@@ -364,7 +364,6 @@ func (p *ParticipateBid) GetBidRecords(projectId string, page, pageSize int64) *
 func (p ParticipateBid) BidRecordsFormat(data []map[string]interface{}) []*bxcore.ParticipateRecords {
 	records := []*bxcore.ParticipateRecords{}
 	switch p.PositionType {
-
 	case PositionTypeEnt:
 		// 用户id
 		// 拿到所有的用户id
@@ -377,7 +376,6 @@ func (p ParticipateBid) BidRecordsFormat(data []map[string]interface{}) []*bxcor
 				userIdArr = append(userIdArr, fmt.Sprint(userId))
 			}
 		}
-
 		// 根据id查询出姓名{id:name}
 		userIdMap = getUserIdName(userIdArr)
 		// 遍历数据  换成姓名
@@ -394,7 +392,6 @@ func (p ParticipateBid) BidRecordsFormat(data []map[string]interface{}) []*bxcor
 				RecordType:   common.Int64All(data[i]["record_type"]),
 			}
 			records = append(records, &tmp)
-
 		}
 	case PositionTypePersonal:
 		// 遍历数据
@@ -405,7 +402,6 @@ func (p ParticipateBid) BidRecordsFormat(data []map[string]interface{}) []*bxcor
 				RecordType:  common.Int64All(data[i]["record_type"]),
 			}
 			records = append(records, &tmp)
-
 		}
 	}
 	return records