|
@@ -110,8 +110,15 @@ public class MrtestInfoFacade extends MrtestInfoServiceImpl {
|
|
|
RespDTO<IndicationDTO> resp = cdssCoreClient.indication(indicationPushVO);
|
|
|
if (null != resp && null != resp.data) {
|
|
|
mrtestInfo.setGmtModified(now);
|
|
|
- mrtestInfo.setResult(GsonUtil.toJson(resp.data.getBillMsgList()));
|
|
|
- mrtestInfo.setPass(0);
|
|
|
+ String billMsg = GsonUtil.toJson(resp.data.getBillMsgList());
|
|
|
+ mrtestInfo.setResult(billMsg);
|
|
|
+ if (StringUtil.isNotBlank(mrtestInfo.getReplaceWord())
|
|
|
+ && billMsg.contains(mrtestInfo.getReplaceWord())) {
|
|
|
+ mrtestInfo.setPass(1);
|
|
|
+ } else {
|
|
|
+ mrtestInfo.setPass(0);
|
|
|
+ }
|
|
|
+
|
|
|
mrtestInfo.setRemark("提醒接口有返回结果");
|
|
|
} else {
|
|
|
mrtestInfo.setGmtModified(now);
|