Commit dc20d34f by 裴大威

Merge branch 'feat-1002325' into 'master'

geren

See merge request rays/pcloud-book!447
parents 332632e2 c1aeec50
......@@ -59,7 +59,8 @@ public class PcloudUserLabelBizImpl implements PcloudUserLabelBiz {
List<Integer> labelIdList = pcloudUserLabels.stream().map(e -> e.getPcloudLabelId()).collect(Collectors.toList());
if (!ListUtils.isEmpty(pcloudUserLabelDtos)){
List<Integer> labelIds = pcloudUserLabelDtos.stream().map(e -> e.getPcloudLabelId()).collect(Collectors.toList());
if (labelIds.retainAll(labelIdList)){
labelIds.retainAll(labelIdList);
if (labelIds.size() > 0){
throw new BookBizException(BookBizException.PARAM_IS_NULL,"标签已存在!");
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment