lyhzzz 2 年 前
コミット
dcb88b0097
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/main/resources/mapper/ucenter/SceneProMapper.xml

+ 1 - 1
src/main/resources/mapper/ucenter/SceneProMapper.xml

@@ -145,6 +145,6 @@
 
 
 
 
     <select id="getSpaceSumByCameraId" resultType="java.lang.Long">
     <select id="getSpaceSumByCameraId" resultType="java.lang.Long">
-        select  sum(space) from  t_scene_plus p left join t_scene_plus_ext e on p.id = e.plus_id where p.rec_status = 'A' and p.scene_status = -2 and p.camera_id = #{cameraId}
+        select sum(space) from t_scene_pro where rec_status= 'A' and status = -2 and is_upgrade = 0 and camera_id = #{cameraId}
     </select>
     </select>
 </mapper>
 </mapper>