摘要: 第一种方式 在实体类的映射文件 "*Mapper.xml" 这样写 <insert id="insertAndGetId" useGeneratedKeys="true" keyProperty="userId" parameterType="com.chenzhou.mybatis.User"> 阅读全文
posted @ 2022-05-27 11:19 liftsail 阅读(304) 评论(0) 推荐(0) 编辑