From c526c99f15b6cdb5b5bcab24d7c9752053bedf7b Mon Sep 17 00:00:00 2001 From: liujie <1793218484@qq.com> Date: 星期四, 29 五月 2025 15:45:32 +0800 Subject: [PATCH] 修改bug --- 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