mybatis查询最后的id
2017-03-22 本文已影响0人
林隆
keyproperty 表示返回主键放入id保存
order相对insert语句的执行顺序,
resulttype是id的类型java.lang.integer
这个sql语句后面id是有带括号的

测试

keyproperty 表示返回主键放入id保存
order相对insert语句的执行顺序,
resulttype是id的类型java.lang.integer
这个sql语句后面id是有带括号的
测试