|
@@ -22,6 +22,7 @@
|
|
<result property="createBy" column="create_by"/>
|
|
<result property="createBy" column="create_by"/>
|
|
<result property="dateUpdate" column="date_update"/>
|
|
<result property="dateUpdate" column="date_update"/>
|
|
<result property="updateBy" column="update_by"/>
|
|
<result property="updateBy" column="update_by"/>
|
|
|
|
+ <result property="monitorSceneId" column="monitor_scene_id"/>
|
|
</resultMap>
|
|
</resultMap>
|
|
<!-- 实体栏位 -->
|
|
<!-- 实体栏位 -->
|
|
<sql id="monitorInfoColumns">
|
|
<sql id="monitorInfoColumns">
|
|
@@ -43,7 +44,8 @@
|
|
a.create_by as "createBy" ,
|
|
a.create_by as "createBy" ,
|
|
a.date_update as "dateUpdate" ,
|
|
a.date_update as "dateUpdate" ,
|
|
a.update_by as "updateBy" ,
|
|
a.update_by as "updateBy" ,
|
|
- b.DEVICE_CODE as "deviceCode"
|
|
|
|
|
|
+ b.DEVICE_CODE as "deviceCode",
|
|
|
|
+ a.monitor_scene_id as "monitorSceneId"
|
|
</sql>
|
|
</sql>
|
|
<sql id="leftJoins">
|
|
<sql id="leftJoins">
|
|
LEFT JOIN sms_device b on a.DEVICE_ID=b.ID
|
|
LEFT JOIN sms_device b on a.DEVICE_ID=b.ID
|