| | |
| | | <association property="deviceManage" resultMap="DeviceManageResultMap"/> |
| | | <association property="deviceState" resultMap="ElectricStateResultMap2"/> |
| | | </resultMap> |
| | | <resultMap id="DeviceResourceApplyResultMap2" type="DeviceResourceApply"> |
| | | <id property="id" column="id"/> |
| | | <result property="assignedVol" column="assigned_vol"/> |
| | | <result property="applyOwner" column="apply_owner"/> |
| | | <result property="applyTime" column="apply_time"/> |
| | | <result property="approveTime" column="approve_time"/> |
| | | <result property="status" column="status"/> |
| | | <association property="deviceManage" resultMap="DeviceManageResultMap"/> |
| | | <association property="deviceState" resultMap="ElectricStateResultMap2"/> |
| | | </resultMap> |
| | | |
| | | <resultMap id="DeviceManageResultMap" type="DeviceManage"> |
| | | <result property="deviceId" column="device_id"/> |
| | | <result property="deviceName" column="deviceName"/> |
| | | <result property="deviceName" column="device_name"/> |
| | | <result property="site" column="site"/> |
| | | <result property="deviceBrand" column="device_brand"/> |
| | | <result property="deviceVersion" column="device_version"/> |
| | |
| | | s.load_status=#{loadStatus} |
| | | </if> |
| | | </select> |
| | | <!--TODO--> |
| | | <select id="getApplyInfo" resultMap="DeviceResourceApplyResultMap2"> |
| | | SELECT |
| | | m.device_id, |