|
@@ -532,7 +532,7 @@ public class TenantActivationCodeServiceImpl extends ServiceImpl<TenantActivatio
|
|
|
return tenantActivationCode;
|
|
|
}).collect(Collectors.toList());
|
|
|
if (tenantActivationCodes.isEmpty()) {
|
|
|
- throw new BizException("没有合法的导入数据");
|
|
|
+ return HttpResponseResult.failed(500, null, "没有合法的导入数据");
|
|
|
}
|
|
|
this.updateBatchById(tenantActivationCodes, 50);
|
|
|
return HttpResponseResult.succeed();
|