|
@@ -32,9 +32,9 @@
|
|
<!-- 查询单个 -->
|
|
<!-- 查询单个 -->
|
|
<select id="selectById" resultMap="CameraManageMap">
|
|
<select id="selectById" resultMap="CameraManageMap">
|
|
select
|
|
select
|
|
- <include refid="Base_Column_List"/>
|
|
|
|
- from sms_camera_manage a
|
|
|
|
- where ID = #{id}
|
|
|
|
|
|
+ <include refid="Base_Column_List"/>,b.SCENE_NAME
|
|
|
|
+ from sms_camera_manage a join sms_scene b on a.SCENE_ID=b.ID
|
|
|
|
+ where a.ID = #{id}
|
|
</select>
|
|
</select>
|
|
|
|
|
|
|
|
|