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