|
|
@ -15,6 +15,7 @@ import com.epmet.service.ProjectProcessService; |
|
|
|
import com.epmet.service.ProjectService; |
|
|
|
import com.epmet.service.ProjectStaffService; |
|
|
|
import com.epmet.service.ProjectTraceService; |
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
import org.springframework.util.CollectionUtils; |
|
|
@ -30,6 +31,7 @@ import java.util.stream.Collectors; |
|
|
|
* @date 2020/5/11 16:35 |
|
|
|
*/ |
|
|
|
@Service |
|
|
|
@Slf4j |
|
|
|
public class ProjectTraceServiceImpl implements ProjectTraceService { |
|
|
|
@Autowired |
|
|
|
private ProjectService projectService; |
|
|
@ -137,6 +139,7 @@ public class ProjectTraceServiceImpl implements ProjectTraceService { |
|
|
|
public List<ProcessListV2ResultDTO> processListV2(ProcessListV2FormDTO formDTO) { |
|
|
|
List<ProcessListV2ResultDTO> processList = projectProcessDao.selectProcessList(formDTO.getProjectId()); |
|
|
|
if (CollectionUtils.isEmpty(processList)){ |
|
|
|
log.warn(ProjectConstant.NOT_EXIST_PROJECT); |
|
|
|
return new ArrayList<>(); |
|
|
|
} |
|
|
|
List<PublicAndInternalFileResultDTO> files = attachmentDao.selectAttachByProjectId(formDTO.getProjectId()); |
|
|
|