BUGFIX:模特;
This commit is contained in:
@@ -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;
|
||||
|
||||
}
|
||||
|
||||
@@ -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的
|
||||
|
||||
@@ -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关联
|
||||
|
||||
Reference in New Issue
Block a user