|
|
|
@ -19,13 +19,15 @@ import javax.annotation.Resource;
|
|
|
|
|
@Service
|
|
|
|
|
@Slf4j
|
|
|
|
|
public class ReportServerImpl implements IReportServer {
|
|
|
|
|
private static final String CONVERTER = "reportConverter";
|
|
|
|
|
private static final String WS_RESULT = "wsReportResultImpl";
|
|
|
|
|
@Resource
|
|
|
|
|
private IReportService reportService;
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
@TrackGroup(
|
|
|
|
|
group = "WEBSERVICE_XML_SA_REPORT",
|
|
|
|
|
beanNames = {"reportConverter", "wsReportResultImpl"},
|
|
|
|
|
beanNames = {CONVERTER, WS_RESULT},
|
|
|
|
|
processor = VisitorProcessor.class)
|
|
|
|
|
public String pushSAReport(String message) {
|
|
|
|
|
report();
|
|
|
|
@ -35,7 +37,7 @@ public class ReportServerImpl implements IReportServer {
|
|
|
|
|
@Override
|
|
|
|
|
@TrackGroup(
|
|
|
|
|
group = "WEBSERVICE_XML_ICU_REPORT",
|
|
|
|
|
beanNames = {"reportConverter", "wsReportResultImpl"},
|
|
|
|
|
beanNames = {CONVERTER, WS_RESULT},
|
|
|
|
|
processor = VisitorProcessor.class)
|
|
|
|
|
public String pushICUReport(String message) {
|
|
|
|
|
log.info("收到重症消息:{}", message);
|
|
|
|
@ -46,7 +48,7 @@ public class ReportServerImpl implements IReportServer {
|
|
|
|
|
@Override
|
|
|
|
|
@TrackGroup(
|
|
|
|
|
group = "WEBSERVICE_XML_EXAMINATION_REPORT",
|
|
|
|
|
beanNames = {"reportConverter", "wsReportResultImpl"},
|
|
|
|
|
beanNames = {CONVERTER, WS_RESULT},
|
|
|
|
|
processor = VisitorProcessor.class)
|
|
|
|
|
public String pushExaminationReport(String message) {
|
|
|
|
|
log.info("收到检验报告消息:{}", message);
|
|
|
|
@ -57,7 +59,7 @@ public class ReportServerImpl implements IReportServer {
|
|
|
|
|
@Override
|
|
|
|
|
@TrackGroup(
|
|
|
|
|
group = "WEBSERVICE_XML_INSERT_INSPECTION_REPORT",
|
|
|
|
|
beanNames = {"reportConverter", "wsReportResultImpl"},
|
|
|
|
|
beanNames = {CONVERTER, WS_RESULT},
|
|
|
|
|
processor = VisitorProcessor.class)
|
|
|
|
|
public String pushAddInspectionReport(String message) {
|
|
|
|
|
log.info("收到检查报告新增消息:{}", message);
|
|
|
|
@ -68,7 +70,7 @@ public class ReportServerImpl implements IReportServer {
|
|
|
|
|
@Override
|
|
|
|
|
@TrackGroup(
|
|
|
|
|
group = "WEBSERVICE_XML_UPDATE_INSPECTION_REPORT",
|
|
|
|
|
beanNames = {"reportConverter", "wsReportResultImpl"},
|
|
|
|
|
beanNames = {CONVERTER, WS_RESULT},
|
|
|
|
|
processor = VisitorProcessor.class)
|
|
|
|
|
public String pushUpdateInspectionReport(String message) {
|
|
|
|
|
log.info("收到检查报告更新消息:{}", message);
|
|
|
|
|