|
@@ -91,14 +91,7 @@ public class GzZcdjzxServiceImpl implements GzZcdjzxService {
|
|
String uuidtime = dataFdageJson.getString("uuidtime");
|
|
String uuidtime = dataFdageJson.getString("uuidtime");
|
|
String unicode = snCode + "_" + uuidtime;
|
|
String unicode = snCode + "_" + uuidtime;
|
|
|
|
|
|
- LambdaQueryWrapper<SceneFileBuild> wrapper = new LambdaQueryWrapper<>();
|
|
|
|
- if(StrUtil.isNotEmpty(taskId)){
|
|
|
|
- wrapper.eq(SceneFileBuild::getTaskId, taskId);
|
|
|
|
- }
|
|
|
|
- if(StrUtil.isNotEmpty(kNo)){
|
|
|
|
- wrapper.eq(SceneFileBuild::getKNo, kNo);
|
|
|
|
- }
|
|
|
|
- SceneFileBuild sceneFileBuild = sceneFileBuildService.getOne(wrapper);
|
|
|
|
|
|
+ SceneFileBuild sceneFileBuild = sceneFileBuildService.getOne(new LambdaQueryWrapper<SceneFileBuild>().eq(SceneFileBuild::getTaskId, taskId));
|
|
String fileId = null;
|
|
String fileId = null;
|
|
if(Objects.isNull(sceneFileBuild)){
|
|
if(Objects.isNull(sceneFileBuild)){
|
|
fileId = String.valueOf(new SnowflakeIdGenerator(0,0).nextId());
|
|
fileId = String.valueOf(new SnowflakeIdGenerator(0,0).nextId());
|
|
@@ -130,7 +123,7 @@ public class GzZcdjzxServiceImpl implements GzZcdjzxService {
|
|
|
|
|
|
Integer code = null;
|
|
Integer code = null;
|
|
try {
|
|
try {
|
|
- ResultData resultData = sceneFileBuildService.turntableUploadSuccess(params);
|
|
|
|
|
|
+ ResultData resultData = sceneFileBuildService.turntableUploadSuccess(params, taskId, kNo);
|
|
code = resultData.getCode();
|
|
code = resultData.getCode();
|
|
}catch (BusinessException e){
|
|
}catch (BusinessException e){
|
|
code = e.getCode();
|
|
code = e.getCode();
|