|
|
@@ -1,5 +1,6 @@
|
|
|
package cn.reghao.bnt.web.devops.app.service.bd;
|
|
|
|
|
|
+import cn.reghao.bnt.web.devops.app.db.repository.AppBuildingRepository;
|
|
|
import cn.reghao.bnt.web.devops.app.db.repository.log.BuildLogRepository;
|
|
|
import cn.reghao.bnt.web.devops.app.db.repository.log.DeployLogRepository;
|
|
|
import cn.reghao.bnt.web.devops.app.model.po.config.AppConfig;
|
|
|
@@ -18,10 +19,13 @@ import java.util.List;
|
|
|
public class BuildLogService {
|
|
|
private final BuildLogRepository buildLogRepository;
|
|
|
private final DeployLogRepository deployLogRepository;
|
|
|
+ private AppBuildingRepository buildingRepository;
|
|
|
|
|
|
- public BuildLogService(BuildLogRepository buildLogRepository, DeployLogRepository deployLogRepository) {
|
|
|
+ public BuildLogService(BuildLogRepository buildLogRepository, DeployLogRepository deployLogRepository,
|
|
|
+ AppBuildingRepository buildingRepository) {
|
|
|
this.buildLogRepository = buildLogRepository;
|
|
|
this.deployLogRepository = deployLogRepository;
|
|
|
+ this.buildingRepository = buildingRepository;
|
|
|
}
|
|
|
|
|
|
@Modifying
|