|
@@ -23,7 +23,7 @@ func (u *Use) GetCustom() {
|
|
|
if (bigPower.Status <= 0 && bigPower.EntnicheStatus <= 0) || bigPower.EntName == "" {
|
|
|
return ""
|
|
|
}
|
|
|
- res := db.MysqlSubject.SelectBySql("SELECT i.name as customer_name FROM dwd_f_data_equity_info e INNER JOIN dwd_f_crm_clue_info c on (e.uid=c.uid) INNER JOIN dwd_f_csm_customer_info i on( c.id = i.clue_id) WHERE e.position_id=? AND e.product_type in ('大会员','商机管理') AND i.is_transfer=1", positionId)
|
|
|
+ res := db.MysqlSubject.SelectBySql("SELECT i.name as customer_name FROM dwd_f_data_equity_info e INNER JOIN dwd_f_crm_clue_info c on (e.uid=c.uid) INNER JOIN dwd_f_csm_customer_info i on( c.id = i.clue_id) WHERE e.position_id=? AND e.product_type in ('大会员','商机管理') AND c.is_transfer=1", positionId)
|
|
|
if res != nil || len(*res) != 0 {
|
|
|
for _, m := range *res {
|
|
|
if customName = qu.ObjToString(m["customer_name"]); customName != "" {
|