From 483d7b2716740c3033d18b7d149f51f95710bcba Mon Sep 17 00:00:00 2001 From: liujie <1793218484@qq.com> Date: 星期三, 28 五月 2025 16:44:08 +0800 Subject: [PATCH] 大屏接口 修改bug --- ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/mapper/TScreenContentMapper.java | 15 +++++++++++++-- 1 files changed, 13 insertions(+), 2 deletions(-) diff --git a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/mapper/TScreenContentMapper.java b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/mapper/TScreenContentMapper.java index 18fb859..8bec3aa 100644 --- a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/mapper/TScreenContentMapper.java +++ b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/mapper/TScreenContentMapper.java @@ -4,8 +4,10 @@ import com.ruoyi.other.api.domain.TNotice; import com.ruoyi.other.api.domain.TScreenContent; import org.apache.ibatis.annotations.Mapper; +import org.apache.ibatis.annotations.Param; import java.math.BigDecimal; +import java.util.HashMap; import java.util.List; /** @@ -19,7 +21,16 @@ @Mapper public interface TScreenContentMapper extends BaseMapper<TScreenContent> { - BigDecimal getCarDisCharge(List<Integer> siteIds); + BigDecimal getCarDisCharge(@Param("siteIds") List<Integer> siteIds); - BigDecimal getGreenElectricity(List<Integer> siteIds); + BigDecimal getGreenElectricity(@Param("siteIds") List<Integer> siteIds); + + void carportData(@Param("parkingPlace") Integer parkingPlace, @Param("remainPlace") Integer remainPlace); + + + HashMap<String, Object> getCarportData(); + + + + } -- Gitblit v1.7.1