BUGFIX:模特;

This commit is contained in:
shahaibo
2023-10-05 15:14:50 +08:00
parent 907184d2eb
commit 61e9888ab9
3 changed files with 2 additions and 3 deletions

View File

@@ -52,8 +52,7 @@ public class DesignCollectionDTO {
@NotBlank(message = "timeZone cannot be empty!")
@ApiModelProperty("本地时区,比如 'Asia/Tokyo' 东京时间 , 'Asia/Shanghai' 北京时间 由js本地获取")
private String timeZone;
private String processId;
}

View File

@@ -191,7 +191,6 @@ public class PythonService {
DesignPythonObjects designPythonObjects = new DesignPythonObjects();
List<DesignPythonObject> objects = Lists.newArrayList();
designPythonObjects.setObjects(objects);
designPythonObjects.setProcess_id(UUID.randomUUID().toString());
long pinPrintNum = calculateDesignPinPrintNum(elementVO.getPrintBoardElements());
long noPinPrintNum = calculateDesignNoPinPrintNum(elementVO.getPrintBoardElements());
//没有print的

View File

@@ -300,6 +300,7 @@ public class DesignServiceImpl extends ServiceImpl<DesignMapper, Design> impleme
//组装design入参
DesignPythonObjects pythonObjects = pythonService.covertDesignParam(designDTO.getSystemScale(),
designDTO.getSingleOverall(), designDTO.getSwitchCategory(), elementVO);
pythonObjects.setProcess_id(designDTO.getProcessId());
//缓存保存的文件 方便后面处理进度问题
setDesignProcess(userInfo.getId(), pythonObjects);
// pythonObjects增加image_id关联