This commit is contained in:
磷叶 2025-04-23 10:07:30 +08:00
parent 79b67703c8
commit 5d6de1e19a

View File

@ -438,7 +438,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
select bod.order_id
from bst_device bd
left join bst_order_device bod on bod.id = bd.order_device_id
where bd.mac = #{mac}
where bd.mac = #{mac} and bd.deleted = false
limit 1
</select>
</mapper>