|
@@ -6,6 +6,7 @@ import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
|
|
import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
|
|
import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
|
|
import com.google.common.collect.Sets; |
|
|
import com.google.common.collect.Sets; |
|
|
|
|
|
import com.ningdatech.basic.function.VUtils; |
|
|
import com.ningdatech.basic.model.PageVo; |
|
|
import com.ningdatech.basic.model.PageVo; |
|
|
import com.ningdatech.pmapi.common.helper.UserInfoHelper; |
|
|
import com.ningdatech.pmapi.common.helper.UserInfoHelper; |
|
|
import com.ningdatech.pmapi.projectdeclared.manage.DefaultDeclaredProjectManage; |
|
|
import com.ningdatech.pmapi.projectdeclared.manage.DefaultDeclaredProjectManage; |
|
@@ -29,10 +30,8 @@ import com.ningdatech.pmapi.workbench.model.vo.WorkbenchVO; |
|
|
import com.wflow.enums.WarningNoticeTypeEnum; |
|
|
import com.wflow.enums.WarningNoticeTypeEnum; |
|
|
import lombok.AllArgsConstructor; |
|
|
import lombok.AllArgsConstructor; |
|
|
import org.springframework.stereotype.Component; |
|
|
import org.springframework.stereotype.Component; |
|
|
import java.util.ArrayList; |
|
|
|
|
|
import java.util.List; |
|
|
|
|
|
import java.util.Map; |
|
|
|
|
|
import java.util.Set; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import java.util.*; |
|
|
import java.util.concurrent.CompletableFuture; |
|
|
import java.util.concurrent.CompletableFuture; |
|
|
import java.util.concurrent.ForkJoinPool; |
|
|
import java.util.concurrent.ForkJoinPool; |
|
|
import java.util.stream.Collectors; |
|
|
import java.util.stream.Collectors; |
|
@@ -224,4 +223,20 @@ public class WorkbenchManage { |
|
|
} |
|
|
} |
|
|
return projectEarlyWarning; |
|
|
return projectEarlyWarning; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* 催办 |
|
|
|
|
|
* @param recordId |
|
|
|
|
|
* @return |
|
|
|
|
|
*/ |
|
|
|
|
|
public String urging(Long recordId) { |
|
|
|
|
|
WflowEarlyWarningRecords record = earlyWarningRecordsService.getById(recordId); |
|
|
|
|
|
|
|
|
|
|
|
VUtils.isTrue(Objects.isNull(record)) |
|
|
|
|
|
.throwMessage("催办失败,id不存在!"); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return "催办成功"; |
|
|
|
|
|
} |
|
|
} |
|
|
} |