Authored by Lixiaodi

增加字段

package com.yoho.order.model;
import lombok.Data;
import lombok.ToString;
import java.math.BigDecimal;
@Data
@ToString
public class RefundRecord {
private Integer id;
... ... @@ -37,139 +42,6 @@ public class RefundRecord {
private Boolean delFlag;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public Integer getCreateDate() {
return createDate;
}
public void setCreateDate(Integer createDate) {
this.createDate = createDate;
}
public Integer getOrderCode() {
return orderCode;
}
public void setOrderCode(Integer orderCode) {
this.orderCode = orderCode;
}
public Integer getUid() {
return uid;
}
public void setUid(Integer uid) {
this.uid = uid;
}
public String getRefundDesc() {
return refundDesc;
}
public void setRefundDesc(String refundDesc) {
this.refundDesc = refundDesc == null ? null : refundDesc.trim();
}
public Byte getRefundType() {
return refundType;
}
public void setRefundType(Byte refundType) {
this.refundType = refundType;
}
public BigDecimal getRefundAmount() {
return refundAmount;
}
public void setRefundAmount(BigDecimal refundAmount) {
this.refundAmount = refundAmount;
}
public Byte getRefundChannel() {
return refundChannel;
}
public void setRefundChannel(Byte refundChannel) {
this.refundChannel = refundChannel;
}
public String getPayeeName() {
return payeeName;
}
public void setPayeeName(String payeeName) {
this.payeeName = payeeName == null ? null : payeeName.trim();
}
public String getPayeeAccount() {
return payeeAccount;
}
public void setPayeeAccount(String payeeAccount) {
this.payeeAccount = payeeAccount == null ? null : payeeAccount.trim();
}
public Byte getRefundStatus() {
return refundStatus;
}
public void setRefundStatus(Byte refundStatus) {
this.refundStatus = refundStatus;
}
public String getGoodsName() {
return goodsName;
}
public void setGoodsName(String goodsName) {
this.goodsName = goodsName == null ? null : goodsName.trim();
}
public String getGoodsSize() {
return goodsSize;
}
public void setGoodsSize(String goodsSize) {
this.goodsSize = goodsSize == null ? null : goodsSize.trim();
}
public String getRefundAddress() {
return refundAddress;
}
public void setRefundAddress(String refundAddress) {
this.refundAddress = refundAddress == null ? null : refundAddress.trim();
}
public String getOperatorName() {
return operatorName;
}
public void setOperatorName(String operatorName) {
this.operatorName = operatorName == null ? null : operatorName.trim();
}
public String getRemark() {
return remark;
}
public void setRemark(String remark) {
this.remark = remark == null ? null : remark.trim();
}
public Boolean getDelFlag() {
return delFlag;
}
private String sponsorName;
public void setDelFlag(Boolean delFlag) {
this.delFlag = delFlag;
}
}
\ No newline at end of file
... ...
... ... @@ -17,13 +17,15 @@
<result column="goods_size" property="goodsSize" jdbcType="VARCHAR" />
<result column="refund_address" property="refundAddress" jdbcType="VARCHAR" />
<result column="operator_name" property="operatorName" jdbcType="VARCHAR" />
<result column="sponsor_name" property="sponsorName" jdbcType="VARCHAR" />
<result column="remark" property="remark" jdbcType="VARCHAR" />
<result column="del_flag" property="delFlag" jdbcType="BIT" />
</resultMap>
<sql id="Base_Column_List" >
id, create_date, order_code, uid, refund_desc, refund_type, refund_amount, refund_channel,
payee_name, payee_account, refund_status, goods_name, goods_size, refund_address,
operator_name, remark, del_flag
operator_name, remark, del_flag,sponsor_name
</sql>
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
select
... ...