Commit 1df8687e by 黄小葱

修改bug

1 parent 036f8a37
......@@ -222,12 +222,12 @@
<select id="findVehicleInfoBySn" resultMap="BaseResultMap">
select
<include refid="Base_Column_List"/>
tv.*
from t_vehicle tv
inner join t_vehicle_device tvd on tvd.vehicle_id = tv.id
where tv.del_flag = 0 and tvd.bind_status = 1 and tvd.del_flag = 0
<if test="sn != null and sn != ''">
tvd.sn = #{sn}
and tvd.sn = #{sn}
</if>
</select>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!