|
|
@@ -274,15 +274,6 @@ public class WithdrawService extends SuperService {
|
|
|
if (StringUtils.isBlank(userId)){
|
|
|
userId = getCurrentUserId();
|
|
|
}
|
|
|
- String projectOid = getCurrentProjectOid();
|
|
|
- if (StringUtils.isBlank(projectOid)){
|
|
|
- return com.github.microservice.net.ResultContent.buildFail("当前项目oid为空");
|
|
|
- }
|
|
|
- boolean isProjectManager = userOrgPermissService.userIsProjectManager(projectOid, userId);
|
|
|
- if (!isProjectManager){
|
|
|
- return com.github.microservice.net.ResultContent.buildFail("无操作权限");
|
|
|
- }
|
|
|
-
|
|
|
List<UserAccount> userAccounts = userAccountService.getUserAccounts(List.of(userId));
|
|
|
if (userAccounts==null || userAccounts.isEmpty()){
|
|
|
return com.github.microservice.net.ResultContent.buildFail("用户信息不存在");
|