mybatis常用写法-mapper xml传入多个参数
mapper xml文件中:
1 | <resultMap id="XxxResultMap" type="com.xxx.xxxx"> |
mapper接口中:
1 | xxx selectXXXX(@Param(value = "id") String id,@Param(value = "type") String type); |
mapper xml文件中:
1 | <resultMap id="XxxResultMap" type="com.xxx.xxxx"> |
mapper接口中:
1 | xxx selectXXXX(@Param(value = "id") String id,@Param(value = "type") String type); |