From 3787470f3a3195a71fefb7b64b19f67f9b4b6b31 Mon Sep 17 00:00:00 2001
From: LSH
Date: 星期一, 21 八月 2023 12:19:22 +0800
Subject: [PATCH] #报销申请

---
 src/main/resources/mapper/PlanMapper.xml |   30 ++++++++++++++++++++++++++++++
 1 files changed, 30 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/PlanMapper.xml b/src/main/resources/mapper/PlanMapper.xml
index 6915a1e..666b5e6 100644
--- a/src/main/resources/mapper/PlanMapper.xml
+++ b/src/main/resources/mapper/PlanMapper.xml
@@ -107,4 +107,34 @@
         ORDER BY mp.create_time DESC
     </select>
 
+    <select id="selectPlanUrlPlanIdUrl" resultType="java.lang.String">
+        select url from man_plan_url
+        where 1=1
+        and id=#{id}
+    </select>
+
+    <select id="selectPlanUrlPlanIdName" resultType="java.lang.String">
+        select name from man_plan_url
+        where 1=1
+        and id=#{id}
+    </select>
+
+    <select id="selectPlanUrlPlanIdSize" resultType="java.lang.Long">
+        select file_size 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
+        and plan_id=#{planId}
+    </select>
+
+    <insert id="increasePlanUrl">
+        insert into man_plan_url(plan_id,url,name,file_size)
+        values(#{planId},#{url},#{name},#{size})
+    </insert>
+
+
 </mapper>

--
Gitblit v1.9.1