|
|
@@ -97,6 +97,8 @@ public class DelayedApplyManage { |
|
|
|
VUtils.isTrue(Objects.isNull(user)).throwMessage("获取登录用户失败!"); |
|
|
|
LambdaQueryWrapper<Project> query = ProjectHelper.projectQuery(req); |
|
|
|
//待终验 并且已经过期 |
|
|
|
//只能看自己单位的 |
|
|
|
query.eq(Project::getBuildOrgCode,user.getEmpPosUnitCode()); |
|
|
|
query.eq(Project::getStatus,ProjectStatusEnum.TO_BE_FINALLY_INSPECTED.getCode()); |
|
|
|
query.eq(Project::getStage,ProjectStatusEnum.PROJECT_APPROVED.getCode()); |
|
|
|
query.lt(Project::getPlanAcceptanceTime, LocalDateTime.now()); |
|
|
@@ -165,6 +167,8 @@ public class DelayedApplyManage { |
|
|
|
VUtils.isTrue(Objects.isNull(user)).throwMessage("获取登录用户失败!"); |
|
|
|
LambdaQueryWrapper<Project> query = ProjectHelper.projectQuery(param); |
|
|
|
//待终验 |
|
|
|
//只能看自己单位的 |
|
|
|
query.eq(Project::getBuildOrgCode,user.getEmpPosUnitCode()); |
|
|
|
query.eq(Project::getStatus,ProjectStatusEnum.TO_BE_FINALLY_INSPECTED.getCode()); |
|
|
|
query.eq(Project::getStage,ProjectStatusEnum.PROJECT_APPROVED.getCode()); |
|
|
|
query.eq(Project::getNewest,Boolean.TRUE); |
|
|
|