mybatis传入数组查询
mybatis传入数组查询List<Dept> getDeptsByCompanyIds(@Param("companyIds") String[] companyIds);<select id="getDeptsByCompanyIds" resultMap="Dept"> select * from t_dept where COMPANY_ID in &a