@@ -447,8 +447,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
d.address,
a.dept_name deptName,
round( st_distance_sphere ( point ( #{longitude}, #{latitude}), point ( longitude, latitude ) ), 2 ) AS distance
- FROM centerdata_t_housingconstruction_steelcylinder a
- left join centerdata_t_housingconstruction_steelcylinder_log l on a.id = l.steelcylinder_id
+ FROM centerdata_t_housingconstruction_steelcylinder_log l
+ left join centerdata_t_housingconstruction_steelcylinder a on a.id = l.steelcylinder_id
LEFT JOIN centerdata_t_housingconstruction_realnameuser u ON u.id = l.join_house_id
LEFT JOIN (SELECT
a.steelcylinder_id,