|
@@ -490,10 +490,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
a.steelcylinder_id
|
|
a.steelcylinder_id
|
|
) d ON l.steelcylinder_id = d.steelcylinder_id
|
|
) d ON l.steelcylinder_id = d.steelcylinder_id
|
|
LEFT JOIN ${database_system}.sys_dept d ON d.dept_id = u.dept_id
|
|
LEFT JOIN ${database_system}.sys_dept d ON d.dept_id = u.dept_id
|
|
- <where>
|
|
|
|
|
|
+ where l.recycling_time is null
|
|
<if test="enterpriseId != null and enterpriseId != ''"> and u.enterprise_id = #{enterpriseId}</if>
|
|
<if test="enterpriseId != null and enterpriseId != ''"> and u.enterprise_id = #{enterpriseId}</if>
|
|
<if test="name != null and name != ''"> and l.steelcylinder_name = #{name}</if>
|
|
<if test="name != null and name != ''"> and l.steelcylinder_name = #{name}</if>
|
|
- </where>
|
|
|
|
GROUP BY l.steelcylinder_id
|
|
GROUP BY l.steelcylinder_id
|
|
<if test="radius != null">having distance < #{radius}</if>
|
|
<if test="radius != null">having distance < #{radius}</if>
|
|
</select>
|
|
</select>
|