select t2.tactionscoremxid from tactionscore t1
inner join tactionscoremx t2 on t1.siteid=t2.siteid and t1.tactionscoreid=t2.tactionscoreid and t2.fsourcetype='ÏÂÔØÍ¨¸æ¸½¼þ' and t2.fsourceid=$fsourceid$
where t1.siteid =$siteid$ and t1.tagentsid=$tagentsid$