Commit 52744ca4 by 阮思源

加个判空,价格回滚

parent 018506d0
......@@ -2242,7 +2242,7 @@ public class BookGroupBizImpl implements BookGroupBiz {
@ParamLog("校验字段")
private void checkBookGroupServe(List<BookGroupServe> bookGroupServes){
if (ListUtils.isEmpty(bookGroupServes)) {
return;
throw new BookBizException(BookBizException.PARAM_IS_ERROR, "参数不能为空!");
}
for (BookGroupServe bookGroupServe : bookGroupServes) {
if (bookGroupServe == null) {
......@@ -2263,6 +2263,7 @@ public class BookGroupBizImpl implements BookGroupBiz {
}
}
@Transactional(rollbackFor = Exception.class)
@ParamLog("批量更新资源配置")
@Override
public void batchUpdateBookGroupServe(Long partyId, List<BookGroupServe> bookGroupServes) {
......
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