修改接口名称
This commit is contained in:
parent
07fab1b6ae
commit
7558ba1bb0
|
|
@ -79,8 +79,8 @@ public class CareApi {
|
||||||
return Result.OK("操作成功!");
|
return Result.OK("操作成功!");
|
||||||
}
|
}
|
||||||
|
|
||||||
@ApiOperation(value="服务指令工单-上传mp4", notes="服务指令工单-上传mp4")
|
@ApiOperation(value="服务指令工单-上传照片", notes="服务指令工单-上传照片")
|
||||||
@AutoLog(value = "服务指令工单-上传mp4",clientType="app", operateType = 2)
|
@AutoLog(value = "服务指令工单-上传照片",clientType="app", operateType = 2)
|
||||||
@PostMapping(value = "/editSubPicPath")
|
@PostMapping(value = "/editSubPicPath")
|
||||||
public Result<String> editSubPicPath(@RequestBody CareOrdersSubEntity careOrdersSubEntity) {
|
public Result<String> editSubPicPath(@RequestBody CareOrdersSubEntity careOrdersSubEntity) {
|
||||||
Map<String, Object> pddMap = carePadApi.editSubPicPath(careOrdersSubEntity);
|
Map<String, Object> pddMap = carePadApi.editSubPicPath(careOrdersSubEntity);
|
||||||
|
|
|
||||||
|
|
@ -2884,13 +2884,15 @@ public class CameraInfoServiceImpl extends ServiceImpl<CameraInfoMapper, CameraI
|
||||||
return "error";
|
return "error";
|
||||||
}
|
}
|
||||||
String fileName = nuId +"-"+DateUtils.formatDate(new Date(),"yyyyMMddHHmmss");
|
String fileName = nuId +"-"+DateUtils.formatDate(new Date(),"yyyyMMddHHmmss");
|
||||||
|
String year = DateUtils.formatDate(new Date(),"yyyy");
|
||||||
|
String month = DateUtils.formatDate(new Date(),"MM");
|
||||||
CameraInfo tplinkInfo = tplinkList.get(0);
|
CameraInfo tplinkInfo = tplinkList.get(0);
|
||||||
CameraInfo cameraInfo = new CameraInfo();
|
CameraInfo cameraInfo = new CameraInfo();
|
||||||
cameraInfo.setDeviceIndex(tplinkInfo.getDeviceIndex());
|
cameraInfo.setDeviceIndex(tplinkInfo.getDeviceIndex());
|
||||||
cameraInfo.setParentId(tplinkInfo.getParentId());
|
cameraInfo.setParentId(tplinkInfo.getParentId());
|
||||||
cameraInfo.setFileName(fileName);
|
cameraInfo.setFileName(fileName);
|
||||||
cameraInfo.setVideoType("1");
|
cameraInfo.setVideoType("1");
|
||||||
cameraInfo.setFtpUploadpath("/upload/2025/12/tplinkVideo");
|
cameraInfo.setFtpUploadpath("/upload/"+year+"/"+month+"/fwxm/tplinkVideo");
|
||||||
cameraInfo.setStartTime(startTime);
|
cameraInfo.setStartTime(startTime);
|
||||||
cameraInfo.setEndTime(endTime);
|
cameraInfo.setEndTime(endTime);
|
||||||
try {
|
try {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue