ard-work/src/main/resources/mapper/sy/ArdTankWallMapper.xml
@@ -81,4 +81,11 @@ <if test="wallName != null and wallName != ''"> and wall_name like '%'||#{wallName}||'%'</if> </where> </select> <select id="getDistinctArdTankWallByCarId" resultMap="ArdTankWallResult" parameterType="java.lang.String"> select distinct atw.* from ard_tank_lock atl inner join ard_tank_wall_lock atwl on atl.id = atwl.lock_id inner join ard_tank_wall atw on atwl.wall_id = atw.id where atl.car_id = #{carId} </select> </mapper>