仅供参考
mybatis 进行多个参数 进行传递时可能无法识别
添加@Pram
进行 注解动态sql 注入数据时,接口和sql提供类参数都需要加pram执行参数值
@SelectProvider(type = cn.jx.dao.sqlProvider.RouteProvider.class,method = "selectWithParamSql")
public int findTotalCount(@Param("cid") Integer cid, @Param("rname") String rname);
public String selectWithParamSql(@Param("cid") Integer cid, @Param("rname") String rname){
备选参考https://blog.csdn.net/zw1_csdn/article/details/100094951?depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task
参考:https://blog.csdn.net/qq_33764491/article/details/80938651