Browse Source

返回消息

dev
lmy1996-11 3 years ago
parent
commit
e383781a5e
  1. 84
      numone-business/src/main/java/com/numone/system/domain/AppRebateRecord.java
  2. 4
      numone-business/src/main/resources/mapper/system/AppRebateRecordMapper.xml
  3. 6
      numone-common/pom.xml

84
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();
}
}

4
numone-business/src/main/resources/mapper/system/AppRebateRecordMapper.xml

@ -47,7 +47,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="priceNum != null">price_num,</if>
<if test="createById != null">create_by_id,</if>
<if test="createBy != null">create_by,</if>
<if test="createTime != null">create_time,</if>
crdated_time,
<if test="updateById != null">update_by_id,</if>
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
@ -59,7 +59,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="priceNum != null">#{priceNum},</if>
<if test="createById != null">#{createById},</if>
<if test="createBy != null">#{createBy},</if>
<if test="createTime != null">#{createTime},</if>
now(),
<if test="updateById != null">#{updateById},</if>
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>

6
numone-common/pom.xml

@ -192,6 +192,12 @@
<artifactId>pinyin4j</artifactId>
<version>2.5.0</version>
</dependency>
<!-- xml处理-->
<dependency>
<groupId>dom4j</groupId>
<artifactId>dom4j</artifactId>
<version>1.6.1</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>

Loading…
Cancel
Save