Bläddra i källkod

Merge branch 'dev/4.8.47.2_fuwencai' of qmx/jy into hotfix/v4.8.47.2

wangshan 2 år sedan
förälder
incheckning
a2bc305583
1 ändrade filer med 1 tillägg och 1 borttagningar
  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;`