Przeglądaj źródła

新增订单退款表的新增

anderx 6 lat temu
rodzic
commit
3874f546d0

+ 95 - 0
src/main/java/com/goafanti/common/dao/NewOrderRefundMapper.java

@@ -0,0 +1,95 @@
+package com.goafanti.common.dao;
+
+import com.goafanti.common.model.NewOrderRefund;
+import com.goafanti.common.model.NewOrderRefundExample;
+import java.util.List;
+import org.apache.ibatis.annotations.Param;
+
+public interface NewOrderRefundMapper {
+
+	/**
+	 * This method was generated by MyBatis Generator. This method corresponds to the database table new_order_refund
+	 * @mbg.generated  Tue Feb 11 14:40:29 CST 2020
+	 */
+	long countByExample(NewOrderRefundExample example);
+
+	/**
+	 * This method was generated by MyBatis Generator. This method corresponds to the database table new_order_refund
+	 * @mbg.generated  Tue Feb 11 14:40:29 CST 2020
+	 */
+	int deleteByExample(NewOrderRefundExample example);
+
+	/**
+	 * This method was generated by MyBatis Generator. This method corresponds to the database table new_order_refund
+	 * @mbg.generated  Tue Feb 11 14:40:29 CST 2020
+	 */
+	int deleteByPrimaryKey(Integer id);
+
+	/**
+	 * This method was generated by MyBatis Generator. This method corresponds to the database table new_order_refund
+	 * @mbg.generated  Tue Feb 11 14:40:29 CST 2020
+	 */
+	int insert(NewOrderRefund record);
+
+	/**
+	 * This method was generated by MyBatis Generator. This method corresponds to the database table new_order_refund
+	 * @mbg.generated  Tue Feb 11 14:40:29 CST 2020
+	 */
+	int insertSelective(NewOrderRefund record);
+
+	/**
+	 * This method was generated by MyBatis Generator. This method corresponds to the database table new_order_refund
+	 * @mbg.generated  Tue Feb 11 14:40:29 CST 2020
+	 */
+	List<NewOrderRefund> selectByExampleWithBLOBs(NewOrderRefundExample example);
+
+	/**
+	 * This method was generated by MyBatis Generator. This method corresponds to the database table new_order_refund
+	 * @mbg.generated  Tue Feb 11 14:40:29 CST 2020
+	 */
+	List<NewOrderRefund> selectByExample(NewOrderRefundExample example);
+
+	/**
+	 * This method was generated by MyBatis Generator. This method corresponds to the database table new_order_refund
+	 * @mbg.generated  Tue Feb 11 14:40:29 CST 2020
+	 */
+	NewOrderRefund selectByPrimaryKey(Integer id);
+
+	/**
+	 * This method was generated by MyBatis Generator. This method corresponds to the database table new_order_refund
+	 * @mbg.generated  Tue Feb 11 14:40:29 CST 2020
+	 */
+	int updateByExampleSelective(@Param("record") NewOrderRefund record,
+			@Param("example") NewOrderRefundExample example);
+
+	/**
+	 * This method was generated by MyBatis Generator. This method corresponds to the database table new_order_refund
+	 * @mbg.generated  Tue Feb 11 14:40:29 CST 2020
+	 */
+	int updateByExampleWithBLOBs(@Param("record") NewOrderRefund record,
+			@Param("example") NewOrderRefundExample example);
+
+	/**
+	 * This method was generated by MyBatis Generator. This method corresponds to the database table new_order_refund
+	 * @mbg.generated  Tue Feb 11 14:40:29 CST 2020
+	 */
+	int updateByExample(@Param("record") NewOrderRefund record, @Param("example") NewOrderRefundExample example);
+
+	/**
+	 * This method was generated by MyBatis Generator. This method corresponds to the database table new_order_refund
+	 * @mbg.generated  Tue Feb 11 14:40:29 CST 2020
+	 */
+	int updateByPrimaryKeySelective(NewOrderRefund record);
+
+	/**
+	 * This method was generated by MyBatis Generator. This method corresponds to the database table new_order_refund
+	 * @mbg.generated  Tue Feb 11 14:40:29 CST 2020
+	 */
+	int updateByPrimaryKeyWithBLOBs(NewOrderRefund record);
+
+	/**
+	 * This method was generated by MyBatis Generator. This method corresponds to the database table new_order_refund
+	 * @mbg.generated  Tue Feb 11 14:40:29 CST 2020
+	 */
+	int updateByPrimaryKey(NewOrderRefund record);
+}

+ 423 - 0
src/main/java/com/goafanti/common/mapper/NewOrderRefundMapper.xml

@@ -0,0 +1,423 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.goafanti.common.dao.NewOrderRefundMapper">
+  <resultMap id="BaseResultMap" type="com.goafanti.common.model.NewOrderRefund">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Tue Feb 11 14:40:29 CST 2020.
+    -->
+    <id column="id" jdbcType="INTEGER" property="id" />
+    <result column="order_no" jdbcType="VARCHAR" property="orderNo" />
+    <result column="refund_status" jdbcType="INTEGER" property="refundStatus" />
+    <result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
+    <result column="type" jdbcType="INTEGER" property="type" />
+    <result column="type_explain" jdbcType="INTEGER" property="typeExplain" />
+    <result column="refund_amount" jdbcType="DECIMAL" property="refundAmount" />
+    <result column="reason" jdbcType="VARCHAR" property="reason" />
+  </resultMap>
+  <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.goafanti.common.model.NewOrderRefund">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Tue Feb 11 14:40:29 CST 2020.
+    -->
+    <result column="reason_attachment_url" jdbcType="LONGVARCHAR" property="reasonAttachmentUrl" />
+  </resultMap>
+  <sql id="Example_Where_Clause">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Tue Feb 11 14:40:29 CST 2020.
+    -->
+    <where>
+      <foreach collection="oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Update_By_Example_Where_Clause">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Tue Feb 11 14:40:29 CST 2020.
+    -->
+    <where>
+      <foreach collection="example.oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Base_Column_List">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Tue Feb 11 14:40:29 CST 2020.
+    -->
+    id, order_no, refund_status, create_time, type, type_explain, refund_amount, reason
+  </sql>
+  <sql id="Blob_Column_List">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Tue Feb 11 14:40:29 CST 2020.
+    -->
+    reason_attachment_url
+  </sql>
+  <select id="selectByExampleWithBLOBs" parameterType="com.goafanti.common.model.NewOrderRefundExample" resultMap="ResultMapWithBLOBs">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Tue Feb 11 14:40:29 CST 2020.
+    -->
+    select
+    <if test="distinct">
+      distinct
+    </if>
+    <include refid="Base_Column_List" />
+    ,
+    <include refid="Blob_Column_List" />
+    from new_order_refund
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+    <if test="orderByClause != null">
+      order by ${orderByClause}
+    </if>
+  </select>
+  <select id="selectByExample" parameterType="com.goafanti.common.model.NewOrderRefundExample" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Tue Feb 11 14:40:29 CST 2020.
+    -->
+    select
+    <if test="distinct">
+      distinct
+    </if>
+    <include refid="Base_Column_List" />
+    from new_order_refund
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+    <if test="orderByClause != null">
+      order by ${orderByClause}
+    </if>
+  </select>
+  <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="ResultMapWithBLOBs">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Tue Feb 11 14:40:29 CST 2020.
+    -->
+    select 
+    <include refid="Base_Column_List" />
+    ,
+    <include refid="Blob_Column_List" />
+    from new_order_refund
+    where id = #{id,jdbcType=INTEGER}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Tue Feb 11 14:40:29 CST 2020.
+    -->
+    delete from new_order_refund
+    where id = #{id,jdbcType=INTEGER}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.goafanti.common.model.NewOrderRefundExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Tue Feb 11 14:40:29 CST 2020.
+    -->
+    delete from new_order_refund
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.goafanti.common.model.NewOrderRefund">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Tue Feb 11 14:40:29 CST 2020.
+    -->
+    insert into new_order_refund (id, order_no, refund_status, 
+      create_time, type, type_explain, 
+      refund_amount, reason, reason_attachment_url
+      )
+    values (#{id,jdbcType=INTEGER}, #{orderNo,jdbcType=VARCHAR}, #{refundStatus,jdbcType=INTEGER}, 
+      #{createTime,jdbcType=TIMESTAMP}, #{type,jdbcType=INTEGER}, #{typeExplain,jdbcType=INTEGER}, 
+      #{refundAmount,jdbcType=DECIMAL}, #{reason,jdbcType=VARCHAR}, #{reasonAttachmentUrl,jdbcType=LONGVARCHAR}
+      )
+  </insert>
+  <insert id="insertSelective" parameterType="com.goafanti.common.model.NewOrderRefund">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Tue Feb 11 14:40:29 CST 2020.
+    -->
+    insert into new_order_refund
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        id,
+      </if>
+      <if test="orderNo != null">
+        order_no,
+      </if>
+      <if test="refundStatus != null">
+        refund_status,
+      </if>
+      <if test="createTime != null">
+        create_time,
+      </if>
+      <if test="type != null">
+        type,
+      </if>
+      <if test="typeExplain != null">
+        type_explain,
+      </if>
+      <if test="refundAmount != null">
+        refund_amount,
+      </if>
+      <if test="reason != null">
+        reason,
+      </if>
+      <if test="reasonAttachmentUrl != null">
+        reason_attachment_url,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=INTEGER},
+      </if>
+      <if test="orderNo != null">
+        #{orderNo,jdbcType=VARCHAR},
+      </if>
+      <if test="refundStatus != null">
+        #{refundStatus,jdbcType=INTEGER},
+      </if>
+      <if test="createTime != null">
+        #{createTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="type != null">
+        #{type,jdbcType=INTEGER},
+      </if>
+      <if test="typeExplain != null">
+        #{typeExplain,jdbcType=INTEGER},
+      </if>
+      <if test="refundAmount != null">
+        #{refundAmount,jdbcType=DECIMAL},
+      </if>
+      <if test="reason != null">
+        #{reason,jdbcType=VARCHAR},
+      </if>
+      <if test="reasonAttachmentUrl != null">
+        #{reasonAttachmentUrl,jdbcType=LONGVARCHAR},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.goafanti.common.model.NewOrderRefundExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Tue Feb 11 14:40:29 CST 2020.
+    -->
+    select count(*) from new_order_refund
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </select>
+  <update id="updateByExampleSelective" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Tue Feb 11 14:40:29 CST 2020.
+    -->
+    update new_order_refund
+    <set>
+      <if test="record.id != null">
+        id = #{record.id,jdbcType=INTEGER},
+      </if>
+      <if test="record.orderNo != null">
+        order_no = #{record.orderNo,jdbcType=VARCHAR},
+      </if>
+      <if test="record.refundStatus != null">
+        refund_status = #{record.refundStatus,jdbcType=INTEGER},
+      </if>
+      <if test="record.createTime != null">
+        create_time = #{record.createTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.type != null">
+        type = #{record.type,jdbcType=INTEGER},
+      </if>
+      <if test="record.typeExplain != null">
+        type_explain = #{record.typeExplain,jdbcType=INTEGER},
+      </if>
+      <if test="record.refundAmount != null">
+        refund_amount = #{record.refundAmount,jdbcType=DECIMAL},
+      </if>
+      <if test="record.reason != null">
+        reason = #{record.reason,jdbcType=VARCHAR},
+      </if>
+      <if test="record.reasonAttachmentUrl != null">
+        reason_attachment_url = #{record.reasonAttachmentUrl,jdbcType=LONGVARCHAR},
+      </if>
+    </set>
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByExampleWithBLOBs" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Tue Feb 11 14:40:29 CST 2020.
+    -->
+    update new_order_refund
+    set id = #{record.id,jdbcType=INTEGER},
+      order_no = #{record.orderNo,jdbcType=VARCHAR},
+      refund_status = #{record.refundStatus,jdbcType=INTEGER},
+      create_time = #{record.createTime,jdbcType=TIMESTAMP},
+      type = #{record.type,jdbcType=INTEGER},
+      type_explain = #{record.typeExplain,jdbcType=INTEGER},
+      refund_amount = #{record.refundAmount,jdbcType=DECIMAL},
+      reason = #{record.reason,jdbcType=VARCHAR},
+      reason_attachment_url = #{record.reasonAttachmentUrl,jdbcType=LONGVARCHAR}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByExample" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Tue Feb 11 14:40:29 CST 2020.
+    -->
+    update new_order_refund
+    set id = #{record.id,jdbcType=INTEGER},
+      order_no = #{record.orderNo,jdbcType=VARCHAR},
+      refund_status = #{record.refundStatus,jdbcType=INTEGER},
+      create_time = #{record.createTime,jdbcType=TIMESTAMP},
+      type = #{record.type,jdbcType=INTEGER},
+      type_explain = #{record.typeExplain,jdbcType=INTEGER},
+      refund_amount = #{record.refundAmount,jdbcType=DECIMAL},
+      reason = #{record.reason,jdbcType=VARCHAR}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.goafanti.common.model.NewOrderRefund">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Tue Feb 11 14:40:29 CST 2020.
+    -->
+    update new_order_refund
+    <set>
+      <if test="orderNo != null">
+        order_no = #{orderNo,jdbcType=VARCHAR},
+      </if>
+      <if test="refundStatus != null">
+        refund_status = #{refundStatus,jdbcType=INTEGER},
+      </if>
+      <if test="createTime != null">
+        create_time = #{createTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="type != null">
+        type = #{type,jdbcType=INTEGER},
+      </if>
+      <if test="typeExplain != null">
+        type_explain = #{typeExplain,jdbcType=INTEGER},
+      </if>
+      <if test="refundAmount != null">
+        refund_amount = #{refundAmount,jdbcType=DECIMAL},
+      </if>
+      <if test="reason != null">
+        reason = #{reason,jdbcType=VARCHAR},
+      </if>
+      <if test="reasonAttachmentUrl != null">
+        reason_attachment_url = #{reasonAttachmentUrl,jdbcType=LONGVARCHAR},
+      </if>
+    </set>
+    where id = #{id,jdbcType=INTEGER}
+  </update>
+  <update id="updateByPrimaryKeyWithBLOBs" parameterType="com.goafanti.common.model.NewOrderRefund">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Tue Feb 11 14:40:29 CST 2020.
+    -->
+    update new_order_refund
+    set order_no = #{orderNo,jdbcType=VARCHAR},
+      refund_status = #{refundStatus,jdbcType=INTEGER},
+      create_time = #{createTime,jdbcType=TIMESTAMP},
+      type = #{type,jdbcType=INTEGER},
+      type_explain = #{typeExplain,jdbcType=INTEGER},
+      refund_amount = #{refundAmount,jdbcType=DECIMAL},
+      reason = #{reason,jdbcType=VARCHAR},
+      reason_attachment_url = #{reasonAttachmentUrl,jdbcType=LONGVARCHAR}
+    where id = #{id,jdbcType=INTEGER}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.goafanti.common.model.NewOrderRefund">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Tue Feb 11 14:40:29 CST 2020.
+    -->
+    update new_order_refund
+    set order_no = #{orderNo,jdbcType=VARCHAR},
+      refund_status = #{refundStatus,jdbcType=INTEGER},
+      create_time = #{createTime,jdbcType=TIMESTAMP},
+      type = #{type,jdbcType=INTEGER},
+      type_explain = #{typeExplain,jdbcType=INTEGER},
+      refund_amount = #{refundAmount,jdbcType=DECIMAL},
+      reason = #{reason,jdbcType=VARCHAR}
+    where id = #{id,jdbcType=INTEGER}
+  </update>
+</mapper>

+ 217 - 0
src/main/java/com/goafanti/common/model/NewOrderRefund.java

@@ -0,0 +1,217 @@
+package com.goafanti.common.model;
+
+import java.math.BigDecimal;
+import java.util.Date;
+import javax.annotation.Generated;
+
+public class NewOrderRefund {
+
+	/**
+	 * This field was generated by MyBatis Generator. This field corresponds to the database column new_order_refund.id
+	 * @mbg.generated  Tue Feb 11 14:40:29 CST 2020
+	 */
+	private Integer id;
+	/**
+	 * This field was generated by MyBatis Generator. This field corresponds to the database column new_order_refund.order_no
+	 * @mbg.generated  Tue Feb 11 14:40:29 CST 2020
+	 */
+	private String orderNo;
+	/**
+	 * This field was generated by MyBatis Generator. This field corresponds to the database column new_order_refund.refund_status
+	 * @mbg.generated  Tue Feb 11 14:40:29 CST 2020
+	 */
+	private Integer refundStatus;
+	/**
+	 * This field was generated by MyBatis Generator. This field corresponds to the database column new_order_refund.create_time
+	 * @mbg.generated  Tue Feb 11 14:40:29 CST 2020
+	 */
+	private Date createTime;
+	/**
+	 * This field was generated by MyBatis Generator. This field corresponds to the database column new_order_refund.type
+	 * @mbg.generated  Tue Feb 11 14:40:29 CST 2020
+	 */
+	private Integer type;
+	/**
+	 * This field was generated by MyBatis Generator. This field corresponds to the database column new_order_refund.type_explain
+	 * @mbg.generated  Tue Feb 11 14:40:29 CST 2020
+	 */
+	private Integer typeExplain;
+	/**
+	 * This field was generated by MyBatis Generator. This field corresponds to the database column new_order_refund.refund_amount
+	 * @mbg.generated  Tue Feb 11 14:40:29 CST 2020
+	 */
+	private BigDecimal refundAmount;
+	/**
+	 * This field was generated by MyBatis Generator. This field corresponds to the database column new_order_refund.reason
+	 * @mbg.generated  Tue Feb 11 14:40:29 CST 2020
+	 */
+	private String reason;
+	/**
+	 * This field was generated by MyBatis Generator. This field corresponds to the database column new_order_refund.reason_attachment_url
+	 * @mbg.generated  Tue Feb 11 14:40:29 CST 2020
+	 */
+	private String reasonAttachmentUrl;
+
+	/**
+	 * This method was generated by MyBatis Generator. This method returns the value of the database column new_order_refund.id
+	 * @return  the value of new_order_refund.id
+	 * @mbg.generated  Tue Feb 11 14:40:29 CST 2020
+	 */
+	public Integer getId() {
+		return id;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method sets the value of the database column new_order_refund.id
+	 * @param id  the value for new_order_refund.id
+	 * @mbg.generated  Tue Feb 11 14:40:29 CST 2020
+	 */
+	public void setId(Integer id) {
+		this.id = id;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method returns the value of the database column new_order_refund.order_no
+	 * @return  the value of new_order_refund.order_no
+	 * @mbg.generated  Tue Feb 11 14:40:29 CST 2020
+	 */
+	public String getOrderNo() {
+		return orderNo;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method sets the value of the database column new_order_refund.order_no
+	 * @param orderNo  the value for new_order_refund.order_no
+	 * @mbg.generated  Tue Feb 11 14:40:29 CST 2020
+	 */
+	public void setOrderNo(String orderNo) {
+		this.orderNo = orderNo;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method returns the value of the database column new_order_refund.refund_status
+	 * @return  the value of new_order_refund.refund_status
+	 * @mbg.generated  Tue Feb 11 14:40:29 CST 2020
+	 */
+	public Integer getRefundStatus() {
+		return refundStatus;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method sets the value of the database column new_order_refund.refund_status
+	 * @param refundStatus  the value for new_order_refund.refund_status
+	 * @mbg.generated  Tue Feb 11 14:40:29 CST 2020
+	 */
+	public void setRefundStatus(Integer refundStatus) {
+		this.refundStatus = refundStatus;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method returns the value of the database column new_order_refund.create_time
+	 * @return  the value of new_order_refund.create_time
+	 * @mbg.generated  Tue Feb 11 14:40:29 CST 2020
+	 */
+	public Date getCreateTime() {
+		return createTime;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method sets the value of the database column new_order_refund.create_time
+	 * @param createTime  the value for new_order_refund.create_time
+	 * @mbg.generated  Tue Feb 11 14:40:29 CST 2020
+	 */
+	public void setCreateTime(Date createTime) {
+		this.createTime = createTime;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method returns the value of the database column new_order_refund.type
+	 * @return  the value of new_order_refund.type
+	 * @mbg.generated  Tue Feb 11 14:40:29 CST 2020
+	 */
+	public Integer getType() {
+		return type;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method sets the value of the database column new_order_refund.type
+	 * @param type  the value for new_order_refund.type
+	 * @mbg.generated  Tue Feb 11 14:40:29 CST 2020
+	 */
+	public void setType(Integer type) {
+		this.type = type;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method returns the value of the database column new_order_refund.type_explain
+	 * @return  the value of new_order_refund.type_explain
+	 * @mbg.generated  Tue Feb 11 14:40:29 CST 2020
+	 */
+	public Integer getTypeExplain() {
+		return typeExplain;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method sets the value of the database column new_order_refund.type_explain
+	 * @param typeExplain  the value for new_order_refund.type_explain
+	 * @mbg.generated  Tue Feb 11 14:40:29 CST 2020
+	 */
+	public void setTypeExplain(Integer typeExplain) {
+		this.typeExplain = typeExplain;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method returns the value of the database column new_order_refund.refund_amount
+	 * @return  the value of new_order_refund.refund_amount
+	 * @mbg.generated  Tue Feb 11 14:40:29 CST 2020
+	 */
+	public BigDecimal getRefundAmount() {
+		return refundAmount;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method sets the value of the database column new_order_refund.refund_amount
+	 * @param refundAmount  the value for new_order_refund.refund_amount
+	 * @mbg.generated  Tue Feb 11 14:40:29 CST 2020
+	 */
+	public void setRefundAmount(BigDecimal refundAmount) {
+		this.refundAmount = refundAmount;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method returns the value of the database column new_order_refund.reason
+	 * @return  the value of new_order_refund.reason
+	 * @mbg.generated  Tue Feb 11 14:40:29 CST 2020
+	 */
+	public String getReason() {
+		return reason;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method sets the value of the database column new_order_refund.reason
+	 * @param reason  the value for new_order_refund.reason
+	 * @mbg.generated  Tue Feb 11 14:40:29 CST 2020
+	 */
+	public void setReason(String reason) {
+		this.reason = reason;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method returns the value of the database column new_order_refund.reason_attachment_url
+	 * @return  the value of new_order_refund.reason_attachment_url
+	 * @mbg.generated  Tue Feb 11 14:40:29 CST 2020
+	 */
+	public String getReasonAttachmentUrl() {
+		return reasonAttachmentUrl;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method sets the value of the database column new_order_refund.reason_attachment_url
+	 * @param reasonAttachmentUrl  the value for new_order_refund.reason_attachment_url
+	 * @mbg.generated  Tue Feb 11 14:40:29 CST 2020
+	 */
+	public void setReasonAttachmentUrl(String reasonAttachmentUrl) {
+		this.reasonAttachmentUrl = reasonAttachmentUrl;
+	}
+	
+}

+ 763 - 0
src/main/java/com/goafanti/common/model/NewOrderRefundExample.java

@@ -0,0 +1,763 @@
+package com.goafanti.common.model;
+
+import java.math.BigDecimal;
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+
+public class NewOrderRefundExample {
+    /**
+	 * This field was generated by MyBatis Generator. This field corresponds to the database table new_order_refund
+	 * @mbg.generated  Tue Feb 11 14:40:29 CST 2020
+	 */
+	protected String orderByClause;
+	/**
+	 * This field was generated by MyBatis Generator. This field corresponds to the database table new_order_refund
+	 * @mbg.generated  Tue Feb 11 14:40:29 CST 2020
+	 */
+	protected boolean distinct;
+	/**
+	 * This field was generated by MyBatis Generator. This field corresponds to the database table new_order_refund
+	 * @mbg.generated  Tue Feb 11 14:40:29 CST 2020
+	 */
+	protected List<Criteria> oredCriteria;
+
+	/**
+	 * This method was generated by MyBatis Generator. This method corresponds to the database table new_order_refund
+	 * @mbg.generated  Tue Feb 11 14:40:29 CST 2020
+	 */
+	public NewOrderRefundExample() {
+		oredCriteria = new ArrayList<Criteria>();
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method corresponds to the database table new_order_refund
+	 * @mbg.generated  Tue Feb 11 14:40:29 CST 2020
+	 */
+	public void setOrderByClause(String orderByClause) {
+		this.orderByClause = orderByClause;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method corresponds to the database table new_order_refund
+	 * @mbg.generated  Tue Feb 11 14:40:29 CST 2020
+	 */
+	public String getOrderByClause() {
+		return orderByClause;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method corresponds to the database table new_order_refund
+	 * @mbg.generated  Tue Feb 11 14:40:29 CST 2020
+	 */
+	public void setDistinct(boolean distinct) {
+		this.distinct = distinct;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method corresponds to the database table new_order_refund
+	 * @mbg.generated  Tue Feb 11 14:40:29 CST 2020
+	 */
+	public boolean isDistinct() {
+		return distinct;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method corresponds to the database table new_order_refund
+	 * @mbg.generated  Tue Feb 11 14:40:29 CST 2020
+	 */
+	public List<Criteria> getOredCriteria() {
+		return oredCriteria;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method corresponds to the database table new_order_refund
+	 * @mbg.generated  Tue Feb 11 14:40:29 CST 2020
+	 */
+	public void or(Criteria criteria) {
+		oredCriteria.add(criteria);
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method corresponds to the database table new_order_refund
+	 * @mbg.generated  Tue Feb 11 14:40:29 CST 2020
+	 */
+	public Criteria or() {
+		Criteria criteria = createCriteriaInternal();
+		oredCriteria.add(criteria);
+		return criteria;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method corresponds to the database table new_order_refund
+	 * @mbg.generated  Tue Feb 11 14:40:29 CST 2020
+	 */
+	public Criteria createCriteria() {
+		Criteria criteria = createCriteriaInternal();
+		if (oredCriteria.size() == 0) {
+			oredCriteria.add(criteria);
+		}
+		return criteria;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method corresponds to the database table new_order_refund
+	 * @mbg.generated  Tue Feb 11 14:40:29 CST 2020
+	 */
+	protected Criteria createCriteriaInternal() {
+		Criteria criteria = new Criteria();
+		return criteria;
+	}
+
+	/**
+	 * This method was generated by MyBatis Generator. This method corresponds to the database table new_order_refund
+	 * @mbg.generated  Tue Feb 11 14:40:29 CST 2020
+	 */
+	public void clear() {
+		oredCriteria.clear();
+		orderByClause = null;
+		distinct = false;
+	}
+
+	/**
+	 * This class was generated by MyBatis Generator. This class corresponds to the database table new_order_refund
+	 * @mbg.generated  Tue Feb 11 14:40:29 CST 2020
+	 */
+	protected abstract static class GeneratedCriteria {
+		protected List<Criterion> criteria;
+
+		protected GeneratedCriteria() {
+			super();
+			criteria = new ArrayList<Criterion>();
+		}
+
+		public boolean isValid() {
+			return criteria.size() > 0;
+		}
+
+		public List<Criterion> getAllCriteria() {
+			return criteria;
+		}
+
+		public List<Criterion> getCriteria() {
+			return criteria;
+		}
+
+		protected void addCriterion(String condition) {
+			if (condition == null) {
+				throw new RuntimeException("Value for condition cannot be null");
+			}
+			criteria.add(new Criterion(condition));
+		}
+
+		protected void addCriterion(String condition, Object value, String property) {
+			if (value == null) {
+				throw new RuntimeException("Value for " + property + " cannot be null");
+			}
+			criteria.add(new Criterion(condition, value));
+		}
+
+		protected void addCriterion(String condition, Object value1, Object value2, String property) {
+			if (value1 == null || value2 == null) {
+				throw new RuntimeException("Between values for " + property + " cannot be null");
+			}
+			criteria.add(new Criterion(condition, value1, value2));
+		}
+
+		public Criteria andIdIsNull() {
+			addCriterion("id is null");
+			return (Criteria) this;
+		}
+
+		public Criteria andIdIsNotNull() {
+			addCriterion("id is not null");
+			return (Criteria) this;
+		}
+
+		public Criteria andIdEqualTo(Integer value) {
+			addCriterion("id =", value, "id");
+			return (Criteria) this;
+		}
+
+		public Criteria andIdNotEqualTo(Integer value) {
+			addCriterion("id <>", value, "id");
+			return (Criteria) this;
+		}
+
+		public Criteria andIdGreaterThan(Integer value) {
+			addCriterion("id >", value, "id");
+			return (Criteria) this;
+		}
+
+		public Criteria andIdGreaterThanOrEqualTo(Integer value) {
+			addCriterion("id >=", value, "id");
+			return (Criteria) this;
+		}
+
+		public Criteria andIdLessThan(Integer value) {
+			addCriterion("id <", value, "id");
+			return (Criteria) this;
+		}
+
+		public Criteria andIdLessThanOrEqualTo(Integer value) {
+			addCriterion("id <=", value, "id");
+			return (Criteria) this;
+		}
+
+		public Criteria andIdIn(List<Integer> values) {
+			addCriterion("id in", values, "id");
+			return (Criteria) this;
+		}
+
+		public Criteria andIdNotIn(List<Integer> values) {
+			addCriterion("id not in", values, "id");
+			return (Criteria) this;
+		}
+
+		public Criteria andIdBetween(Integer value1, Integer value2) {
+			addCriterion("id between", value1, value2, "id");
+			return (Criteria) this;
+		}
+
+		public Criteria andIdNotBetween(Integer value1, Integer value2) {
+			addCriterion("id not between", value1, value2, "id");
+			return (Criteria) this;
+		}
+
+		public Criteria andOrderNoIsNull() {
+			addCriterion("order_no is null");
+			return (Criteria) this;
+		}
+
+		public Criteria andOrderNoIsNotNull() {
+			addCriterion("order_no is not null");
+			return (Criteria) this;
+		}
+
+		public Criteria andOrderNoEqualTo(String value) {
+			addCriterion("order_no =", value, "orderNo");
+			return (Criteria) this;
+		}
+
+		public Criteria andOrderNoNotEqualTo(String value) {
+			addCriterion("order_no <>", value, "orderNo");
+			return (Criteria) this;
+		}
+
+		public Criteria andOrderNoGreaterThan(String value) {
+			addCriterion("order_no >", value, "orderNo");
+			return (Criteria) this;
+		}
+
+		public Criteria andOrderNoGreaterThanOrEqualTo(String value) {
+			addCriterion("order_no >=", value, "orderNo");
+			return (Criteria) this;
+		}
+
+		public Criteria andOrderNoLessThan(String value) {
+			addCriterion("order_no <", value, "orderNo");
+			return (Criteria) this;
+		}
+
+		public Criteria andOrderNoLessThanOrEqualTo(String value) {
+			addCriterion("order_no <=", value, "orderNo");
+			return (Criteria) this;
+		}
+
+		public Criteria andOrderNoLike(String value) {
+			addCriterion("order_no like", value, "orderNo");
+			return (Criteria) this;
+		}
+
+		public Criteria andOrderNoNotLike(String value) {
+			addCriterion("order_no not like", value, "orderNo");
+			return (Criteria) this;
+		}
+
+		public Criteria andOrderNoIn(List<String> values) {
+			addCriterion("order_no in", values, "orderNo");
+			return (Criteria) this;
+		}
+
+		public Criteria andOrderNoNotIn(List<String> values) {
+			addCriterion("order_no not in", values, "orderNo");
+			return (Criteria) this;
+		}
+
+		public Criteria andOrderNoBetween(String value1, String value2) {
+			addCriterion("order_no between", value1, value2, "orderNo");
+			return (Criteria) this;
+		}
+
+		public Criteria andOrderNoNotBetween(String value1, String value2) {
+			addCriterion("order_no not between", value1, value2, "orderNo");
+			return (Criteria) this;
+		}
+
+		public Criteria andRefundStatusIsNull() {
+			addCriterion("refund_status is null");
+			return (Criteria) this;
+		}
+
+		public Criteria andRefundStatusIsNotNull() {
+			addCriterion("refund_status is not null");
+			return (Criteria) this;
+		}
+
+		public Criteria andRefundStatusEqualTo(Integer value) {
+			addCriterion("refund_status =", value, "refundStatus");
+			return (Criteria) this;
+		}
+
+		public Criteria andRefundStatusNotEqualTo(Integer value) {
+			addCriterion("refund_status <>", value, "refundStatus");
+			return (Criteria) this;
+		}
+
+		public Criteria andRefundStatusGreaterThan(Integer value) {
+			addCriterion("refund_status >", value, "refundStatus");
+			return (Criteria) this;
+		}
+
+		public Criteria andRefundStatusGreaterThanOrEqualTo(Integer value) {
+			addCriterion("refund_status >=", value, "refundStatus");
+			return (Criteria) this;
+		}
+
+		public Criteria andRefundStatusLessThan(Integer value) {
+			addCriterion("refund_status <", value, "refundStatus");
+			return (Criteria) this;
+		}
+
+		public Criteria andRefundStatusLessThanOrEqualTo(Integer value) {
+			addCriterion("refund_status <=", value, "refundStatus");
+			return (Criteria) this;
+		}
+
+		public Criteria andRefundStatusIn(List<Integer> values) {
+			addCriterion("refund_status in", values, "refundStatus");
+			return (Criteria) this;
+		}
+
+		public Criteria andRefundStatusNotIn(List<Integer> values) {
+			addCriterion("refund_status not in", values, "refundStatus");
+			return (Criteria) this;
+		}
+
+		public Criteria andRefundStatusBetween(Integer value1, Integer value2) {
+			addCriterion("refund_status between", value1, value2, "refundStatus");
+			return (Criteria) this;
+		}
+
+		public Criteria andRefundStatusNotBetween(Integer value1, Integer value2) {
+			addCriterion("refund_status not between", value1, value2, "refundStatus");
+			return (Criteria) this;
+		}
+
+		public Criteria andCreateTimeIsNull() {
+			addCriterion("create_time is null");
+			return (Criteria) this;
+		}
+
+		public Criteria andCreateTimeIsNotNull() {
+			addCriterion("create_time is not null");
+			return (Criteria) this;
+		}
+
+		public Criteria andCreateTimeEqualTo(Date value) {
+			addCriterion("create_time =", value, "createTime");
+			return (Criteria) this;
+		}
+
+		public Criteria andCreateTimeNotEqualTo(Date value) {
+			addCriterion("create_time <>", value, "createTime");
+			return (Criteria) this;
+		}
+
+		public Criteria andCreateTimeGreaterThan(Date value) {
+			addCriterion("create_time >", value, "createTime");
+			return (Criteria) this;
+		}
+
+		public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
+			addCriterion("create_time >=", value, "createTime");
+			return (Criteria) this;
+		}
+
+		public Criteria andCreateTimeLessThan(Date value) {
+			addCriterion("create_time <", value, "createTime");
+			return (Criteria) this;
+		}
+
+		public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
+			addCriterion("create_time <=", value, "createTime");
+			return (Criteria) this;
+		}
+
+		public Criteria andCreateTimeIn(List<Date> values) {
+			addCriterion("create_time in", values, "createTime");
+			return (Criteria) this;
+		}
+
+		public Criteria andCreateTimeNotIn(List<Date> values) {
+			addCriterion("create_time not in", values, "createTime");
+			return (Criteria) this;
+		}
+
+		public Criteria andCreateTimeBetween(Date value1, Date value2) {
+			addCriterion("create_time between", value1, value2, "createTime");
+			return (Criteria) this;
+		}
+
+		public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
+			addCriterion("create_time not between", value1, value2, "createTime");
+			return (Criteria) this;
+		}
+
+		public Criteria andTypeIsNull() {
+			addCriterion("type is null");
+			return (Criteria) this;
+		}
+
+		public Criteria andTypeIsNotNull() {
+			addCriterion("type is not null");
+			return (Criteria) this;
+		}
+
+		public Criteria andTypeEqualTo(Integer value) {
+			addCriterion("type =", value, "type");
+			return (Criteria) this;
+		}
+
+		public Criteria andTypeNotEqualTo(Integer value) {
+			addCriterion("type <>", value, "type");
+			return (Criteria) this;
+		}
+
+		public Criteria andTypeGreaterThan(Integer value) {
+			addCriterion("type >", value, "type");
+			return (Criteria) this;
+		}
+
+		public Criteria andTypeGreaterThanOrEqualTo(Integer value) {
+			addCriterion("type >=", value, "type");
+			return (Criteria) this;
+		}
+
+		public Criteria andTypeLessThan(Integer value) {
+			addCriterion("type <", value, "type");
+			return (Criteria) this;
+		}
+
+		public Criteria andTypeLessThanOrEqualTo(Integer value) {
+			addCriterion("type <=", value, "type");
+			return (Criteria) this;
+		}
+
+		public Criteria andTypeIn(List<Integer> values) {
+			addCriterion("type in", values, "type");
+			return (Criteria) this;
+		}
+
+		public Criteria andTypeNotIn(List<Integer> values) {
+			addCriterion("type not in", values, "type");
+			return (Criteria) this;
+		}
+
+		public Criteria andTypeBetween(Integer value1, Integer value2) {
+			addCriterion("type between", value1, value2, "type");
+			return (Criteria) this;
+		}
+
+		public Criteria andTypeNotBetween(Integer value1, Integer value2) {
+			addCriterion("type not between", value1, value2, "type");
+			return (Criteria) this;
+		}
+
+		public Criteria andTypeExplainIsNull() {
+			addCriterion("type_explain is null");
+			return (Criteria) this;
+		}
+
+		public Criteria andTypeExplainIsNotNull() {
+			addCriterion("type_explain is not null");
+			return (Criteria) this;
+		}
+
+		public Criteria andTypeExplainEqualTo(Integer value) {
+			addCriterion("type_explain =", value, "typeExplain");
+			return (Criteria) this;
+		}
+
+		public Criteria andTypeExplainNotEqualTo(Integer value) {
+			addCriterion("type_explain <>", value, "typeExplain");
+			return (Criteria) this;
+		}
+
+		public Criteria andTypeExplainGreaterThan(Integer value) {
+			addCriterion("type_explain >", value, "typeExplain");
+			return (Criteria) this;
+		}
+
+		public Criteria andTypeExplainGreaterThanOrEqualTo(Integer value) {
+			addCriterion("type_explain >=", value, "typeExplain");
+			return (Criteria) this;
+		}
+
+		public Criteria andTypeExplainLessThan(Integer value) {
+			addCriterion("type_explain <", value, "typeExplain");
+			return (Criteria) this;
+		}
+
+		public Criteria andTypeExplainLessThanOrEqualTo(Integer value) {
+			addCriterion("type_explain <=", value, "typeExplain");
+			return (Criteria) this;
+		}
+
+		public Criteria andTypeExplainIn(List<Integer> values) {
+			addCriterion("type_explain in", values, "typeExplain");
+			return (Criteria) this;
+		}
+
+		public Criteria andTypeExplainNotIn(List<Integer> values) {
+			addCriterion("type_explain not in", values, "typeExplain");
+			return (Criteria) this;
+		}
+
+		public Criteria andTypeExplainBetween(Integer value1, Integer value2) {
+			addCriterion("type_explain between", value1, value2, "typeExplain");
+			return (Criteria) this;
+		}
+
+		public Criteria andTypeExplainNotBetween(Integer value1, Integer value2) {
+			addCriterion("type_explain not between", value1, value2, "typeExplain");
+			return (Criteria) this;
+		}
+
+		public Criteria andRefundAmountIsNull() {
+			addCriterion("refund_amount is null");
+			return (Criteria) this;
+		}
+
+		public Criteria andRefundAmountIsNotNull() {
+			addCriterion("refund_amount is not null");
+			return (Criteria) this;
+		}
+
+		public Criteria andRefundAmountEqualTo(BigDecimal value) {
+			addCriterion("refund_amount =", value, "refundAmount");
+			return (Criteria) this;
+		}
+
+		public Criteria andRefundAmountNotEqualTo(BigDecimal value) {
+			addCriterion("refund_amount <>", value, "refundAmount");
+			return (Criteria) this;
+		}
+
+		public Criteria andRefundAmountGreaterThan(BigDecimal value) {
+			addCriterion("refund_amount >", value, "refundAmount");
+			return (Criteria) this;
+		}
+
+		public Criteria andRefundAmountGreaterThanOrEqualTo(BigDecimal value) {
+			addCriterion("refund_amount >=", value, "refundAmount");
+			return (Criteria) this;
+		}
+
+		public Criteria andRefundAmountLessThan(BigDecimal value) {
+			addCriterion("refund_amount <", value, "refundAmount");
+			return (Criteria) this;
+		}
+
+		public Criteria andRefundAmountLessThanOrEqualTo(BigDecimal value) {
+			addCriterion("refund_amount <=", value, "refundAmount");
+			return (Criteria) this;
+		}
+
+		public Criteria andRefundAmountIn(List<BigDecimal> values) {
+			addCriterion("refund_amount in", values, "refundAmount");
+			return (Criteria) this;
+		}
+
+		public Criteria andRefundAmountNotIn(List<BigDecimal> values) {
+			addCriterion("refund_amount not in", values, "refundAmount");
+			return (Criteria) this;
+		}
+
+		public Criteria andRefundAmountBetween(BigDecimal value1, BigDecimal value2) {
+			addCriterion("refund_amount between", value1, value2, "refundAmount");
+			return (Criteria) this;
+		}
+
+		public Criteria andRefundAmountNotBetween(BigDecimal value1, BigDecimal value2) {
+			addCriterion("refund_amount not between", value1, value2, "refundAmount");
+			return (Criteria) this;
+		}
+
+		public Criteria andReasonIsNull() {
+			addCriterion("reason is null");
+			return (Criteria) this;
+		}
+
+		public Criteria andReasonIsNotNull() {
+			addCriterion("reason is not null");
+			return (Criteria) this;
+		}
+
+		public Criteria andReasonEqualTo(String value) {
+			addCriterion("reason =", value, "reason");
+			return (Criteria) this;
+		}
+
+		public Criteria andReasonNotEqualTo(String value) {
+			addCriterion("reason <>", value, "reason");
+			return (Criteria) this;
+		}
+
+		public Criteria andReasonGreaterThan(String value) {
+			addCriterion("reason >", value, "reason");
+			return (Criteria) this;
+		}
+
+		public Criteria andReasonGreaterThanOrEqualTo(String value) {
+			addCriterion("reason >=", value, "reason");
+			return (Criteria) this;
+		}
+
+		public Criteria andReasonLessThan(String value) {
+			addCriterion("reason <", value, "reason");
+			return (Criteria) this;
+		}
+
+		public Criteria andReasonLessThanOrEqualTo(String value) {
+			addCriterion("reason <=", value, "reason");
+			return (Criteria) this;
+		}
+
+		public Criteria andReasonLike(String value) {
+			addCriterion("reason like", value, "reason");
+			return (Criteria) this;
+		}
+
+		public Criteria andReasonNotLike(String value) {
+			addCriterion("reason not like", value, "reason");
+			return (Criteria) this;
+		}
+
+		public Criteria andReasonIn(List<String> values) {
+			addCriterion("reason in", values, "reason");
+			return (Criteria) this;
+		}
+
+		public Criteria andReasonNotIn(List<String> values) {
+			addCriterion("reason not in", values, "reason");
+			return (Criteria) this;
+		}
+
+		public Criteria andReasonBetween(String value1, String value2) {
+			addCriterion("reason between", value1, value2, "reason");
+			return (Criteria) this;
+		}
+
+		public Criteria andReasonNotBetween(String value1, String value2) {
+			addCriterion("reason not between", value1, value2, "reason");
+			return (Criteria) this;
+		}
+	}
+
+	/**
+	 * This class was generated by MyBatis Generator. This class corresponds to the database table new_order_refund
+	 * @mbg.generated  Tue Feb 11 14:40:29 CST 2020
+	 */
+	public static class Criterion {
+		private String condition;
+		private Object value;
+		private Object secondValue;
+		private boolean noValue;
+		private boolean singleValue;
+		private boolean betweenValue;
+		private boolean listValue;
+		private String typeHandler;
+
+		public String getCondition() {
+			return condition;
+		}
+
+		public Object getValue() {
+			return value;
+		}
+
+		public Object getSecondValue() {
+			return secondValue;
+		}
+
+		public boolean isNoValue() {
+			return noValue;
+		}
+
+		public boolean isSingleValue() {
+			return singleValue;
+		}
+
+		public boolean isBetweenValue() {
+			return betweenValue;
+		}
+
+		public boolean isListValue() {
+			return listValue;
+		}
+
+		public String getTypeHandler() {
+			return typeHandler;
+		}
+
+		protected Criterion(String condition) {
+			super();
+			this.condition = condition;
+			this.typeHandler = null;
+			this.noValue = true;
+		}
+
+		protected Criterion(String condition, Object value, String typeHandler) {
+			super();
+			this.condition = condition;
+			this.value = value;
+			this.typeHandler = typeHandler;
+			if (value instanceof List<?>) {
+				this.listValue = true;
+			} else {
+				this.singleValue = true;
+			}
+		}
+
+		protected Criterion(String condition, Object value) {
+			this(condition, value, null);
+		}
+
+		protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+			super();
+			this.condition = condition;
+			this.value = value;
+			this.secondValue = secondValue;
+			this.typeHandler = typeHandler;
+			this.betweenValue = true;
+		}
+
+		protected Criterion(String condition, Object value, Object secondValue) {
+			this(condition, value, secondValue, null);
+		}
+	}
+
+	/**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table new_order_refund
+     *
+     * @mbg.generated do_not_delete_during_merge Tue Feb 11 14:39:46 CST 2020
+     */
+    public static class Criteria extends GeneratedCriteria {
+
+        protected Criteria() {
+            super();
+        }
+    }
+}