From e383781a5e379681754c84c8a65ba24b43371cc1 Mon Sep 17 00:00:00 2001 From: lmy1996-11 <1092404103@qq.com> Date: Wed, 11 May 2022 22:56:03 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=94=E5=9B=9E=E6=B6=88=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../numone/system/domain/AppRebateRecord.java | 84 +------------------ .../mapper/system/AppRebateRecordMapper.xml | 4 +- numone-common/pom.xml | 6 ++ 3 files changed, 12 insertions(+), 82 deletions(-) diff --git a/numone-business/src/main/java/com/numone/system/domain/AppRebateRecord.java b/numone-business/src/main/java/com/numone/system/domain/AppRebateRecord.java index bb3aaf5..e93fddf 100644 --- a/numone-business/src/main/java/com/numone/system/domain/AppRebateRecord.java +++ b/numone-business/src/main/java/com/numone/system/domain/AppRebateRecord.java @@ -1,6 +1,8 @@ package com.numone.system.domain; import java.math.BigDecimal; + +import lombok.Data; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import com.numone.common.annotation.Excel; @@ -12,6 +14,7 @@ import com.numone.common.core.domain.BaseEntity; * @author numone * @date 2022-02-25 */ +@Data public class AppRebateRecord extends BaseEntity { private static final long serialVersionUID = 1L; @@ -21,7 +24,7 @@ public class AppRebateRecord extends BaseEntity /** 用户id */ @Excel(name = "用户id") - private Integer userId; + private Long userId; /** 返利内容 */ @Excel(name = "返利内容") @@ -43,84 +46,5 @@ public class AppRebateRecord extends BaseEntity @Excel(name = "删除标志") private Integer deleteId; - public void setId(Integer id) - { - this.id = id; - } - - public Integer getId() - { - return id; - } - public void setUserId(Integer userId) - { - this.userId = userId; - } - - public Integer getUserId() - { - return userId; - } - public void setContent(String content) - { - this.content = content; - } - - public String getContent() - { - return content; - } - public void setPriceNum(BigDecimal priceNum) - { - this.priceNum = priceNum; - } - - public BigDecimal getPriceNum() - { - return priceNum; - } - public void setCreateById(Integer createById) - { - this.createById = createById; - } - - public Integer getCreateById() - { - return createById; - } - public void setUpdateById(Integer updateById) - { - this.updateById = updateById; - } - - public Integer getUpdateById() - { - return updateById; - } - public void setDeleteId(Integer deleteId) - { - this.deleteId = deleteId; - } - - public Integer getDeleteId() - { - return deleteId; - } - @Override - public String toString() { - return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) - .append("id", getId()) - .append("userId", getUserId()) - .append("content", getContent()) - .append("priceNum", getPriceNum()) - .append("createById", getCreateById()) - .append("createBy", getCreateBy()) - .append("createTime", getCreateTime()) - .append("updateById", getUpdateById()) - .append("updateBy", getUpdateBy()) - .append("updateTime", getUpdateTime()) - .append("deleteId", getDeleteId()) - .toString(); - } } diff --git a/numone-business/src/main/resources/mapper/system/AppRebateRecordMapper.xml b/numone-business/src/main/resources/mapper/system/AppRebateRecordMapper.xml index 91136b6..a4175c3 100644 --- a/numone-business/src/main/resources/mapper/system/AppRebateRecordMapper.xml +++ b/numone-business/src/main/resources/mapper/system/AppRebateRecordMapper.xml @@ -47,7 +47,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" price_num, create_by_id, create_by, - create_time, + crdated_time, update_by_id, update_by, update_time, @@ -59,7 +59,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" #{priceNum}, #{createById}, #{createBy}, - #{createTime}, + now(), #{updateById}, #{updateBy}, #{updateTime}, diff --git a/numone-common/pom.xml b/numone-common/pom.xml index e158a48..93ceb79 100644 --- a/numone-common/pom.xml +++ b/numone-common/pom.xml @@ -192,6 +192,12 @@ pinyin4j 2.5.0 + + + dom4j + dom4j + 1.6.1 + org.springframework spring-webmvc