Quellcode durchsuchen

Merge branch 'develop' of gitadmin/tuoheng_lc into release

tags/v1.2.0^2
wanjing vor 1 Jahr
Ursprung
Commit
c663abe876
1 geänderte Dateien mit 4 neuen und 3 gelöschten Zeilen
  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 Datei anzeigen

@@ -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)) {
//获取巡检机场

Laden…
Abbrechen
Speichern