|
@@ -105,10 +105,12 @@ public class HisController extends JeecgController<Audit, IAuditService> {
|
|
|
@ApiOperation(value="住院事中预警接口", notes="住院事中预警接口调用")
|
|
@ApiOperation(value="住院事中预警接口", notes="住院事中预警接口调用")
|
|
|
@PostMapping(value = "/hospMidIncidentWarning")
|
|
@PostMapping(value = "/hospMidIncidentWarning")
|
|
|
public Result hospMidIncidentWarning(@RequestBody @Valid HospMidIncidentWarningVO midIncidentWarningVO, HttpServletRequest httpServletRequest) {
|
|
public Result hospMidIncidentWarning(@RequestBody @Valid HospMidIncidentWarningVO midIncidentWarningVO, HttpServletRequest httpServletRequest) {
|
|
|
-
|
|
|
|
|
|
|
+ log.info("事中住院预警请求报文:{}", JSON.toJSONString(midIncidentWarningVO));
|
|
|
String ipStr = HttpUtils.getIPAddress(httpServletRequest);
|
|
String ipStr = HttpUtils.getIPAddress(httpServletRequest);
|
|
|
log.info("住院事中远端请求的服务ip地址:{}", ipStr);
|
|
log.info("住院事中远端请求的服务ip地址:{}", ipStr);
|
|
|
- return hospGetDataToRuleEngine.getHopsDataByVisiVo(midIncidentWarningVO);
|
|
|
|
|
|
|
+ Result result = hospGetDataToRuleEngine.getHopsDataByVisiVo(midIncidentWarningVO);
|
|
|
|
|
+ log.info("住院事中预警返回报文:{}", result);
|
|
|
|
|
+ return result;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@@ -123,11 +125,12 @@ public class HisController extends JeecgController<Audit, IAuditService> {
|
|
|
@ApiOperation(value="门诊事中预警接口", notes="门诊事中预警接口调用")
|
|
@ApiOperation(value="门诊事中预警接口", notes="门诊事中预警接口调用")
|
|
|
@PostMapping(value = "/outpatientMidIncidentWarning")
|
|
@PostMapping(value = "/outpatientMidIncidentWarning")
|
|
|
public Result outpatientMidIncidentWarning(@RequestBody @Valid MidIncidentWarningVO midIncidentWarningVO,HttpServletRequest httpServletRequest) {
|
|
public Result outpatientMidIncidentWarning(@RequestBody @Valid MidIncidentWarningVO midIncidentWarningVO,HttpServletRequest httpServletRequest) {
|
|
|
-
|
|
|
|
|
|
|
+ log.info("事中门诊预警请求报文:{}", JSON.toJSONString(midIncidentWarningVO));
|
|
|
String ipStr = HttpUtils.getIPAddress(httpServletRequest);
|
|
String ipStr = HttpUtils.getIPAddress(httpServletRequest);
|
|
|
log.info("事中远端请求的服务ip地址:{}", ipStr);
|
|
log.info("事中远端请求的服务ip地址:{}", ipStr);
|
|
|
midIncidentWarningVO.setVisit_type("2");
|
|
midIncidentWarningVO.setVisit_type("2");
|
|
|
MidResult midResult = ruleEngine.dealMidInterfaceEngin(midIncidentWarningVO);
|
|
MidResult midResult = ruleEngine.dealMidInterfaceEngin(midIncidentWarningVO);
|
|
|
|
|
+ log.info("事中门诊预警返回报文:{}", midResult);
|
|
|
return Result.OK(midResult);
|
|
return Result.OK(midResult);
|
|
|
}
|
|
}
|
|
|
|
|
|