From 1bdce029a16f396a933848b368040e78740728fa Mon Sep 17 00:00:00 2001
From: huangzhen <867127663@qq.com>
Date: 星期五, 16 九月 2022 09:39:03 +0800
Subject: [PATCH] 新增原巡检点与措施的删除、修改、查询功能

---
 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