| | |
| | | <?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 |
| | |
| | | #{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> |