소스 검색

wip:个人身份查询客成

wangkaiyue 1 년 전
부모
커밋
b68a4746da
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 == "" {
 				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 != "" {