The approximate scenario is that when the Excel table is imported, there are more than 1000 students in it. In this case, if you use in to query these 1000 students, the length limit will be exceeded.
The current solution is to query the data to be queried as a table and then query the tables
The approximate sentence is as follows
<select id="getSchool" resultMap="ExcelModelSchool" parameterClass="java.util.List">
SELECT
T .SCHOOL_NAME school_Name,
T ."ID" school_Id ,
T.ISMANAGER ISMANAGER
FROM
(select * from (
<iterate open="(" close=")" conjunction=",">
<![CDATA[
SELECT
#list[]# sname
FROM dual
]]>
</iterate>
)) s,
T_SCHOOL T
WHERE
T .SCHOOL_NAME =s.sname
</select>