|
@@ -4,6 +4,7 @@ import com.diagbot.dto.IndicationDTO;
|
|
import com.diagbot.dto.WordCrfDTO;
|
|
import com.diagbot.dto.WordCrfDTO;
|
|
import com.diagbot.facade.BillFacade;
|
|
import com.diagbot.facade.BillFacade;
|
|
import com.diagbot.facade.HighRiskFacade;
|
|
import com.diagbot.facade.HighRiskFacade;
|
|
|
|
+import com.diagbot.util.CoreUtil;
|
|
import com.diagbot.vo.IndicationPushVO;
|
|
import com.diagbot.vo.IndicationPushVO;
|
|
import io.github.lvyahui8.spring.annotation.DataConsumer;
|
|
import io.github.lvyahui8.spring.annotation.DataConsumer;
|
|
import io.github.lvyahui8.spring.annotation.DataProvider;
|
|
import io.github.lvyahui8.spring.annotation.DataProvider;
|
|
@@ -33,9 +34,11 @@ public class IndicationAggregate {
|
|
IndicationDTO res = new IndicationDTO();
|
|
IndicationDTO res = new IndicationDTO();
|
|
if (billDTO != null) {
|
|
if (billDTO != null) {
|
|
res.setBillMsgList(billDTO.getBillMsgList());
|
|
res.setBillMsgList(billDTO.getBillMsgList());
|
|
|
|
+ res.getDebugStr().addAll(billDTO.getDebugStr()); // 调试信息
|
|
}
|
|
}
|
|
if (highrisk != null) {
|
|
if (highrisk != null) {
|
|
res.setHighRiskList(highrisk.getHighRiskList());
|
|
res.setHighRiskList(highrisk.getHighRiskList());
|
|
|
|
+ res.getDebugStr().addAll(highrisk.getDebugStr()); // 调试信息
|
|
}
|
|
}
|
|
return res;
|
|
return res;
|
|
}
|
|
}
|
|
@@ -50,10 +53,12 @@ public class IndicationAggregate {
|
|
@DataProvider("bill")
|
|
@DataProvider("bill")
|
|
public IndicationDTO bill(@InvokeParameter("wordCrfDTO") WordCrfDTO wordCrfDTO,
|
|
public IndicationDTO bill(@InvokeParameter("wordCrfDTO") WordCrfDTO wordCrfDTO,
|
|
@InvokeParameter("indicationPushVO") IndicationPushVO indicationPushVO) {
|
|
@InvokeParameter("indicationPushVO") IndicationPushVO indicationPushVO) {
|
|
|
|
+ long start = System.currentTimeMillis();
|
|
IndicationDTO res = new IndicationDTO();
|
|
IndicationDTO res = new IndicationDTO();
|
|
// 开单合理性
|
|
// 开单合理性
|
|
if (indicationPushVO != null && indicationPushVO.getRuleTypeList().contains("2")) {
|
|
if (indicationPushVO != null && indicationPushVO.getRuleTypeList().contains("2")) {
|
|
billFacade.billFac(indicationPushVO, wordCrfDTO, res);
|
|
billFacade.billFac(indicationPushVO, wordCrfDTO, res);
|
|
|
|
+ CoreUtil.getDebugStr(start, "开单规则", res.getDebugStr());
|
|
return res;
|
|
return res;
|
|
}
|
|
}
|
|
return null;
|
|
return null;
|
|
@@ -69,10 +74,12 @@ public class IndicationAggregate {
|
|
@DataProvider("highrisk")
|
|
@DataProvider("highrisk")
|
|
public IndicationDTO highrisk(@InvokeParameter("wordCrfDTO") WordCrfDTO wordCrfDTO,
|
|
public IndicationDTO highrisk(@InvokeParameter("wordCrfDTO") WordCrfDTO wordCrfDTO,
|
|
@InvokeParameter("indicationPushVO") IndicationPushVO indicationPushVO) {
|
|
@InvokeParameter("indicationPushVO") IndicationPushVO indicationPushVO) {
|
|
|
|
+ long start = System.currentTimeMillis();
|
|
IndicationDTO res = new IndicationDTO();
|
|
IndicationDTO res = new IndicationDTO();
|
|
// 高风险提示
|
|
// 高风险提示
|
|
if (indicationPushVO != null && indicationPushVO.getRuleTypeList().contains("3")) {
|
|
if (indicationPushVO != null && indicationPushVO.getRuleTypeList().contains("3")) {
|
|
highRiskFacade.highRiskFac(indicationPushVO, wordCrfDTO, res);
|
|
highRiskFacade.highRiskFac(indicationPushVO, wordCrfDTO, res);
|
|
|
|
+ CoreUtil.getDebugStr(start, "高风险提示", res.getDebugStr());
|
|
return res;
|
|
return res;
|
|
}
|
|
}
|
|
return null;
|
|
return null;
|