|
@@ -511,10 +511,10 @@ public class RefundManagementServiceImpl extends ServiceImpl<RefundManagementMap
|
|
|
applyDetails.setRefundManagementId(refundManagementVo.getBusinessKey());
|
|
|
applyDetails.setStatus(0);
|
|
|
applyDetails.setUserId(ThreadLocalUtil.getUserId());
|
|
|
- applyDetails.setAmountCapitalization(NumberChineseFormatterUtils.format(applyDetails.getPaymentAmountTotal().doubleValue(), false, true));
|
|
|
+ applyDetails.setAmountCapitalization(MoneyToCNFormatUtil.formatToCN(applyDetails.getPaymentAmountTotal().doubleValue()));
|
|
|
refundsApplyDetailsService.save(applyDetails);
|
|
|
|
|
|
- if (OaFlowPaymentMatterTypeDic.ChildEnum.OA_UPSTREAM_GOODS_PAYMENT_MATTER.getCode().equals(applyDetails.getPaymentMatter())
|
|
|
+ if (OaFlowPaymentMatterTypeDic.ChildEnum.OA_REFUND_MATTER.getCode().equals(applyDetails.getPaymentMatter())
|
|
|
&& CollectionUtil.isNotEmpty(selectedPlans)) {
|
|
|
selectedPlans.forEach(plan -> {
|
|
|
RefundsApplyDetailsPayCollPlanRef applyDetailsPayCollPlanRef = new RefundsApplyDetailsPayCollPlanRef();
|