Commit 742a367d by guojuxing

订购详情服务修改,如果是空,不再返回错误,而是null

parent 80be91da
......@@ -542,6 +542,10 @@ public class EnterpriseController {
if (transferResult.isSuccess()) {
TransferAccountsApprovalDTO transfer = transferResult.getResult();
TransferApprovalServiceVO vo = EntityUtil.changeEntityNew(TransferApprovalServiceVO.class, transfer);
//如果是空的,说明订购记录不走财务转账审批
if (vo == null) {
vo = new TransferApprovalServiceVO();
}
ServiceResponse<OrderDTO> orderResult = orderApiService.getOrderForFinance(orderNum);
if (orderResult.isSuccess()) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment