From b8ac0e99ba6c4c2845ccd31f98a98f50cbe131f7 Mon Sep 17 00:00:00 2001 From: quyixiao <2621048238@qq.com> Date: Sun, 23 Nov 2025 22:32:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../data/entity/vv/VvMySettlementEntity.java | 320 +++++++++--------- .../java/com/test/xxx/MysqlMain_update.java | 3 +- 2 files changed, 161 insertions(+), 162 deletions(-) diff --git a/api-mapper/src/main/java/com/heyu/api/data/entity/vv/VvMySettlementEntity.java b/api-mapper/src/main/java/com/heyu/api/data/entity/vv/VvMySettlementEntity.java index 8b17e92..1541de7 100644 --- a/api-mapper/src/main/java/com/heyu/api/data/entity/vv/VvMySettlementEntity.java +++ b/api-mapper/src/main/java/com/heyu/api/data/entity/vv/VvMySettlementEntity.java @@ -1,180 +1,75 @@ package com.heyu.api.data.entity.vv; - import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import lombok.Data; +import com.lz.mybatis.plugin.annotations.AS; import java.math.BigDecimal; -import java.util.Date; +import java.util.Date;import java.util.Date; /** *结算 * @author quyixiao -* @since 2025-11-10 +* @since 2025-11-23 */ @Data @TableName("vv_my_settlement") -public class VvMySettlementEntity implements java.io.Serializable { +public class VvMySettlementEntity implements java.io.Serializable { private static final long serialVersionUID = 1L; public final static String CLASS_NAME ="com.heyu.api.data.entity.vv.VvMySettlementEntity:"; public final static String all = CLASS_NAME + "*"; - public final static String amount_ = CLASS_NAME + "amount"; // 金额 - public final static String apply_reason = CLASS_NAME + "apply_reason"; // 原因 - public final static String apply_user_name = CLASS_NAME + "apply_user_name"; // 谁结算的 - public final static String approval_user_name = CLASS_NAME + "approval_user_name"; // 审批用户名 - public final static String create_time = CLASS_NAME + "create_time"; // 创建时间 - public final static String create_timestamp = CLASS_NAME + "create_timestamp"; // 创建时间 - public final static String features_ = CLASS_NAME + "features"; // 特点 public final static String id_ = CLASS_NAME + "id"; // public final static String is_delete = CLASS_NAME + "is_delete"; // 是否删除:0 否 1 删除 + public final static String create_time = CLASS_NAME + "create_time"; // 创建时间 public final static String modify_time = CLASS_NAME + "modify_time"; // 修改时间 + public final static String create_timestamp = CLASS_NAME + "create_timestamp"; // 创建时间 public final static String modify_timestamp = CLASS_NAME + "modify_timestamp"; // 修改时间 + public final static String apply_user_name = CLASS_NAME + "apply_user_name"; // 谁结算的 public final static String operate_ = CLASS_NAME + "operate"; // 操作 + ,- - public final static String reject_reason = CLASS_NAME + "reject_reason"; // 拒绝原因 - public final static String remain_amount = CLASS_NAME + "remain_amount"; // 剩下金额 + public final static String amount_ = CLASS_NAME + "amount"; // 金额 + public final static String features_ = CLASS_NAME + "features"; // 特点 public final static String status_ = CLASS_NAME + "status"; // apply_for_approval:申请审批,agree_approval: 同意审批 ,reject_approval:拒绝审批 + public final static String remain_amount = CLASS_NAME + "remain_amount"; // 剩下金额 public final static String type_ = CLASS_NAME + "type"; // common,公款 - //金额 - @TableId(value = "amount", type = IdType.AUTO) - private BigDecimal amount; - //原因 - private String applyReason; - //谁结算的 - private String applyUserName; - //审批用户名 - private String approvalUserName; - //创建时间 - private Date createTime; - //创建时间 - private Long createTimestamp; - //特点 - private String features; + public final static String apply_reason = CLASS_NAME + "apply_reason"; // 原因 + public final static String reject_reason = CLASS_NAME + "reject_reason"; // 拒绝原因 + public final static String approval_user_name = CLASS_NAME + "approval_user_name"; // 审批用户名 // + @TableId(value = "id", type = IdType.AUTO) private Long id; //是否删除:0 否 1 删除 private Integer isDelete; + //创建时间 + private Date createTime; //修改时间 private Date modifyTime; + //创建时间 + private Long createTimestamp; //修改时间 private Long modifyTimestamp; + //谁结算的 + private String applyUserName; //操作 + ,- private String operate; - //拒绝原因 - private String rejectReason; - //剩下金额 - private BigDecimal remainAmount; + //金额 + private BigDecimal amount; + //特点 + private String features; //apply_for_approval:申请审批,agree_approval: 同意审批 ,reject_approval:拒绝审批 private String status; + //剩下金额 + private BigDecimal remainAmount; //common,公款 private String type; - /** - * 金额 - * @return - */ - public BigDecimal getAmount() { - return amount; - } - /** - * 金额 - * @param amount - */ - public void setAmount(BigDecimal amount) { - this.amount = amount; - } - - /** - * 原因 - * @return - */ - public String getApplyReason() { - return applyReason; - } - /** - * 原因 - * @param applyReason - */ - public void setApplyReason(String applyReason) { - this.applyReason = applyReason; - } - - /** - * 谁结算的 - * @return - */ - public String getApplyUserName() { - return applyUserName; - } - /** - * 谁结算的 - * @param applyUserName - */ - public void setApplyUserName(String applyUserName) { - this.applyUserName = applyUserName; - } - - /** - * 审批用户名 - * @return - */ - public String getApprovalUserName() { - return approvalUserName; - } - /** - * 审批用户名 - * @param approvalUserName - */ - public void setApprovalUserName(String approvalUserName) { - this.approvalUserName = approvalUserName; - } - - /** - * 创建时间 - * @return - */ - public Date getCreateTime() { - return createTime; - } - /** - * 创建时间 - * @param createTime - */ - public void setCreateTime(Date createTime) { - this.createTime = createTime; - } - - /** - * 创建时间 - * @return - */ - public Long getCreateTimestamp() { - return createTimestamp; - } - /** - * 创建时间 - * @param createTimestamp - */ - public void setCreateTimestamp(Long createTimestamp) { - this.createTimestamp = createTimestamp; - } - - /** - * 特点 - * @return - */ - public String getFeatures() { - return features; - } - /** - * 特点 - * @param features - */ - public void setFeatures(String features) { - this.features = features; - } - + //原因 + private String applyReason; + //拒绝原因 + private String rejectReason; + //审批用户名 + private String approvalUserName; /** * * @return @@ -205,6 +100,21 @@ private static final long serialVersionUID = 1L; this.isDelete = isDelete; } + /** + * 创建时间 + * @return + */ + public Date getCreateTime() { + return createTime; + } + /** + * 创建时间 + * @param createTime + */ + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + /** * 修改时间 * @return @@ -220,6 +130,21 @@ private static final long serialVersionUID = 1L; this.modifyTime = modifyTime; } + /** + * 创建时间 + * @return + */ + public Long getCreateTimestamp() { + return createTimestamp; + } + /** + * 创建时间 + * @param createTimestamp + */ + public void setCreateTimestamp(Long createTimestamp) { + this.createTimestamp = createTimestamp; + } + /** * 修改时间 * @return @@ -235,6 +160,21 @@ private static final long serialVersionUID = 1L; this.modifyTimestamp = modifyTimestamp; } + /** + * 谁结算的 + * @return + */ + public String getApplyUserName() { + return applyUserName; + } + /** + * 谁结算的 + * @param applyUserName + */ + public void setApplyUserName(String applyUserName) { + this.applyUserName = applyUserName; + } + /** * 操作 + ,- * @return @@ -251,33 +191,33 @@ private static final long serialVersionUID = 1L; } /** - * 拒绝原因 + * 金额 * @return */ - public String getRejectReason() { - return rejectReason; + public BigDecimal getAmount() { + return amount; } /** - * 拒绝原因 - * @param rejectReason + * 金额 + * @param amount */ - public void setRejectReason(String rejectReason) { - this.rejectReason = rejectReason; + public void setAmount(BigDecimal amount) { + this.amount = amount; } /** - * 剩下金额 + * 特点 * @return */ - public BigDecimal getRemainAmount() { - return remainAmount; + public String getFeatures() { + return features; } /** - * 剩下金额 - * @param remainAmount + * 特点 + * @param features */ - public void setRemainAmount(BigDecimal remainAmount) { - this.remainAmount = remainAmount; + public void setFeatures(String features) { + this.features = features; } /** @@ -295,6 +235,21 @@ private static final long serialVersionUID = 1L; this.status = status; } + /** + * 剩下金额 + * @return + */ + public BigDecimal getRemainAmount() { + return remainAmount; + } + /** + * 剩下金额 + * @param remainAmount + */ + public void setRemainAmount(BigDecimal remainAmount) { + this.remainAmount = remainAmount; + } + /** * common,公款 * @return @@ -310,25 +265,70 @@ private static final long serialVersionUID = 1L; this.type = type; } + /** + * 原因 + * @return + */ + public String getApplyReason() { + return applyReason; + } + /** + * 原因 + * @param applyReason + */ + public void setApplyReason(String applyReason) { + this.applyReason = applyReason; + } + + /** + * 拒绝原因 + * @return + */ + public String getRejectReason() { + return rejectReason; + } + /** + * 拒绝原因 + * @param rejectReason + */ + public void setRejectReason(String rejectReason) { + this.rejectReason = rejectReason; + } + + /** + * 审批用户名 + * @return + */ + public String getApprovalUserName() { + return approvalUserName; + } + /** + * 审批用户名 + * @param approvalUserName + */ + public void setApprovalUserName(String approvalUserName) { + this.approvalUserName = approvalUserName; + } + @Override public String toString() { return "VvMySettlementEntity{" + - ",amount=" + amount + - ",applyReason=" + applyReason + - ",applyUserName=" + applyUserName + - ",approvalUserName=" + approvalUserName + - ",createTime=" + createTime + - ",createTimestamp=" + createTimestamp + - ",features=" + features + ",id=" + id + ",isDelete=" + isDelete + + ",createTime=" + createTime + ",modifyTime=" + modifyTime + + ",createTimestamp=" + createTimestamp + ",modifyTimestamp=" + modifyTimestamp + + ",applyUserName=" + applyUserName + ",operate=" + operate + - ",rejectReason=" + rejectReason + - ",remainAmount=" + remainAmount + + ",amount=" + amount + + ",features=" + features + ",status=" + status + + ",remainAmount=" + remainAmount + ",type=" + type + + ",applyReason=" + applyReason + + ",rejectReason=" + rejectReason + + ",approvalUserName=" + approvalUserName + "}"; } } \ No newline at end of file diff --git a/api-mapper/src/test/java/com/test/xxx/MysqlMain_update.java b/api-mapper/src/test/java/com/test/xxx/MysqlMain_update.java index a6bd0d3..d582275 100644 --- a/api-mapper/src/test/java/com/test/xxx/MysqlMain_update.java +++ b/api-mapper/src/test/java/com/test/xxx/MysqlMain_update.java @@ -48,8 +48,7 @@ public class MysqlMain_update { } List list = new ArrayList(); - list.add(new TablesBean("vv_promoter_trade_order_award")); - list.add(new TablesBean("vv_promoter_trade_order_line_award")); + list.add(new TablesBean("vv_my_settlement")); Map map = MysqlUtil2ShowCreateTable.getComments(); for (int i = 0; i < list.size(); i++) {