Update ClaimVerificationServiceImpl.java
This commit is contained in:
@@ -144,7 +144,7 @@ public class ClaimVerificationServiceImpl implements ClaimVerificationService {
|
|||||||
diFyObject = (JSONObject) diFyService.getDiFyObject(diFyReq);
|
diFyObject = (JSONObject) diFyService.getDiFyObject(diFyReq);
|
||||||
//处理结果并推送MQ
|
//处理结果并推送MQ
|
||||||
if (diFyObject == null) {
|
if (diFyObject == null) {
|
||||||
log.error(" 售后索赔检核文件分析dify返回结果为空");
|
log.error("售后索赔检核文件分析dify返回结果为空");
|
||||||
saveException("售后索赔检核文件分析dify返回结果为空", aiAnalysisRequestId, null);
|
saveException("售后索赔检核文件分析dify返回结果为空", aiAnalysisRequestId, null);
|
||||||
} else {
|
} else {
|
||||||
//解析dify返回结果
|
//解析dify返回结果
|
||||||
@@ -378,7 +378,7 @@ public class ClaimVerificationServiceImpl implements ClaimVerificationService {
|
|||||||
if(toAfter == null || toAfter.isEmpty()){
|
if(toAfter == null || toAfter.isEmpty()){
|
||||||
toAfter = diFyObject.getJSONObject("textImage").toJSONString();
|
toAfter = diFyObject.getJSONObject("textImage").toJSONString();
|
||||||
if(toAfter == null || toAfter.isEmpty()){
|
if(toAfter == null || toAfter.isEmpty()){
|
||||||
throw new RuntimeException(" 售后索赔检核文件分析dify返回结果为空");
|
throw new RuntimeException("售后索赔检核文件分析dify返回结果为空");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user