From 0a750514980e12ac2a921b7c97aeb02cd5e17215 Mon Sep 17 00:00:00 2001
From: zj <1772600164@qq.com>
Date: Wed, 14 Jan 2026 15:05:30 +0800
Subject: [PATCH] 修改时区为日本
---
src/main/java/com/nq/pojo/UserWithdraw.java | 173 ++++-----------------------------------------------------
1 files changed, 12 insertions(+), 161 deletions(-)
diff --git a/src/main/java/com/nq/pojo/UserWithdraw.java b/src/main/java/com/nq/pojo/UserWithdraw.java
index dfc894b..d4b033a 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")
+ @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")
+ @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;
@@ -34,168 +38,15 @@
@Excel(name = "银行支行")
private String bankAddress;
- @Excel(name = "状态" ,replace = { "审核中_0", "成功_1", "失败_2", "取消_3" })
+ @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;
-
- public UserWithdraw(Integer id, Integer userId, String nickName, Integer agentId, BigDecimal withAmt, Date applyTime, Date transTime, String withName, String bankNo, String bankName, String bankAddress, Integer withStatus, BigDecimal withFee, String withMsg) {
-
- this.id = id;
-
- this.userId = userId;
-
- this.nickName = nickName;
-
- this.agentId = agentId;
-
- this.withAmt = withAmt;
-
- this.applyTime = applyTime;
-
- this.transTime = transTime;
-
- this.withName = withName;
-
- this.bankNo = bankNo;
-
- this.bankName = bankName;
-
- this.bankAddress = bankAddress;
-
- this.withStatus = withStatus;
-
- this.withFee = withFee;
-
- this.withMsg = withMsg;
-
- }
-
- public UserWithdraw() {
- }
-
- public Integer getId() {
- return id;
- }
-
- public void setId(Integer id) {
- this.id = id;
- }
-
- public Integer getUserId() {
- return userId;
- }
-
- public void setUserId(Integer userId) {
- this.userId = userId;
- }
-
- public String getNickName() {
- return nickName;
- }
-
- public void setNickName(String nickName) {
- this.nickName = nickName;
- }
-
- public Integer getAgentId() {
- return agentId;
- }
-
- public void setAgentId(Integer agentId) {
- this.agentId = agentId;
- }
-
- public BigDecimal getWithAmt() {
- return withAmt;
- }
-
- public void setWithAmt(BigDecimal withAmt) {
- this.withAmt = withAmt;
- }
-
- public Date getApplyTime() {
- return applyTime;
- }
-
- public void setApplyTime(Date applyTime) {
- this.applyTime = applyTime;
- }
-
- public Date getTransTime() {
- return transTime;
- }
-
- public void setTransTime(Date transTime) {
- this.transTime = transTime;
- }
-
- public String getWithName() {
- return withName;
- }
-
- public void setWithName(String withName) {
- this.withName = withName;
- }
-
- public String getBankNo() {
- return bankNo;
- }
-
- public void setBankNo(String bankNo) {
- this.bankNo = bankNo;
- }
-
- public String getBankName() {
- return bankName;
- }
-
- public void setBankName(String bankName) {
- this.bankName = bankName;
- }
-
- public String getBankAddress() {
- return bankAddress;
- }
-
- public void setBankAddress(String bankAddress) {
- this.bankAddress = bankAddress;
- }
-
- public Integer getWithStatus() {
- return withStatus;
- }
-
- public void setWithStatus(Integer withStatus) {
- this.withStatus = withStatus;
- }
-
- public BigDecimal getWithFee() {
- return withFee;
- }
-
- public void setWithFee(BigDecimal withFee) {
- this.withFee = withFee;
- }
-
- public String getWithMsg() {
- return withMsg;
- }
-
- public void setWithMsg(String withMsg) {
- this.withMsg = withMsg;
- }
-
- public String getUserPhone() {
- return userPhone;
- }
-
- public void setUserPhone(String userPhone) {
- this.userPhone = userPhone;
- }
+ @Excel(name = "提现账户类型")
+ private String accsetType;
}
\ No newline at end of file
--
Gitblit v1.9.3