|
@@ -521,11 +521,7 @@ func AssembelSave(tmp map[string]interface{}, IsSearchHosp, IsSearchEnps bool, a
|
|
|
if qu.ObjToString(tmp["toptype"]) == "结果" || qu.ObjToString(tmp["toptype"]) == "其它" || qu.ObjToString(tmp["toptype"]) == "单一" {
|
|
|
if vs["winner"] != nil && qu.ObjToString(vs["winner"]) != "" {
|
|
|
winner := strings.Split(qu.ObjToString(vs["winner"]), ",")
|
|
|
- delete(tmp, "legal_person")
|
|
|
- delete(tmp, "company_address")
|
|
|
- delete(tmp, "winner_credit_no")
|
|
|
- delete(tmp, "company_email")
|
|
|
- delete(tmp, "company_phone")
|
|
|
+
|
|
|
for _, w := range winner {
|
|
|
// if MactchWinner(w) {
|
|
|
if index > 1 {
|
|
@@ -533,6 +529,11 @@ func AssembelSave(tmp map[string]interface{}, IsSearchHosp, IsSearchEnps bool, a
|
|
|
for ks, vks := range tmp {
|
|
|
s_data[ks] = vks
|
|
|
}
|
|
|
+ delete(s_data,"legal_person")
|
|
|
+ delete(s_data,"company_address")
|
|
|
+ delete(s_data,"winner_credit_no")
|
|
|
+ delete(s_data,"company_email")
|
|
|
+ delete(s_data,"company_phone")
|
|
|
s_data["s_winner"] = w
|
|
|
SearchEnterpriseInfos(s_data, w)
|
|
|
GetWinnerType(w, s_data)
|
|
@@ -550,6 +551,11 @@ func AssembelSave(tmp map[string]interface{}, IsSearchHosp, IsSearchEnps bool, a
|
|
|
log.Println("indexdata", len(indexdata))
|
|
|
} else {
|
|
|
tmp["s_winner"] = w
|
|
|
+ delete(tmp, "legal_person")
|
|
|
+ delete(tmp, "company_address")
|
|
|
+ delete(tmp, "winner_credit_no")
|
|
|
+ delete(tmp, "company_email")
|
|
|
+ delete(tmp, "company_phone")
|
|
|
SearchEnterpriseInfos(tmp, w)
|
|
|
GetWinnerType(w, tmp)
|
|
|
if vs["bidamount"] != nil {
|