Commit 6e4b8416 authored by 技术部-任文超's avatar 技术部-任文超

优化作用范围限定词

parent 01bd4e6c
...@@ -12,6 +12,8 @@ import org.springframework.beans.factory.annotation.Qualifier; ...@@ -12,6 +12,8 @@ import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.scheduling.annotation.Async; import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import javax.annotation.Resource;
/** /**
* Created by xuran on 2017/6/21. * Created by xuran on 2017/6/21.
* 用户统计信息 * 用户统计信息
...@@ -20,11 +22,11 @@ import org.springframework.stereotype.Service; ...@@ -20,11 +22,11 @@ import org.springframework.stereotype.Service;
public class LoanVestMQServiceImpl implements IVestService { public class LoanVestMQServiceImpl implements IVestService {
private static final Logger LOGGER = LoggerFactory.getLogger(LoanVestMQServiceImpl.class); private static final Logger LOGGER = LoggerFactory.getLogger(LoanVestMQServiceImpl.class);
@Autowired @Resource
@Qualifier("rabbitTemplate") @Qualifier("rabbitTemplate")
RabbitTemplate loanVestRabbitTemplate; private RabbitTemplate loanVestRabbitTemplate;
@Autowired @Resource
@Qualifier(value = "loanVestQueue") @Qualifier(value = "loanVestQueue")
Queue loanVestQueue; Queue loanVestQueue;
...@@ -32,6 +34,7 @@ public class LoanVestMQServiceImpl implements IVestService { ...@@ -32,6 +34,7 @@ public class LoanVestMQServiceImpl implements IVestService {
* 发送用登陆统计信息 * 发送用登陆统计信息
* @param message 订单信息 * @param message 订单信息
*/ */
@Override
@Async @Async
public void send(UserStatistics message){ public void send(UserStatistics message){
if(null==message){ if(null==message){
......
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