问下这样的sql在mybatis中怎么写,试了好久

        SELECT s.* FROM  station s
       LEFT JOIN area a ON s.aid = a.id
       where a.province_code=0511
             or  a.city_code=0511
             or a.town_code=0511

就是这样的sql,怎么写不是报错就是没数据,真的整不会了,传过来一个id跟三个字段比较,or连接的。