本文解答了关于《补贴收入账务处理》相关内容,同时关于1、财政补贴收入账务处理,2、补贴收入账务处理,3、补贴收入怎么做账,4、补贴收入怎么做分录,5、补贴收入计入什么会计科目,的相关问答本篇文章福途教育网小编也整理了进来,希望对您有帮助。
补贴收入账务处理
if (feeDtoList != null && feeDtoList.size() > 0) {
for (ProjectSubsidyPayDto subPay : feeDtoList) {
// 支付宝内部支付
if (SubsidyPaymentModeEnum.ALIPAY_INNER_PAYMENT.getValue().equals(subPay.getPaymentMode())) {
alipayInnerCount += subPay.getActualPayAmount();
}
//多笔代付
else if(SubsidyPaymentModeEnum.ALIPAY_BATCH_PAYMENT.getValue().equals(subPay.getPaymentMode())){
alipayBatchCount += subPay.getActualPayAmount();
}
//支付宝转账
else if(SubsidyPaymentModeEnum.ALIPAY_TRANSFER.getValue().equals(subPay.getPaymentMode())){
alipayTransferCount += subPay.getActualPayAmount();
}
}
//支付宝内部支付
if(alipayInnerCount > 0){
AlipayInnerDto alipayInnerDto = new AlipayInnerDto();
alipayInnerDto.setAliAccNo(userDto.getAliAccountNo());
alipayInnerDto.setAliAccName(userDto.getAliAccountName());
alipayInnerDto.setRealPayMoney(alipayInnerCount);
//免手续费
alipayInnerDto.setActualPayMoney(alipayInnerCount);
alipayInnerDto.setPayBusNo(ProjectSubsidyPayBusNo.SUBSIDY_COUNT_WIN.getBusNoPrefix()+orderDto.getOrderNo());
needPayAlipayInnerList.add(alipayInnerDto);
}
//支付宝多笔支付
if(alipayBatchCount > 0){
AlipayBatchH5Dto alipayBatchDto = new AlipayBatchH5Dto();
alipayBatchDto.setAliAccNo(userDto.getAliAccountNo());
alipayBatchDto.setAliAccName(userDto.getAliAccountName());
alipayBatchDto.setRealPayMoney(alipayBatchCount);
//免手续费
alipayBatchDto.setActualPayMoney(alipayBatchCount);
alipayBatchDto.setPayBusNo(ProjectSubsidyPayBusNo.SUBSIDY_COUNT_WIN.getBusNoPrefix()+orderDto.getOrderNo());
needPayAlipayDtoList.add(alipayBatchDto);
}
//支付宝转账
if(alipayTransferCount > 0){
AlipayTransferDto alipayTransferDto = new AlipayTransferDto();
alipayTransferDto.setAliAccName(userDto.getAliAccountName());
alipayTransferDto.setAliAccNo(userDto.getAliAccountNo());
alipayTransferDto.setRealPayMoney(alipayTransferCount);
//免手续费
alipayTransferDto.setActualPayMoney(alipayTransferCount);
alipayTransferDto.setPayBusNo(ProjectSubsidyPayBusNo.SUBSIDY_COUNT_WIN.getBusNoPrefix()+orderDto.getOrderNo());
needPayAlipayInnerTransferList.add(alipayTransferDto);
}
}
}
// 生成补贴收入账务处理
}
// 获赠用户收入判断
if (countWinStatus == false) {// 有效用户没有记录补贴流水
// 通过手机号统计用户参与支付金额
List payDtoMoneyList = this.orderPayService.queryOrderPayByOrderId(orderId);
long orderPayMoney = 0;// 用户支付金额
if (CollectionUtils.isNotEmpty(payDtoMoneyList)) {
for (OrderPayDto payDtoMoney : payDtoMoneyList) {
if (PaymentModeEnum.ALIPAY_INNER.getValue().equals(payDtoMoney.getPaymentMode())) {
orderPayMoney += payDtoMoney.getPayMoney();
} else if (PaymentModeEnum.CHINAPAY_TRANSFER.getValue().equals(payDtoMoney.getPaymentMode())) {
orderPayMoney += payDtoMoney.getPayMoney();
}
}
// 内部支付
if (orderPayMoney > 0 && orderPayMoney > paidProjectSubPayMoney) {
subsidyMoney = orderPayMoney -
总结:以上是编辑:【江永力】整理及AI智能原创关于《补贴收入账务处理
》优质内容解答希望能帮助到您。