|
|
|
@@ -117,7 +117,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) { |
|
|
|
return new ResultData(Result.ERROR,"该砍价存在多个有效批次活动,请联系管理员重新设置."); |
|
|
|
}else { |
|
|
|
|