|
@@ -162,14 +162,18 @@ public class PrequalificationDeclaredProjectManage { |
|
|
* @return |
|
|
* @return |
|
|
*/ |
|
|
*/ |
|
|
public PageVo<ProjectLibListItemVO> projectLibList(PrequalificationDeclaredListReq preReq) { |
|
|
public PageVo<ProjectLibListItemVO> projectLibList(PrequalificationDeclaredListReq preReq) { |
|
|
|
|
|
UserInfoDetails userInfoDetail = LoginUserUtil.loginUserDetail(); |
|
|
|
|
|
VUtils.isTrue(Objects.isNull(userInfoDetail)).throwMessage("获取登录用户失败!"); |
|
|
|
|
|
if(!userInfoDetail.getIsOrgAdmin()){ |
|
|
|
|
|
return PageVo.empty(); |
|
|
|
|
|
} |
|
|
//限定参数 复制bean |
|
|
//限定参数 复制bean |
|
|
ProjectListReq req = new ProjectListReq(); |
|
|
ProjectListReq req = new ProjectListReq(); |
|
|
BeanUtils.copyProperties(preReq,req); |
|
|
BeanUtils.copyProperties(preReq,req); |
|
|
//项目阶段 状态 已定 待预审 |
|
|
//项目阶段 状态 已定 待预审 |
|
|
req.setStage(ProjectStatusEnum.NOT_APPROVED.getCode()); |
|
|
req.setStage(ProjectStatusEnum.NOT_APPROVED.getCode()); |
|
|
req.setStatus(ProjectStatusEnum.PENDING_PREQUALIFICATION.getCode()); |
|
|
req.setStatus(ProjectStatusEnum.PENDING_PREQUALIFICATION.getCode()); |
|
|
UserInfoDetails userInfoDetail = LoginUserUtil.loginUserDetail(); |
|
|
|
|
|
VUtils.isTrue(Objects.isNull(userInfoDetail)).throwMessage("获取登录用户失败!"); |
|
|
|
|
|
|
|
|
|
|
|
//放入用户的主管单位 |
|
|
//放入用户的主管单位 |
|
|
req.setSuperOrgCode(userInfoDetail.getOrganizationCode()); |
|
|
req.setSuperOrgCode(userInfoDetail.getOrganizationCode()); |
|
|
return projectLibManage.projectLibList(req); |
|
|
return projectLibManage.projectLibList(req); |
|
|