BUGFIX:redesign 性别传递;
This commit is contained in:
@@ -43,6 +43,8 @@ public class ReDesignCollectionDTO {
|
|||||||
|
|
||||||
private String modelType;
|
private String modelType;
|
||||||
|
|
||||||
|
private String modelSex;
|
||||||
|
|
||||||
@NotBlank(message = "singleOverall cannot be empty!")
|
@NotBlank(message = "singleOverall cannot be empty!")
|
||||||
@ApiModelProperty("控制生成类型的参数,两个选项:outfit时候传 single , 另外一个传 overall")
|
@ApiModelProperty("控制生成类型的参数,两个选项:outfit时候传 single , 另外一个传 overall")
|
||||||
private String singleOverall;
|
private String singleOverall;
|
||||||
|
|||||||
@@ -603,8 +603,8 @@ public class DesignServiceImpl extends ServiceImpl<DesignMapper, Design> impleme
|
|||||||
Arrays.asList(CollectionLevel1TypeEnum.PRINT_BOARD.getRealName(),
|
Arrays.asList(CollectionLevel1TypeEnum.PRINT_BOARD.getRealName(),
|
||||||
CollectionLevel1TypeEnum.SKETCH_BOARD.getRealName()));
|
CollectionLevel1TypeEnum.SKETCH_BOARD.getRealName()));
|
||||||
//校验collection element
|
//校验collection element
|
||||||
ValidateElementVO elementVO = collectionElementService.validateElement(
|
DesignCollectionDTO designCollectionDTO = CopyUtil.copyObject(reDesignDTO, DesignCollectionDTO.class);
|
||||||
CopyUtil.copyObject(reDesignDTO, DesignCollectionDTO.class));
|
ValidateElementVO elementVO = collectionElementService.validateElement(designCollectionDTO);
|
||||||
//计算并删除对应的未关联的element
|
//计算并删除对应的未关联的element
|
||||||
collectionElementService.batchDelete(
|
collectionElementService.batchDelete(
|
||||||
calculateNoRelationElement(reDesignDTO.getCollectionId(), elementVO.getUsedElementIds()));
|
calculateNoRelationElement(reDesignDTO.getCollectionId(), elementVO.getUsedElementIds()));
|
||||||
|
|||||||
Reference in New Issue
Block a user