|
@@ -448,7 +448,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
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
|
|
|
+ left join centerdata_t_housingconstruction_steelcylinder_log l 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,
|