问题 org.apache.ibatis.binding.BindingException: Parameter ‘userName’ not found.
解决:当查询有多参数传入时,每个参数前需要加上@param注解
@Select("select power_content from system where user_code=#{userCode} and power_name=#{powerName}")
String getPowerContent(@Param("userCode") String userCode,@Param("powerName") String powerName);