From 4611ca4bdc90ed83f533d759bf54ddb8ff70afab Mon Sep 17 00:00:00 2001
From: luohairen <3399054449@qq.com>
Date: 星期四, 28 十一月 2024 01:23:44 +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