ZhuDongming
2020-03-31 90f46db2793f5b242f13bf6959ab6c7f5a596c43
src/main/resources/mapper/MonitorPointMapper.xml
@@ -148,4 +148,12 @@
         FROM monitor_point
         WHERE id = #{id}
   </select>
   <select id="getIdByOrganizationId" resultType="java.util.Map">
         SELECT id
         FROM monitor_point
         WHERE organization_id IN
            <foreach collection="organizationIdList" index="index" item="organizationId" open="(" separator="," close=")">
                  #{organizationId}
              </foreach>
   </select>
</mapper>