ZhuDongming
2019-09-04 379c55655ef027effbc3fa62b2719b0e9158f0c6
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>