Parcourir la source

Merge branch 'develop' of gitadmin/tuoheng_lc into release

tags/v1.2.0^2
wanjing il y a 1 an
Parent
révision
c663abe876
1 fichiers modifiés avec 4 ajouts et 3 suppressions
  1. +4
    -3
      tuoheng-admin/src/main/java/com/tuoheng/admin/service/warning/details/WarningDetailsService.java

+ 4
- 3
tuoheng-admin/src/main/java/com/tuoheng/admin/service/warning/details/WarningDetailsService.java Voir le fichier

@@ -57,8 +57,9 @@ public class WarningDetailsService {
private UserMapper userMapper;

public JsonResult details(Integer id) {
User user = ShiroUtils.getUserInfo();
Integer tenantId = user.getTenantId();
User user = ShiroUtils.getUserInfo();
Integer tenantId = user.getTenantId();

//校验
if(null == id){
throw new ServiceException(ServiceExceptionEnum.PARAMETER_IS_NULL);
@@ -97,7 +98,7 @@ public class WarningDetailsService {
warningRecordVO.setRecordStartTime(x.getCreateTime());
//巡检机场名称
ThMission thMission = missionMapper.selectOne(new LambdaQueryWrapper<ThMission>()
.eq(ThMission::getId, x.getMissionId())
.eq(ThMission::getId, x.getEmergencyMissionId())
.eq(ThMission::getMark, 1));
if (ObjectUtils.isNotEmpty(thMission)) {
//获取巡检机场

Chargement…
Annuler
Enregistrer