From 679dfe8a68fe56100e708f112c1060d661d7b136 Mon Sep 17 00:00:00 2001 From: huangzhen <867127663@qq.com> Date: 星期五, 30 九月 2022 16:41:03 +0800 Subject: [PATCH] 完成SPI数据提供接口 --- src/main/resources/mybatis/tr/BaseCheckPointMapper.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main/resources/mybatis/tr/BaseCheckPointMapper.xml b/src/main/resources/mybatis/tr/BaseCheckPointMapper.xml index 48c462e..024d71c 100644 --- a/src/main/resources/mybatis/tr/BaseCheckPointMapper.xml +++ b/src/main/resources/mybatis/tr/BaseCheckPointMapper.xml @@ -39,7 +39,7 @@ where check_point_id = #{checkPointId} </select> - <insert id="insertBaseCheckPoint" parameterType="BaseCheckPoint"> + <insert id="insertBaseCheckPoint" parameterType="BaseCheckPoint" useGeneratedKeys="true" keyProperty="checkPointId"> insert into tr_base_check_point <trim prefix="(" suffix=")" suffixOverrides=","> <if test="checkPointId != null ">check_point_id,</if> -- Gitblit v1.9.2