package com.doumee.service.impl; import com.doumee.biz.system.SystemDictDataBiz; import com.doumee.core.haikang.model.HKConstants; import com.doumee.core.haikang.model.HKTools; import com.doumee.core.haikang.model.param.BaseResponse; import com.doumee.core.haikang.model.param.request.EventSubRequest; import com.doumee.core.haikang.model.param.respose.OrgInfoResponse; import com.doumee.core.haikang.service.HKService; import com.doumee.core.utils.Constants; import com.doumee.dao.business.WarningMapper; import com.doumee.dao.system.model.SystemDictData; import com.doumee.service.business.DeviceService; import com.doumee.service.business.InterfaceLogService; import com.doumee.service.business.impl.hksync.HkSyncBaseServiceImpl; import com.hikvision.artemis.sdk.config.ArtemisConfig; import org.apache.commons.lang3.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import javax.annotation.PostConstruct; import java.util.Date; /** * 海康事件订阅表Service实现 * @author 江蹄蹄 * @date 2023/11/30 15:33 */ @Service public class DeviceInitServiceImpl extends HkSyncBaseServiceImpl { @Autowired private DeviceService deviceService; @Autowired private InterfaceLogService interfaceLogService; @Autowired private WarningMapper warningMapper; @PostConstruct public int startDuanluqiMqttJob(){ //获取根组织编码 deviceService.startCheckDuanluqiSubjob(); return 0; } }