ZhuDongming
2019-09-02 e8ef361dc975aeaedeee6f28dfe679489a22f9d5
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>