| | |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.mes.rawglassdetails.mapper.RawGlassStorageDetailsMapper"> |
| | | |
| | | <select id="listBySlotState" resultType="java.lang.Integer"> |
| | | <resultMap id="baseMap" type="com.mes.rawglassdetails.entity.RawGlassStorageDetails"> |
| | | <result column="DEVICE_ID" property="deviceId"/> |
| | | <result column="SLOT" property="slot"/> |
| | | </resultMap> |
| | | |
| | | <select id="listBySlotState" resultMap="baseMap"> |
| | | SELECT |
| | | T.SLOT |
| | | T.SLOT, |
| | | T.DEVICE_ID |
| | | FROM |
| | | RAW_GLASS_STORAGE_STATION T |
| | | LEFT JOIN RAW_GLASS_STORAGE_DETAILS AS T1 ON T.DEVICE_ID = T1.DEVICE_ID |