|
|
@@ -784,7 +784,9 @@ public class ProductServiceImpl extends CommonBaseServiceImpl<ProductMapper, Pro
|
|
|
while (it.hasNext()){
|
|
|
sb.append(it.next().getPr_id() + ",");
|
|
|
}
|
|
|
- updateB2BStatus(sb.substring(0, sb.length() - 1), "上传中");
|
|
|
+ if (sb.length() > 0) {
|
|
|
+ updateB2BStatus(sb.substring(0, sb.length() - 1), "上传中");
|
|
|
+ }
|
|
|
}else {
|
|
|
throw new BizException(BizExceptionCode.BIZ_ENABLE_B2B);
|
|
|
}
|