瀏覽代碼

Merge branch 'master' into feature/v4.8.49

lianbingjie 2 年之前
父節點
當前提交
38d025f0bb
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/jfw/modules/bigmember/src/entity/portraitWinnerSearch.go

+ 1 - 1
src/jfw/modules/bigmember/src/entity/portraitWinnerSearch.go

@@ -137,7 +137,7 @@ func GetContacts(entName string, entType int) (list []interface{}) {
                         a.id,a.name_id,a.contact_name,a.contact_tel,a.source_type,a.publishtime,b.infoid
                     FROM
                         dws_f_ent_contact a
-                    LEFT JOIN dws_f_bpmc_relation b ON (cast(a.id as char) = b.contact_id )
+                    LEFT JOIN dws_f_bpmc_relation b ON (a.id = b.contact_id )
                     WHERE a.name_id = ?  AND (if(a.source_type=2,true,(a.identity_type &(1 << ?)) > 0 ))) m
                     LEFT JOIN dws_f_bid_baseinfo n ON m.infoid = n.infoid
                     where (if(m.source_type=1,projectname is not null,true)) order by publishtime desc;`