fix:project添加lyric包扫描
This commit is contained in:
@@ -87,6 +87,19 @@
|
||||
<version>4.4.0</version>
|
||||
</dependency>
|
||||
|
||||
<!--外部系统交互-->
|
||||
<dependency>
|
||||
<groupId>com.sdm</groupId>
|
||||
<artifactId>outbridge</artifactId>
|
||||
<version>0.0.1-SNAPSHOT</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>*</groupId>
|
||||
<artifactId>*</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
|
||||
@@ -6,7 +6,7 @@ import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
||||
import org.springframework.cloud.openfeign.EnableFeignClients;
|
||||
import org.springframework.scheduling.annotation.EnableScheduling;
|
||||
|
||||
@SpringBootApplication(scanBasePackages = {"com.sdm.project", "com.sdm.common"})
|
||||
@SpringBootApplication(scanBasePackages = {"com.sdm.project", "com.sdm.common", "com.sdm.outbridge"})
|
||||
@EnableDiscoveryClient
|
||||
@EnableScheduling
|
||||
@EnableFeignClients(basePackages = "com.sdm.common.feign")
|
||||
|
||||
@@ -2,7 +2,7 @@ package com.sdm.project.controller;
|
||||
|
||||
import com.alibaba.excel.util.StringUtils;
|
||||
import com.sdm.common.common.SdmResponse;
|
||||
import com.sdm.common.service.lyric.LyricIntegrateService;
|
||||
import com.sdm.outbridge.service.lyric.LyricIntegrateService;
|
||||
import com.sdm.project.common.ApprovalStatusEnum;
|
||||
import com.sdm.project.model.entity.SimulationNode;
|
||||
import com.sdm.project.service.ISimulationLyricNodeService;
|
||||
|
||||
@@ -706,7 +706,7 @@ public class TaskServiceImpl implements ITaskService {
|
||||
taskCountResp.setClosed((int) taskList.stream().filter(i -> TaskExeStatusEnum.CLOSED.getCode().equals(i.getExeStatus())).count());
|
||||
taskCountResp.setPaused((int) taskList.stream().filter(i -> TaskExeStatusEnum.PAUSED.getCode().equals(i.getExeStatus())).count());
|
||||
taskCountResp.setRejected((int) taskList.stream().filter(i -> TaskExeStatusEnum.REJECTED.getCode().equals(i.getExeStatus())).count());
|
||||
taskCountResp.setTodayTmrTasks((int) taskList.stream().filter(todayTmrTaskList::contains).count());
|
||||
taskCountResp.setTodayTmrTasks(todayTmrTaskList.size());
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user