Prechádzať zdrojové kódy

app云端场景列表location字段

lyhzzz 1 rok pred
rodič
commit
0f0e94101c

+ 2 - 0
src/main/java/com/fdkankan/ucenter/vo/response/AppSceneVo.java

@@ -39,6 +39,8 @@ public class AppSceneVo {
 
     private Boolean coldStorage = false;
 
+    private Integer location;
+
     public String getCreateTime() {
         return DateUserUtil.getDayTime(createTime);
     }

+ 2 - 2
src/main/resources/mapper/ucenter/ScenePlusMapper.xml

@@ -6,7 +6,7 @@
         SELECT * FROM(
         SELECT p.id ,null as name ,0 as isFolder,null as type,null as parentId ,p.create_time,num,scene_name,scene_dec,
         p.status,pay_status,thumb,web_site,0 as is_upgrade,view_count,
-         p.camera_id,p.user_id ,p.data_source,p.scene_type,build_type
+         p.camera_id,p.user_id ,p.data_source,p.scene_type,build_type,null as location
         FROM t_scene_pro p
         <include refid="commonWhere"></include>
         <if test="param.sceneName !=null and param.sceneName !=''">
@@ -16,7 +16,7 @@
         UNION
         SELECT p.id as id ,null as name ,0 as isFolder,null as type,null as parentId,p.create_time ,num,title as scene_name,description as scene_dec,
         scene_status as status,pay_status,thumb,web_site,1 as is_upgrade,view_count,
-        p.camera_id,p.user_id,e.data_source,p.scene_type,build_type
+        p.camera_id,p.user_id,e.data_source,p.scene_type,build_type,e.location
         FROM t_scene_plus p
         left join t_scene_plus_ext e on p.id = e.plus_id
         <include refid="commonWhere"></include>