spring boot mybatis 獲取insert 返回id

@Insert("INSERT INTO hq_admin(username,truename,password,phone,email) VALUES(#{username},#{truename}, #{password}, #{phone}, #{email})") @SelectKey(statement="select LAST_INSERT_ID()", keyProperty="id
相關文章
相關標籤/搜索