|
|
@@ -7,7 +7,6 @@ import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
|
|
|
import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
|
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
|
|
|
import com.hz.pm.api.common.enumeration.ProjectProcessType; |
|
|
|
import com.hz.pm.api.common.statemachine.event.ProjectStateChangeEvent; |
|
|
|
import com.hz.pm.api.common.util.BizUtils; |
|
|
|
import com.hz.pm.api.external.model.enumeration.MhUnitStripEnum; |
|
|
|
import com.hz.pm.api.projectdeclared.manage.DeclaredProjectHelper; |
|
|
@@ -15,7 +14,6 @@ import com.hz.pm.api.projectlib.helper.ProjectChangeStopHelper; |
|
|
|
import com.hz.pm.api.projectlib.helper.ProjectManageUtil; |
|
|
|
import com.hz.pm.api.projectlib.model.entity.Project; |
|
|
|
import com.hz.pm.api.projectlib.model.entity.ProjectInst; |
|
|
|
import com.hz.pm.api.projectlib.model.entity.ProjectStatusChange; |
|
|
|
import com.hz.pm.api.projectlib.model.enumeration.status.ProjectStatus; |
|
|
|
import com.hz.pm.api.projectlib.model.req.ProjectListReq; |
|
|
|
import com.hz.pm.api.projectlib.model.req.SubmitProjectStoppedApplyReq; |
|
|
@@ -23,7 +21,6 @@ import com.hz.pm.api.projectlib.model.vo.ProjectLibListItemVO; |
|
|
|
import com.hz.pm.api.projectlib.model.vo.ProjectStoppedDetailVO; |
|
|
|
import com.hz.pm.api.projectlib.service.IProjectInstService; |
|
|
|
import com.hz.pm.api.projectlib.service.IProjectService; |
|
|
|
import com.hz.pm.api.projectlib.service.IProjectStatusChangeService; |
|
|
|
import com.hz.pm.api.sys.manage.ProcessModelManage; |
|
|
|
import com.hz.pm.api.user.security.model.UserInfoDetails; |
|
|
|
import com.hz.pm.api.user.util.LoginUserUtil; |
|
|
@@ -45,7 +42,6 @@ import java.util.List; |
|
|
|
import java.util.Map; |
|
|
|
import java.util.stream.Collectors; |
|
|
|
|
|
|
|
import static com.hz.pm.api.common.statemachine.event.ProjectStateChangeEvent.STOPPED_APPLY_AUTO_PASS; |
|
|
|
import static com.hz.pm.api.common.statemachine.event.ProjectStateChangeEvent.STOPPED_APPLY_SUBMIT; |
|
|
|
|
|
|
|
/** |
|
|
@@ -62,7 +58,6 @@ import static com.hz.pm.api.common.statemachine.event.ProjectStateChangeEvent.ST |
|
|
|
public class ProjectStoppedManage { |
|
|
|
|
|
|
|
private final IProjectService projectService; |
|
|
|
private final IProjectStatusChangeService projectStatusChangeService; |
|
|
|
private final IProjectInstService projectInstService; |
|
|
|
private final ProcessInstanceService processInstanceService; |
|
|
|
private final ProcessModelManage processModelManage; |
|
|
|