From 3832f51c8d596645d8f24f385a72e5c5d448a751 Mon Sep 17 00:00:00 2001
From: luohairen <3399054449@qq.com>
Date: 星期二, 26 十一月 2024 15:52:18 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
business/src/main/resources/mapper/ProjectPlanInfoMapper.xml | 17 ++++++++++++-----
1 files changed, 12 insertions(+), 5 deletions(-)
diff --git a/business/src/main/resources/mapper/ProjectPlanInfoMapper.xml b/business/src/main/resources/mapper/ProjectPlanInfoMapper.xml
index 2ea53cc..002a186 100644
--- a/business/src/main/resources/mapper/ProjectPlanInfoMapper.xml
+++ b/business/src/main/resources/mapper/ProjectPlanInfoMapper.xml
@@ -10,11 +10,18 @@
<result column="start_time" property="startTime" />
<result column="end_time" property="endTime" />
</resultMap>
-
-
-
-
-
+ <insert id="batchInsert">
+ insert into t_project_plan_info(project_plan_record_id, title, progress_status, start_time, end_time)
+ values
+ <foreach collection="list" item="item" separator=",">
+ (#{item.projectPlanRecordId}, #{item.title}, #{item.progressStatus}, #{item.startTime}, #{item.endTime})
+ </foreach>
+ </insert>
+ <insert id="insertOne">
+ insert into t_project_plan_info(project_plan_record_id, title, progress_status, start_time, end_time)
+ values
+ (#{projectPlanRecordId}, #{title}, #{progressStatus}, #{startTime}, #{endTime})
+ </insert>
<select id="getById" resultMap="BaseResultMap">
--
Gitblit v1.8.0