jinpengyong
2020-10-09 c60311f48e7ec07c56a4df31536f795ba62751ce
src/main/resources/mapper/ForecastWeatherMapper.xml
@@ -20,4 +20,11 @@
        AND time <![CDATA[<]]> #{end}
        and city_code=#{cityCode}
    </delete>
    <select id="getBeam" resultType="java.lang.String">
        select json->'$.beam' as 'beam'
        from forecast_weather
        where time=#{time}
        and city_code=#{cityCode}
    </select>
</mapper>