src/main/java/com/stylefeng/guns/modular/system/dao/mapping/TUserAddressMapper.xml
@@ -30,6 +30,8 @@ t2.name as country,t3.name as state ,t4.name as city from t_user_address t1 left join t_country t2 on(t2.id=t1.country and t2.type =1) left join t_country t3 on (t3.id=t1.state and t3.type =2) left join t_country t4 on (t4.id=t1.city and t4.type =3) where t1.remove=0 and t1.user_id =#{userId} order by is_default </select> </mapper>