Commit 2edbca61 by 阮思源

修改下

parent 56237d72
...@@ -517,6 +517,9 @@ public class BookGroupBizImpl implements BookGroupBiz { ...@@ -517,6 +517,9 @@ public class BookGroupBizImpl implements BookGroupBiz {
if (null == group) { if (null == group) {
throw new BookBizException(BookBizException.PARAM_IS_NULL, "群二维码不存在!"); throw new BookBizException(BookBizException.PARAM_IS_NULL, "群二维码不存在!");
} }
if (!bookGroup.getJoinGroupType().equals(group.getJoinGroupType())) {
throw new BookBizException(BookBizException.PARAM_IS_NULL, "社群码前后类型不一致!!");
}
if (null == group.getProductId()) { if (null == group.getProductId()) {
AddAppProductParamDTO addAppProductParamDTO = new AddAppProductParamDTO(); AddAppProductParamDTO addAppProductParamDTO = new AddAppProductParamDTO();
addAppProductParamDTO.setAppProCode(ProductTypeConstant.BOOK_GROUP); addAppProductParamDTO.setAppProCode(ProductTypeConstant.BOOK_GROUP);
......
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