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