|
|
@ -1,6 +1,5 @@ |
|
|
|
package com.hnac.hzims.operational.station.service.impl; |
|
|
|
package com.hnac.hzims.operational.station.service.impl; |
|
|
|
|
|
|
|
|
|
|
|
import cn.hutool.core.util.RandomUtil; |
|
|
|
|
|
|
|
import cn.hutool.http.HttpResponse; |
|
|
|
import cn.hutool.http.HttpResponse; |
|
|
|
import cn.hutool.http.HttpUtil; |
|
|
|
import cn.hutool.http.HttpUtil; |
|
|
|
import com.alibaba.fastjson.JSON; |
|
|
|
import com.alibaba.fastjson.JSON; |
|
|
@ -10,7 +9,6 @@ import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
|
|
|
import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
|
|
|
import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
|
|
|
import com.hikvision.artemis.sdk.ArtemisHttpUtil; |
|
|
|
|
|
|
|
import com.hnac.hzims.operational.config.HikPathConfiguration; |
|
|
|
import com.hnac.hzims.operational.config.HikPathConfiguration; |
|
|
|
import com.hnac.hzims.operational.station.StationConstants; |
|
|
|
import com.hnac.hzims.operational.station.StationConstants; |
|
|
|
import com.hnac.hzims.operational.station.dto.StationVideoTypeDTO; |
|
|
|
import com.hnac.hzims.operational.station.dto.StationVideoTypeDTO; |
|
|
@ -19,39 +17,28 @@ import com.hnac.hzims.operational.station.entity.StationVideoTypeEntity; |
|
|
|
import com.hnac.hzims.operational.station.mapper.StationVideoTypeMapper; |
|
|
|
import com.hnac.hzims.operational.station.mapper.StationVideoTypeMapper; |
|
|
|
import com.hnac.hzims.operational.station.response.HikDeviceResp; |
|
|
|
import com.hnac.hzims.operational.station.response.HikDeviceResp; |
|
|
|
import com.hnac.hzims.operational.station.response.HikMonitorResp; |
|
|
|
import com.hnac.hzims.operational.station.response.HikMonitorResp; |
|
|
|
import com.hnac.hzims.operational.station.service.IStationService; |
|
|
|
|
|
|
|
import com.hnac.hzims.operational.station.service.IStationVideoTypeService; |
|
|
|
import com.hnac.hzims.operational.station.service.IStationVideoTypeService; |
|
|
|
import com.hnac.hzims.operational.station.utils.ArtemisPostUtils; |
|
|
|
import com.hnac.hzims.operational.station.utils.ArtemisPostUtils; |
|
|
|
import com.hnac.hzims.operational.station.vo.StationVO; |
|
|
|
|
|
|
|
import com.hnac.hzims.operational.station.vo.StationVideoTypeVO; |
|
|
|
import com.hnac.hzims.operational.station.vo.StationVideoTypeVO; |
|
|
|
import com.hnac.hzims.operational.station.vo.VideoMonitorVO; |
|
|
|
import com.hnac.hzims.operational.station.vo.VideoMonitorVO; |
|
|
|
import com.hnac.hzims.operational.station.wrapper.StationVideoTypeWrapper; |
|
|
|
|
|
|
|
import com.hnac.hzims.operational.station.wrapper.StationWrapper; |
|
|
|
|
|
|
|
import com.hnac.hzims.operational.util.HttpClientUtils; |
|
|
|
|
|
|
|
import lombok.AllArgsConstructor; |
|
|
|
|
|
|
|
import lombok.RequiredArgsConstructor; |
|
|
|
import lombok.RequiredArgsConstructor; |
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.springblade.core.jwt.JwtUtil; |
|
|
|
|
|
|
|
import org.springblade.core.log.exception.ServiceException; |
|
|
|
import org.springblade.core.log.exception.ServiceException; |
|
|
|
import org.springblade.core.log.logger.BladeLogger; |
|
|
|
import org.springblade.core.log.logger.BladeLogger; |
|
|
|
import org.springblade.core.mp.base.BaseServiceImpl; |
|
|
|
import org.springblade.core.mp.base.BaseServiceImpl; |
|
|
|
import org.springblade.core.mp.support.Condition; |
|
|
|
import org.springblade.core.mp.support.Condition; |
|
|
|
import org.springblade.core.mp.support.Query; |
|
|
|
import org.springblade.core.mp.support.Query; |
|
|
|
import org.springblade.core.tool.api.R; |
|
|
|
|
|
|
|
import org.springblade.core.tool.utils.*; |
|
|
|
import org.springblade.core.tool.utils.*; |
|
|
|
import org.springblade.system.cache.DictCache; |
|
|
|
import org.springblade.system.cache.DictCache; |
|
|
|
import org.springblade.system.entity.Dept; |
|
|
|
|
|
|
|
import org.springblade.system.feign.ISysClient; |
|
|
|
|
|
|
|
import org.springblade.system.user.entity.User; |
|
|
|
|
|
|
|
import org.springblade.system.user.feign.IUserClient; |
|
|
|
|
|
|
|
import org.springframework.beans.factory.annotation.Value; |
|
|
|
import org.springframework.beans.factory.annotation.Value; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
import org.springframework.util.Assert; |
|
|
|
import org.springframework.util.Assert; |
|
|
|
|
|
|
|
|
|
|
|
import javax.servlet.http.HttpServletResponse; |
|
|
|
import javax.servlet.http.HttpServletResponse; |
|
|
|
import java.sql.Wrapper; |
|
|
|
import java.util.ArrayList; |
|
|
|
import java.util.*; |
|
|
|
import java.util.Arrays; |
|
|
|
import java.util.concurrent.ConcurrentHashMap; |
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
import java.util.Map; |
|
|
|
import java.util.stream.Collectors; |
|
|
|
import java.util.stream.Collectors; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|