|
@@ -241,12 +241,14 @@ func GetSqlObjFromId(_id, vType, item string, index int, sessionMap map[string]i
|
|
return nil
|
|
return nil
|
|
}
|
|
}
|
|
o_vipjy := map[string]interface{}{}
|
|
o_vipjy := map[string]interface{}{}
|
|
|
|
+ var i_ppstatus int
|
|
if vType == jy.MemberFlag {
|
|
if vType == jy.MemberFlag {
|
|
o_vipjy, _ = (*query)["o_member_jy"].(map[string]interface{})
|
|
o_vipjy, _ = (*query)["o_member_jy"].(map[string]interface{})
|
|
} else if vType == jy.SubVipFlag {
|
|
} else if vType == jy.SubVipFlag {
|
|
o_vipjy, _ = (*query)["o_vipjy"].(map[string]interface{})
|
|
o_vipjy, _ = (*query)["o_vipjy"].(map[string]interface{})
|
|
} else {
|
|
} else {
|
|
o_vipjy, _ = (*query)["o_jy"].(map[string]interface{})
|
|
o_vipjy, _ = (*query)["o_jy"].(map[string]interface{})
|
|
|
|
+ i_ppstatus = gconv.Int(o_vipjy["i_ppstatus"])
|
|
}
|
|
}
|
|
a_items, _ := o_vipjy["a_items"].([]interface{})
|
|
a_items, _ := o_vipjy["a_items"].([]interface{})
|
|
a_buyerclass, _ := o_vipjy["a_buyerclass"].([]interface{})
|
|
a_buyerclass, _ := o_vipjy["a_buyerclass"].([]interface{})
|
|
@@ -254,7 +256,11 @@ func GetSqlObjFromId(_id, vType, item string, index int, sessionMap map[string]i
|
|
a_buyerclass = append(a_buyerclass, "其它")
|
|
a_buyerclass = append(a_buyerclass, "其它")
|
|
}
|
|
}
|
|
a_infotype, _ := o_vipjy["a_infotype"].([]interface{})
|
|
a_infotype, _ := o_vipjy["a_infotype"].([]interface{})
|
|
|
|
+
|
|
o_area, _ := o_vipjy["o_area"].(map[string]interface{})
|
|
o_area, _ := o_vipjy["o_area"].(map[string]interface{})
|
|
|
|
+ if i_ppstatus > 0 {
|
|
|
|
+ o_area, _ = o_vipjy["o_area_p"].(map[string]interface{})
|
|
|
|
+ }
|
|
return &ViewCondition{
|
|
return &ViewCondition{
|
|
Keyword: getKeyWordArrFromDbResult(a_items, item, index),
|
|
Keyword: getKeyWordArrFromDbResult(a_items, item, index),
|
|
Buyerclass: qutil.ObjArrToStringArr(a_buyerclass),
|
|
Buyerclass: qutil.ObjArrToStringArr(a_buyerclass),
|