Ver código fonte

Merge branch 'develop' of gitadmin/tuoheng_lc into release

tags/v1.2.0^2
chengwang 1 ano atrás
pai
commit
771ed1d06e
2 arquivos alterados com 3 adições e 3 exclusões
  1. +2
    -2
      tuoheng-admin/src/main/java/com/tuoheng/admin/service/third/airport/PointFlightService.java
  2. +1
    -1
      tuoheng-admin/src/main/java/com/tuoheng/admin/service/warning/details/WarningDetailsService.java

+ 2
- 2
tuoheng-admin/src/main/java/com/tuoheng/admin/service/third/airport/PointFlightService.java Ver arquivo

@@ -145,7 +145,7 @@ public class PointFlightService {
.eq(ThMission::getMark, MarkEnum.VALID.getCode()));
if (TaskStatusEnum.FLIGHT.getCode() == missionTmp.getStatus()) {
log.info("原机场正在执行任务");
throw new ServiceException("机场正在执行任务");
throw new ServiceException("发现该问题的机场正在执行任务");
}
}
} else {
@@ -155,7 +155,7 @@ public class PointFlightService {
.eq(ThMission::getMark, MarkEnum.VALID.getCode()));
if (ObjectUtil.isNotNull(missionTmp)) {
log.info("新机场正在执行任务");
throw new ServiceException("机场正在执行任务");
throw new ServiceException("机场正在执行任务");
}
}
return JsonResult.success(mission);

+ 1
- 1
tuoheng-admin/src/main/java/com/tuoheng/admin/service/warning/details/WarningDetailsService.java Ver arquivo

@@ -80,7 +80,7 @@ public class WarningDetailsService {
}
String fileOriginalUrl = question.getFileOriginalUrl();
if(StringUtils.isNotEmpty(fileOriginalUrl)){
vo.setFileOriginalUrl(CommonConfig.imageURL+fileOriginalUrl);
vo.setFileOriginalUrl(fileOriginalUrl);
}
//火灾核实记录 一条预警对应多条火灾预警记录
List<WarningRecordVO> warningRecordVo = new ArrayList<>();

Carregando…
Cancelar
Salvar