| | |
| | | import com.fzzy.api.dto.ResponseDto; |
| | | import com.fzzy.api.entity.*; |
| | | import com.fzzy.api.service.ApiRemoteService; |
| | | import com.fzzy.api.service.PushService11; |
| | | import com.fzzy.api.service.PushService13; |
| | | import com.fzzy.api.view.repository.*; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | |
| | | */ |
| | | @Slf4j |
| | | @Component |
| | | public class NX2023PushService13 implements PushService11 { |
| | | public class NX2023PushService13 implements PushService13 { |
| | | |
| | | |
| | | @Autowired |
| | |
| | | List<Api1308> list = api1308Rep.findAll(); |
| | | |
| | | if (null == list || list.isEmpty()) { |
| | | log.error("-----宁夏省平台2023版:未获取到仓内视频图像,不推送-----"); |
| | | log.error("-----宁夏省平台2023版:未获取到视频监控异常事件告警,不推送-----"); |
| | | return; |
| | | } |
| | | param.setInteCategory(Constant.API_CATEGORY_13); |
| | |
| | | List<Api1309> list = api1309Rep.findAll(); |
| | | |
| | | if (null == list || list.isEmpty()) { |
| | | log.error("-----宁夏省平台2023版:未获取到仓内视频图像,不推送-----"); |
| | | log.error("-----宁夏省平台2023版:未获取到违规预警信息,不推送-----"); |
| | | return; |
| | | } |
| | | param.setInteCategory(Constant.API_CATEGORY_13); |