| | |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="cn.gistack.sm.jcsb.mapper.DeviceReportMapper"> |
| | | |
| | | |
| | | <resultMap id="vo" type="cn.gistack.sm.jcsb.vo.DeviceReportVO"> |
| | | <id property="id" column="id"/> |
| | | </resultMap> |
| | | |
| | | <select id="getDetail" resultType="cn.gistack.sm.jcsb.vo.DeviceReportVO"> |
| | | SELECT * FROM JCSB_DEVICE_REPORT |
| | | </select> |
| | | <select id="selectDeviceReportPage" resultType="cn.gistack.sm.jcsb.vo.DeviceReportVO"> |
| | | SELECT id,description,device_code,device_type,rainfall,water_level,flow,water_storage,specific_flood_limit,temporal_rainfall,record_time |
| | | FROM JCSB_DEVICE_REPORT WHERE is_deleted = 0 |
| | | SELECT * |
| | | FROM SM_DEVICE_REPORT WHERE is_deleted = 0 |
| | | </select> |
| | | </mapper> |