@@ -0,0 +1,4 @@
+-- 新增quality字段
+alter table tb_scene_light add COLUMN `quality` int(2) NOT NULL DEFAULT '0' COMMENT '档次: -1:旧数据,无区分 0:预览图,1:1k 2:2k 3:3k 4:4k';
+
@@ -371,6 +371,7 @@ public class ImportDataController {
sceneLightEntity.setType(2);
filePath = filePath + "pano/";
}
+ sceneLightEntity.setQuality(quality);
sceneLightService.save(sceneLightEntity);
List<String> uploadList = new ArrayList<>();
@@ -41,4 +41,10 @@ public class SceneLightEntity extends BaseEntity{
*/
@Column(name = "pixel")
private String pixel;
+ /**
+ * quality
+ */
+ @Column(name = "quality")
+ private String quality;