Explorar el Código

接口提示修改

hym hace 4 años
padre
commit
7ed4025388
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3 3
      sms_water/src/main/resources/mapper/CameraManageMapper.xml

+ 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>