@@ -152,9 +152,9 @@
FROM base_dept_station t
LEFT JOIN sys_dept d on t.dept_id = d.dept_id
<where>
- del_flag='0'
+ t.del_flag='0'
<if test="stationId!=null and stationId!=''">
- and station_id = #{stationId}
+ and t.station_id = #{stationId}
</if>
</where>
</select>