1
2
3
4
5
6
7
8
9
10
11
12
13
14
| <?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="org.jeecg.modules.mdc.mapper.MdcAlarmInfoMapper">
|
| <select id="findAlarmContent" resultType="org.jeecg.modules.mdc.entity.MdcAlarmInfo">
| SELECT
| t1.*
| FROM
| mdc_alarm_info t1
| LEFT JOIN mdc_equipment t2 ON t1.drive_type = t2.drive_type
| WHERE
| t2.equipment_id = #{equipmentId} AND t1.alarm_code = #{alarmNo}
| </select>
| </mapper>
|
|