mybatis如何判断表是否存在 废话不多说直接上代码 <select id="isTableExist" parameterType="string" resultType="int"> select count(*) from information_schema.TABLES where table_name = #{table} </select>