燕山石化溯源三维电子沙盘-【后端】-服务
1
13693261870
2023-04-26 a5124ed6e08de87c9c053350fcfadfa9c412f1f1
1
已修改1个文件
8 ■■■■ 文件已修改
src/main/resources/mapping/WeatherMapper.xml 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/mapping/WeatherMapper.xml
@@ -11,7 +11,7 @@
    </resultMap>
    
    <select id="query" resultMap="WeatherResult">
        select * from weather
        select * from yssh_weather
        <where>
            <if test="begin != null and begin != ''">
                and Time &gt;= #{begin}
@@ -23,11 +23,11 @@
    </select>
    
    <select id="getAll" resultMap="WeatherResult">
        select * from weather
        select * from yssh_weather
    </select>
    <insert id="insert" parameterType="com.yssh.entity.Weather">
        insert into weather (
        insert into yssh_weather (
            time, wind_speed, wind_direction, weather_condition, temperature
        )
        values (
@@ -35,6 +35,6 @@
        )
    </insert>
    <delete id="delete">
        delete from weather where id = #{id}
        delete from yssh_weather where id = #{id}
    </delete>
</mapper>