Mybatis动态传入表格名称或列名
大多数情况下使用mybatis的传参方式是通过"#{}"的方式实现的,如:#{name}//MapperList<Map<String, Object>> selectIds(@Param("name") String name);//Mapper.xml<select id="selectIds" resultMap="BaseResultMap"> select id from t_table_test where name = #{.
原创
2022-05-11 16:02:04 ·
3909 阅读 ·
0 评论