|
@@ -380,7 +380,10 @@ public class UserClient implements IUserClient {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
boolean updateCount = service.saveOrUpdateBatch(insertOrUpdateUserList);
|
|
boolean updateCount = service.saveOrUpdateBatch(insertOrUpdateUserList);
|
|
- return updateCount ? R.success("成功") : R.fail("失败");
|
|
|
|
|
|
+ if (!updateCount) {
|
|
|
|
+ throw new RuntimeException("更新用户失败");
|
|
|
|
+ }
|
|
|
|
+ return R.success("成功");
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|