hanfucheng 9 ماه پیش
والد
کامیت
22fcf73e41
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/main/resources/mapper/housingconstruction/CenterdataTHousingconstructionViewMapper.xml

+ 1 - 1
src/main/resources/mapper/housingconstruction/CenterdataTHousingconstructionViewMapper.xml

@@ -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,