ZhuDongming
2019-11-28 70830c5b2e96cc1c76d4adb88ddced55e7476547
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>