|
@@ -5,8 +5,10 @@ import com.alibaba.fastjson.JSONArray;
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
import com.fdkankan.common.constant.ErrorCode;
|
|
|
import com.fdkankan.common.exception.BusinessException;
|
|
|
+import com.fdkankan.contro.entity.ScenePlus;
|
|
|
import com.fdkankan.contro.service.IAppCameraFailLogService;
|
|
|
import com.fdkankan.contro.service.ISceneFileBuildService;
|
|
|
+import com.fdkankan.contro.service.IScenePlusService;
|
|
|
import com.fdkankan.contro.service.ISceneUploadCountService;
|
|
|
import com.fdkankan.contro.vo.ReportFailLogVO;
|
|
|
import com.fdkankan.contro.vo.ResponseSceneFile;
|
|
@@ -45,6 +47,8 @@ public class SceneFileController{
|
|
|
|
|
|
@Autowired
|
|
|
private IAppCameraFailLogService appCameraFailLogService;
|
|
|
+ @Autowired
|
|
|
+ private IScenePlusService scenePlusService;
|
|
|
|
|
|
|
|
|
/**
|
|
@@ -185,4 +189,24 @@ public class SceneFileController{
|
|
|
return sceneFileBuildService.uploadLiguang(num, snCode, ossPath);
|
|
|
}
|
|
|
|
|
|
+ @GetMapping("aaa")
|
|
|
+ public ResultData aaa(String nums){
|
|
|
+// String[] split = nums.split(",");
|
|
|
+// for (String num : split) {
|
|
|
+// ScenePlus scenePlusByNum = scenePlusService.getScenePlusByNum(num);
|
|
|
+// scenePlusByNum.setSceneSource(36);
|
|
|
+// }
|
|
|
+
|
|
|
+ List<ScenePlus> list = scenePlusService.list();
|
|
|
+ for (ScenePlus scenePlus : list) {
|
|
|
+ if(scenePlus.getNum().startsWith("IN-")){
|
|
|
+ scenePlus.setSceneSource(36);
|
|
|
+ scenePlusService.updateById(scenePlus);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ return ResultData.ok();
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
}
|