From 1dacfebbe8db50f4029bd72563e26573592ebc79 Mon Sep 17 00:00:00 2001
From: zyy <zyy@email.com>
Date: Fri, 15 Aug 2025 11:18:02 +0800
Subject: [PATCH] 修改时区
---
src/main/java/com/nq/pojo/UserWithdraw.java | 19 ++++++++++++-------
1 files changed, 12 insertions(+), 7 deletions(-)
diff --git a/src/main/java/com/nq/pojo/UserWithdraw.java b/src/main/java/com/nq/pojo/UserWithdraw.java
index 0f04103..db94cb9 100644
--- a/src/main/java/com/nq/pojo/UserWithdraw.java
+++ b/src/main/java/com/nq/pojo/UserWithdraw.java
@@ -1,15 +1,19 @@
package com.nq.pojo;
import cn.afterturn.easypoi.excel.annotation.Excel;
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
+import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;
-
+@Data
public class UserWithdraw {
-
+ @TableId(value = "id",type = IdType.AUTO)
private Integer id;
@Excel(name = "用户id")
private Integer userId;
@@ -19,10 +23,10 @@
private Integer agentId;
@Excel(name = "出金金额")
private BigDecimal withAmt;
- @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Kolkata")
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Tokyo")
@Excel(name = "申请时间", databaseFormat = "yyyyMMddHHmmss", format = "yyyy-MM-dd HH:mm:ss")
private Date applyTime;
- @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Kolkata")
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Tokyo")
@Excel(name = "出金时间", databaseFormat = "yyyyMMddHHmmss", format = "yyyy-MM-dd HH:mm:ss")
private Date transTime;
@@ -33,14 +37,15 @@
private String bankName;
@Excel(name = "银行支行")
private String bankAddress;
-
- @Excel(name = "状态" ,replace = { "审核中_0", "成功_1", "失败_2", "取消_3" })
+ @Excel(name = "支行番号")
+ private String branchNo;
+ @Excel(name = "状态" ,replace = { "审核中_0", "成功_1", "失败_2", "取消_3","已提交_4" })
private Integer withStatus;
@Excel(name = "手续费")
private BigDecimal withFee;
@Excel(name = "原因")
private String withMsg;
-
+ @TableField(exist = false)
private String userPhone;
--
Gitblit v1.9.3