1 <insert id="insertSelective" parameterType="com.xxx.model.XDetail" useGeneratedKeys="true" keyProperty="id">
主要依靠useGeneratedKeys="true" keyProperty="id"实现
原文地址:https://www.cnblogs.com/locker777/p/10084122.html
时间: 2024-07-29 16:06:50
1 <insert id="insertSelective" parameterType="com.xxx.model.XDetail" useGeneratedKeys="true" keyProperty="id">
主要依靠useGeneratedKeys="true" keyProperty="id"实现
原文地址:https://www.cnblogs.com/locker777/p/10084122.html