文件名从 src/main/resources/com/job/zsc/mapper/AnalysisDataMapper.xml 修改 |
| | |
| | | <!DOCTYPE mapper |
| | | PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
| | | "https://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.job.zsc.mapper.AnalysisDataMapper"> |
| | | <mapper namespace="com.flightfeather.monitor.mapper.AnalysisDataMapper"> |
| | | |
| | | |
| | | <select id="findByDevId" resultType="com.job.zsc.pojo.AnalysisData"> |
| | | <select id="findByDevId" resultType="com.flightfeather.monitor.pojo.AnalysisData"> |
| | | select * from fm_web_analysis_data |
| | | <where> |
| | | <if test="devId != null and devId != '' "> |
| | |
| | | </select> |
| | | |
| | | <!--淇℃伅鍜屾暟鎹湭鍒嗗紑鐨勬暟鎹〃鍒嗘瀽 ed_data--> |
| | | <!-- <select id="find" resultType="com.job.zsc.pojo.AnalysisData">--> |
| | | <!-- <select id="find" resultType="AnalysisData">--> |
| | | <!-- SELECT--> |
| | | <!-- equipment_number as fume_dev_id,--> |
| | | <!-- DATE(reporting_time) as fume_date,--> |
| | |
| | | <!-- limit 0,500--> |
| | | <!-- </select>--> |
| | | <!--鏂拌〃--> |
| | | <select id="find" resultType="com.job.zsc.pojo.AnalysisData"> |
| | | <select id="find" resultType="com.flightfeather.monitor.pojo.AnalysisData"> |
| | | SELECT |
| | | a.MV_Stat_Code as fume_dev_id, |
| | | |
| | |
| | | |
| | | |
| | | <!-- 鍘婚噸--> |
| | | <select id="search" resultType="com.job.zsc.pojo.AnalysisData"> |
| | | <select id="search" resultType="com.flightfeather.monitor.pojo.AnalysisData"> |
| | | select a.*,b.DI_Name,b.DI_Supplier |
| | | from fm_web_analysis_data as a join ea_t_device_info as b on a.fume_dev_id = b.DI_Code |
| | | <where> |