From 2c7a0b5c9cded118d3c3c46211adf40fe558d67b Mon Sep 17 00:00:00 2001
From: LSH
Date: 星期五, 24 十一月 2023 14:13:11 +0800
Subject: [PATCH] #

---
 src/main/resources/mapper/PlanMapper.xml |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/main/resources/mapper/PlanMapper.xml b/src/main/resources/mapper/PlanMapper.xml
index 631763e..47580a2 100644
--- a/src/main/resources/mapper/PlanMapper.xml
+++ b/src/main/resources/mapper/PlanMapper.xml
@@ -138,6 +138,12 @@
         and id=#{id}
     </select>
 
+    <select id="selectPlanUrlPlanIdUserName" resultType="java.lang.String">
+        select user_name from man_plan_url
+        where 1=1
+        and id=#{id}
+    </select>
+
     <select id="selectPlanUrlId" resultType="java.lang.Integer">
         select id from man_plan_url
         where 1=1
@@ -145,8 +151,8 @@
     </select>
 
     <insert id="increasePlanUrl">
-        insert into man_plan_url(plan_id,url,name,file_size)
-        values(#{planId},#{url},#{name},#{size})
+        insert into man_plan_url(plan_id,url,name,file_size,user_name,user_id)
+        values(#{planId},#{url},#{name},#{size},#{userName},#{userId})
     </insert>
 
 

--
Gitblit v1.9.1