|
|
@ -251,7 +251,7 @@ public class GroupActInfoServiceImpl extends BaseServiceImpl<GroupActInfoDao, Gr |
|
|
|
} |
|
|
|
if (!CollectionUtils.isEmpty(formDTO.getImgList())) { |
|
|
|
//最多选择3张图片
|
|
|
|
if (formDTO.getTextList().get(NumConstant.ZERO).length() > NumConstant.THREE) { |
|
|
|
if (formDTO.getImgList().size() > NumConstant.THREE) { |
|
|
|
throw new RenException(EpmetErrorCode.GROUP_ACT_IMG_MAX.getCode(), EpmetErrorCode.GROUP_ACT_IMG_MAX.getMsg()); |
|
|
|
} |
|
|
|
} |
|
|
|