浏览代码

修改账单创建类型

wujiefeng 1 年之前
父节点
当前提交
72bfef0f3f

+ 2 - 2
FullCardServer/src/main/java/com/zhongshu/card/server/core/service/pay/BalancePayService.java

@@ -151,7 +151,7 @@ public class BalancePayService extends SuperService {
                 TransferTransactionsModel.GeneralLedgerTransaction destinationTransaction = new TransferTransactionsModel.GeneralLedgerTransaction();
                 destinationTransaction.setGeneralLedgerId(userPayAccount.getLedgerId());
                 destinationTransaction.setOrderNumber(rechargeOrder.getOrderNo());
-                destinationTransaction.setTransactionType(TransactionType.Transfer);
+                destinationTransaction.setTransactionType(TransactionType.Deposit);
                 destinationTransaction.setTransactionStatus(TransactionStatus.Success);
                 destinationTransaction.setAmount(rechargeOrder.getTotal().longValue());
                 destinationTransaction.setRemark("用户余额充值");
@@ -205,7 +205,7 @@ public class BalancePayService extends SuperService {
         TransferTransactionsModel.GeneralLedgerTransaction destinationTransaction = new TransferTransactionsModel.GeneralLedgerTransaction();
         destinationTransaction.setGeneralLedgerId(orgWaitSettle.getLedgerId());
         destinationTransaction.setOrderNumber(orderNo);
-        destinationTransaction.setTransactionType(TransactionType.Receive);
+        destinationTransaction.setTransactionType(TransactionType.Pay);
         destinationTransaction.setTransactionStatus(TransactionStatus.Success);
         destinationTransaction.setAmount(total.longValue());
         destinationTransaction.setRemark(remark);