Commit 12346f8f by niewei

dblck引用

parent 82b6d938
...@@ -11,6 +11,7 @@ import org.slf4j.LoggerFactory; ...@@ -11,6 +11,7 @@ import org.slf4j.LoggerFactory;
import org.slf4j.Logger; import org.slf4j.Logger;
import com.brilliance.isc.common.lock.LockInfo; import com.brilliance.isc.common.lock.LockInfo;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation; import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional; import org.springframework.transaction.annotation.Transactional;
...@@ -19,7 +20,7 @@ import javax.annotation.Resource; ...@@ -19,7 +20,7 @@ import javax.annotation.Resource;
import java.util.List; import java.util.List;
import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeUnit;
@Primary
@Service @Service
public class DBLckBizLocker extends AbstractBizLocker { public class DBLckBizLocker extends AbstractBizLocker {
private static Logger logger = LoggerFactory.getLogger(RedisBizLocker.class); private static Logger logger = LoggerFactory.getLogger(RedisBizLocker.class);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment