diff --git a/src/main/java/com/yn/bftl/thirdparty/modules/business/service/impl/SubaccountServiceImpl.java b/src/main/java/com/yn/bftl/thirdparty/modules/business/service/impl/SubaccountServiceImpl.java index b383298..ba7d157 100644 --- a/src/main/java/com/yn/bftl/thirdparty/modules/business/service/impl/SubaccountServiceImpl.java +++ b/src/main/java/com/yn/bftl/thirdparty/modules/business/service/impl/SubaccountServiceImpl.java @@ -2736,8 +2736,10 @@ switch (statement.getSubaccountType()) { case GOODS_COST: profitSharingWalletId = order.getSellerCompany().getWalletId();break; case BRAND_FEE: profitSharingWalletId = order.getBrandCompany().getWalletId();break; - case SERVICE_FEE: profitSharingWalletId = order.getDeviseCompany().getWalletId();break; - default: throw new YnceErrorException("分账失败,分账类型不正确"); + case DEVISE_FEE: profitSharingWalletId = order.getDeviseCompany().getWalletId();break; + default: + log.error("分账失败,分账类型不正确"); + throw new YnceErrorException("分账失败,分账类型不正确"); } ByxChinaumsGuaranteePayConfirmsDetailDTO confirmsDetailDTO = ByxChinaumsGuaranteePayConfirmsDetailDTO .builder()