|
@@ -7,8 +7,6 @@ import javax.annotation.Resource;
|
|
|
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
-import org.springframework.dao.DataAccessException;
|
|
|
-import org.springframework.data.redis.connection.RedisConnection;
|
|
|
import org.springframework.data.redis.core.RedisCallback;
|
|
|
import org.springframework.data.redis.core.RedisTemplate;
|
|
|
import org.springframework.stereotype.Component;
|
|
@@ -20,6 +18,7 @@ import com.persagy.entity.AlarmConditionState;
|
|
|
import com.persagy.entity.ZktAlarmRecordDO;
|
|
|
import com.persagy.entity.v2.AlarmCondition;
|
|
|
import com.persagy.repository.AlarmRecordRepository;
|
|
|
+
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
|
|
|
@Component
|