OA附件返回值优化

This commit is contained in:
yuxueliang0813 2025-03-25 12:54:54 +08:00
parent 20f8988ac7
commit dc3114d7fb
1 changed files with 6 additions and 2 deletions

View File

@ -89,10 +89,14 @@ public class DobeContractAttachmentTask extends AbstractTask implements Plugin {
// /isc/prod/ZLHT20250105001/
//其中isc为供应链系统标志prod为生产/uat为测试ZLHT20250105001为接口传入的code字段
nasPath = resultjsonObject.getString("nasPath");
}else{
nasPath = null;
}
//记录成功日志
DobeDWUtils.saveLog(contractno,"致远附件",requrl,resultjson,true,"调用OA附件接口");
}else{
nasPath = null;
}
//记录OA附件调用结果日志
DobeDWUtils.saveLog(contractno,"致远附件",requrl,resultjson,true,"调用OA附件接口");
} catch (Exception e) {
//记录OA接口异常信息
logger.info(contractno+" 调用OA附件接口异常\n{}"+e.getMessage());