|
@@ -7,7 +7,7 @@
|
|
|
SELECT * FROM(
|
|
|
select s.scene_name ,s.num,s.create_time,c.sn_code,s.space as sceneSize
|
|
|
,u.user_name,s.view_count,s.status,s.pay_status,'v3' as scene_version ,s.web_site as webSite,thumb
|
|
|
- ,null as algorithmTime,c.child_name,s.camera_id,s.laser_title,co.company_name,null as location,s.scene_source,s.shoot_count
|
|
|
+ ,null as algorithmTime,c.child_name,s.camera_id,s.laser_title,co.company_name,null as location,s.scene_source,s.shoot_count,s.map_show
|
|
|
from t_scene_pro s
|
|
|
<include refid="commonWhere"></include>
|
|
|
<if test="param.sceneName != null and param.sceneName!='' ">
|
|
@@ -17,7 +17,7 @@
|
|
|
UNION
|
|
|
select s.title as sceneName ,s.num,s.create_time,c.sn_code,e.space as sceneSize
|
|
|
,u.user_name,e.view_count,s.scene_status as status,s.pay_status,'v4' as scene_version,e.web_site as webSite,thumb
|
|
|
- ,algorithm_time,c.child_name,s.camera_id,s.laser_title,co.company_name,e.location,s.scene_source,e.shoot_count
|
|
|
+ ,algorithm_time,c.child_name,s.camera_id,s.laser_title,co.company_name,e.location,s.scene_source,e.shoot_count,s.map_show
|
|
|
from t_scene_plus s
|
|
|
left join t_scene_plus_ext e on s.id = e.plus_id
|
|
|
<include refid="commonWhere"></include>
|