Sfoglia il codice sorgente

账户长度过长 改成string

zhaoxian 9 mesi fa
parent
commit
78b4413aee

+ 1 - 1
jeecg-boot-module-system/src/main/java/cn/com/ctop/finance/payment/entity/FinancePaymentRechargeAccount.java

@@ -62,7 +62,7 @@ public class FinancePaymentRechargeAccount {
      */
     @Excel(name = "账户id", width = 15)
     @ApiModelProperty(value = "账户id")
-    private Long accountId;
+    private String accountId;
     /**
      * 账户名
      */

+ 2 - 2
jeecg-boot-module-system/src/main/java/cn/com/ctop/finance/payment/service/impl/FinancePaymentRechargeApplicationServiceImpl.java

@@ -134,7 +134,7 @@ public class FinancePaymentRechargeApplicationServiceImpl extends ServiceImpl<Fi
                 FinancePaymentRechargeAccount account = new FinancePaymentRechargeAccount();
                 account.setRechargeId(recharge.getId());
                 account.setProjectId(recharge.getProjectId());
-                account.setAccountId(obj.getLong("accountId"));
+                account.setAccountId(obj.getString("accountId"));
                 UserAllocation allocation = userAllocationService.getByAccountId(obj.getLong("accountId"));
                 if (!Check.isNull(allocation)) {
                     account.setAccountName(allocation.getAuthName());
@@ -235,7 +235,7 @@ public class FinancePaymentRechargeApplicationServiceImpl extends ServiceImpl<Fi
             FinancePaymentRechargeAccount account = new FinancePaymentRechargeAccount();
             account.setRechargeId(recharge.getId());
             account.setProjectId(recharge.getProjectId());
-            account.setAccountId(obj.getLong("accountId"));
+            account.setAccountId(obj.getString("accountId"));
             UserAllocation acco = userAllocationService.getByAccountId(obj.getLong("accountId"));
             if (!Check.isNull(acco)) {
                 account.setAccountName(acco.getAuthName());