BUGFIX:redesign 性别传递;

This commit is contained in:
shahaibo
2023-10-11 11:18:56 +08:00
parent 9c162f7ab8
commit b38754cf74
2 changed files with 4 additions and 2 deletions

View File

@@ -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()));