src/main/resources/mapper/MonitorPointMapper.xml
@@ -219,4 +219,10 @@ province_code = #{provinceCode} </if> </select> <select id="getOrgIdByMac" resultType="String"> SELECT m.`organization_id` orgId FROM monitor_point m JOIN device d ON d.`monitor_point_id` = m.`id` AND d.`mac`= #{mac} </select> </mapper>