|
@@ -80,7 +80,6 @@ func KeysetViewDatasCount(userId, vType, key, notkey string, matchway int, sessi
|
|
|
} else {
|
|
|
qstr = GetVIPViewSql(userId, sql)
|
|
|
}
|
|
|
- fmt.Println("KeysetViewDatasCount", qstr)
|
|
|
return elastic.Count(INDEX, TYPE, qstr)
|
|
|
}
|
|
|
|
|
@@ -248,15 +247,13 @@ func GetSqlObjFromId(_id, vType, item string, index int, sessionMap map[string]i
|
|
|
} else {
|
|
|
o_vipjy, _ = (*query)["o_jy"].(map[string]interface{})
|
|
|
}
|
|
|
- fmt.Println(_id, gconv.String(query))
|
|
|
a_items, _ := o_vipjy["a_items"].([]interface{})
|
|
|
a_buyerclass, _ := o_vipjy["a_buyerclass"].([]interface{})
|
|
|
if len(a_buyerclass) > 0 && qutil.IntAllDef(o_vipjy["i_matchbuyerclass_other"], 1) == 1 && len(a_items) > 0 {
|
|
|
a_buyerclass = append(a_buyerclass, "其它")
|
|
|
}
|
|
|
- a_infotype, ok := o_vipjy["a_infotype"].([]interface{})
|
|
|
+ a_infotype, _ := o_vipjy["a_infotype"].([]interface{})
|
|
|
o_area, _ := o_vipjy["o_area"].(map[string]interface{})
|
|
|
- fmt.Println(a_infotype, ok, qutil.ObjArrToStringArr(a_infotype))
|
|
|
return &ViewCondition{
|
|
|
Keyword: getKeyWordArrFromDbResult(a_items, item, index),
|
|
|
Buyerclass: qutil.ObjArrToStringArr(a_buyerclass),
|