文章目录 多参数传递无法找到对应值%模糊查询 多参数传递无法找到对应值 如果传入的参数有多个,sql语句中参数出现的顺序必须要和接口中参数的顺序相同,否则无法找到对应的值。 这是可以使用@Param(“value”)注解。 %模糊查询 @Select("select regionCode from Region where cty like concat('%',#{cty},'%') and stage=2") String selectRegionCodeByCty(String cty);