|
|
|
@@ -163,7 +163,7 @@ public class WxPressBatchServiceImpl implements WxPressBatchService { |
|
|
|
query.setPressBatchStatus(EnumPressBatchStatus.RUNNING.getCode()); |
|
|
|
List<WxPressBatchItem> batchList = wxPressBatchItemMapper.findList(query); |
|
|
|
//一个砍价商品只能存在一个有效的批次 |
|
|
|
if (null != batchList ) { |
|
|
|
if (null != batchList && batchList.size() > 0 ) { |
|
|
|
if (batchList.size() > 1) { |
|
|
|
throw new MallinkException(Result.ERROR,"该砍价["+coupon.getTitle()+"]存在多个有效批次活动,请联系管理员重新设置."); |
|
|
|
}else { |
|
|
|
|