You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
63 lines
1.4 KiB
Java
63 lines
1.4 KiB
Java
package com.docus.server.collection.receiver;
|
|
|
|
import com.docus.server.collection.service.IPowerDeptService;
|
|
import com.docus.server.collection.service.IPowerUserService;
|
|
import com.neusoft.nhip.ibmmq.jms.JmsIbmListener;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.stereotype.Component;
|
|
|
|
/**
|
|
* @author jiashi
|
|
* 梅州中医医院 MQ 消费者监听
|
|
*/
|
|
@Component
|
|
@Slf4j
|
|
public class MzZyMqReceiver {
|
|
|
|
@Autowired
|
|
private IPowerUserService powerUserService;
|
|
@Autowired
|
|
private IPowerDeptService powerDeptService;
|
|
|
|
/**
|
|
* 订阅队列(注册科室)
|
|
* @param message 科室信息
|
|
*/
|
|
@JmsIbmListener(destination = "TJ_createDepartment")
|
|
public void revCreateDepartment(String message){
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
* 订阅队列(变更科室)
|
|
* @param message 科室信息
|
|
*/
|
|
@JmsIbmListener(destination = "TJ_updateDepartment")
|
|
public void revUpdateDepartment(String message){
|
|
|
|
}
|
|
|
|
|
|
/**
|
|
* 订阅队列(注册人员)
|
|
* @param message 人员信息
|
|
*/
|
|
@JmsIbmListener(destination = "TJ_createPractitioner")
|
|
public void revCreatePractitioner(String message){
|
|
|
|
}
|
|
|
|
|
|
/**
|
|
* 订阅队列(变更人员)
|
|
* @param message 人员信息
|
|
*/
|
|
@JmsIbmListener(destination = "TJ_updatePractitione")
|
|
public void revUpdatePractitioner(String message){
|
|
|
|
}
|
|
}
|