1234567891011121314151617 |
- <?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.business.slfh.app.mainpage.mapper.AppMainPageMapper">
- <resultMap id="rm" type="com.business.slfh.manager.levelmanager.domain.TResLevel"></resultMap>
- <!--分组查询指定日期天气、气象等级情况-->
- <select id="getLevelInfo" resultMap="rm">
- select id,area_id, rectime, weather, wind_power, wind_direction, temperature, humidity, fire_rating from t_res_level
- where rectime = DATE_FORMAT(now(),'%Y-%c-%d')
- </select>
- </mapper>
|