select t1.fname,t2.fstorename,t1.frole,t1.fsex,
t1.fbirthdate,t1.femail,t1.fphonenumber,t1.fwechatno,t1.faccountno from tenterprise_users t1
left join tstore t2 on t1.siteid=t2.siteid and t1.tagentsid=t2.tagentsid and t1.tstoreid=t2.tstoreid
where t1.siteid=$siteid$  and t1.tenterprise_userid=$userid$