接口修改: designSingle添加入参 processId
This commit is contained in:
@@ -20,6 +20,10 @@ public class DesignSingleIncludeLayersDTO {
|
|||||||
@ApiModelProperty("preview -> true submit -> false")
|
@ApiModelProperty("preview -> true submit -> false")
|
||||||
private Boolean isPreview;
|
private Boolean isPreview;
|
||||||
|
|
||||||
|
@NotNull(message = "processId cannot be null")
|
||||||
|
@ApiModelProperty("进度")
|
||||||
|
private String processId;
|
||||||
|
|
||||||
@NotBlank(message = "timeZone cannot be empty!")
|
@NotBlank(message = "timeZone cannot be empty!")
|
||||||
@ApiModelProperty("本地时区,比如 'Asia/Tokyo' 东京时间 , 'Asia/Shanghai' 北京时间 由js本地获取")
|
@ApiModelProperty("本地时区,比如 'Asia/Tokyo' 东京时间 , 'Asia/Shanghai' 北京时间 由js本地获取")
|
||||||
private String timeZone;
|
private String timeZone;
|
||||||
|
|||||||
@@ -1299,7 +1299,7 @@ public class PythonService {
|
|||||||
designPythonObjects.setObjects(objects);
|
designPythonObjects.setObjects(objects);
|
||||||
|
|
||||||
DesignPythonObject pythonObject = new DesignPythonObject();
|
DesignPythonObject pythonObject = new DesignPythonObject();
|
||||||
designPythonObjects.setProcess_id("1234");
|
designPythonObjects.setProcess_id(designSingleDTO.getProcessId());
|
||||||
pythonObject.setItems(coverToDesignSinglePythonItem(designSingleDTO, designLibraryModelPoint));
|
pythonObject.setItems(coverToDesignSinglePythonItem(designSingleDTO, designLibraryModelPoint));
|
||||||
pythonObject.setBasic(coverToSingleBasic(singleOverall, switchCategory, designLibraryModelPoint));
|
pythonObject.setBasic(coverToSingleBasic(singleOverall, switchCategory, designLibraryModelPoint));
|
||||||
objects.add(pythonObject);
|
objects.add(pythonObject);
|
||||||
|
|||||||
@@ -395,8 +395,8 @@ public class DesignItemServiceImpl extends ServiceImpl<DesignItemMapper, DesignI
|
|||||||
SysFileVO sysFile = sysFileService.getById(design.getTemplateId());
|
SysFileVO sysFile = sysFileService.getById(design.getTemplateId());
|
||||||
Assert.notNull(sysFile,"model does not exists!");
|
Assert.notNull(sysFile,"model does not exists!");
|
||||||
modelUrl = sysFile.getUrl();
|
modelUrl = sysFile.getUrl();
|
||||||
high = 1654;
|
high = 1050;
|
||||||
width = 1170;
|
width = 500;
|
||||||
}else{
|
}else{
|
||||||
Library libFile = libraryService.getById(design.getTemplateId());
|
Library libFile = libraryService.getById(design.getTemplateId());
|
||||||
Assert.notNull(libFile,"model does not exists!");
|
Assert.notNull(libFile,"model does not exists!");
|
||||||
|
|||||||
Reference in New Issue
Block a user