Browse Source

wip:个人身份查询客成

wangkaiyue 1 year ago
parent
commit
b68a4746da
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/jfw/modules/bigmember/src/service/use/custom.go

+ 1 - 1
src/jfw/modules/bigmember/src/service/use/custom.go

@@ -23,7 +23,7 @@ func (u *Use) GetCustom() {
 			if (bigPower.Status <= 0 && bigPower.EntnicheStatus <= 0) || bigPower.EntName == "" {
 			if (bigPower.Status <= 0 && bigPower.EntnicheStatus <= 0) || bigPower.EntName == "" {
 				return ""
 				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 {
 			if res != nil || len(*res) != 0 {
 				for _, m := range *res {
 				for _, m := range *res {
 					if customName = qu.ObjToString(m["customer_name"]); customName != "" {
 					if customName = qu.ObjToString(m["customer_name"]); customName != "" {