|
@@ -123,11 +123,14 @@ public class FinanceInvoiceServiceImpl extends ServiceImpl<FinanceInvoiceMapper,
|
|
orderFund.setOrderName(item.getName());
|
|
orderFund.setOrderName(item.getName());
|
|
String oaNo = item.getOaNo();
|
|
String oaNo = item.getOaNo();
|
|
if (StrUtil.isBlank(oaNo)){
|
|
if (StrUtil.isBlank(oaNo)){
|
|
- ErrorCode.throwBusinessException(ErrorCode.CUSTOM_ERROR,"项目编号(大友OA编号不能为空)");
|
|
|
|
|
|
+ //ErrorCode.throwBusinessException(ErrorCode.CUSTOM_ERROR,"项目编号(大友OA编号不能为空)");
|
|
|
|
+ //如果没有大友OA流水号就用事业部流水号
|
|
|
|
+ oaNo = item.getBusinessNo();
|
|
}
|
|
}
|
|
orderFund.setOrderId(oaNo);
|
|
orderFund.setOrderId(oaNo);
|
|
orderFund.setBusinessId(item.getId());
|
|
orderFund.setBusinessId(item.getId());
|
|
orderFund.setBusinessType(ITEM_BUSINESS.name());
|
|
orderFund.setBusinessType(ITEM_BUSINESS.name());
|
|
|
|
+ orderFund.setClientManagerId(item.getUserId());
|
|
orderFundService.add(orderFund);
|
|
orderFundService.add(orderFund);
|
|
dto.setOrderFundId(orderFund.getId());
|
|
dto.setOrderFundId(orderFund.getId());
|
|
}
|
|
}
|