From f18b35727a11a5f8b5e326f6045f49b571954ba3 Mon Sep 17 00:00:00 2001
From: xuhy <3313886187@qq.com>
Date: 星期一, 09 六月 2025 11:02:59 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/dev' into dev

---
 ruoyi-service/ruoyi-other/src/main/resources/mapper/other/TScreenContentMapper.xml |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/ruoyi-service/ruoyi-other/src/main/resources/mapper/other/TScreenContentMapper.xml b/ruoyi-service/ruoyi-other/src/main/resources/mapper/other/TScreenContentMapper.xml
index fed5aea..ad4f8c3 100644
--- a/ruoyi-service/ruoyi-other/src/main/resources/mapper/other/TScreenContentMapper.xml
+++ b/ruoyi-service/ruoyi-other/src/main/resources/mapper/other/TScreenContentMapper.xml
@@ -1,6 +1,14 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
 <mapper namespace="com.ruoyi.other.mapper.TScreenContentMapper">
+    <update id="carportData">
+        update t_screen_carport
+        set
+            parking_place = #{parkingPlace},
+            remain_place = #{remainPlace}
+        where
+            id =1
+    </update>
 
     <select id="getCarDisCharge" resultType="java.math.BigDecimal">
         select
@@ -22,4 +30,11 @@
             #{item}
         </foreach>
     </select>
+    <select id="getCarportData" resultType="java.util.HashMap">
+        select
+            parking_place as parkingPlace,
+            remain_place as remainPlace
+        from
+            t_screen_carport where id =1
+    </select>
 </mapper>

--
Gitblit v1.7.1