|
@@ -62,9 +62,6 @@ public class AlgorithmService implements IAlgorithmService {
|
|
|
private IAirConfigurationService airConfigurationService;
|
|
|
@Resource
|
|
|
private ILifePredictionService lifePredictionService;
|
|
|
-
|
|
|
- @Resource
|
|
|
- private ITaskService taskService;
|
|
|
@Resource
|
|
|
private IQaHistoryService qaHistoryService;
|
|
|
@Resource
|
|
@@ -147,6 +144,12 @@ public class AlgorithmService implements IAlgorithmService {
|
|
|
@Transactional
|
|
|
public void executeFalseAlarm(AlgorithmBo algorithmBo) {
|
|
|
WarningBo warningBo = new WarningBo();
|
|
|
+ if (StrUtil.isNotBlank(algorithmBo.getSortieNo())) {
|
|
|
+ throw new BusinessException("架次号不能为空!");
|
|
|
+ }
|
|
|
+ if (ObjectUtil.isEmpty(algorithmBo.getOssId())) {
|
|
|
+ throw new BusinessException("OssId不能为空!");
|
|
|
+ }
|
|
|
warningBo.setSortieNo(algorithmBo.getSortieNo());
|
|
|
// 警告列表
|
|
|
List<WarningVo> warningList = warningService.selectList(warningBo);
|