Ver Fonte

接口提示修改

hym há 4 anos atrás
pai
commit
7ed4025388

+ 3 - 3
sms_water/src/main/resources/mapper/CameraManageMapper.xml

@@ -32,9 +32,9 @@
     <!-- 查询单个 -->
     <select id="selectById" resultMap="CameraManageMap">
         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>