From 4c1dbe97fda6634817db662c84a18057ea7c488b Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期三, 27 十一月 2024 21:47:34 +0800
Subject: [PATCH] 审核消息

---
 business/src/main/resources/mapper/ProjectPlanInfoMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/business/src/main/resources/mapper/ProjectPlanInfoMapper.xml b/business/src/main/resources/mapper/ProjectPlanInfoMapper.xml
index 002a186..ebc1fb4 100644
--- a/business/src/main/resources/mapper/ProjectPlanInfoMapper.xml
+++ b/business/src/main/resources/mapper/ProjectPlanInfoMapper.xml
@@ -10,7 +10,7 @@
         <result column="start_time" property="startTime" />
         <result column="end_time" property="endTime" />
     </resultMap>
-    <insert id="batchInsert">
+    <insert id="batchInsert" keyColumn="id" useGeneratedKeys="true" keyProperty="id">
         insert into t_project_plan_info(project_plan_record_id, title, progress_status, start_time, end_time)
         values
         <foreach collection="list" item="item" separator=",">

--
Gitblit v1.8.0