Authored by Lixiaodi

字段类型修改

... ... @@ -40,7 +40,7 @@ public class RefundRecord {
private String remark;
private Boolean delFlag;
private Byte delFlag;
private String sponsorName;
... ...
... ... @@ -19,7 +19,7 @@
<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" />
<result column="del_flag" property="delFlag" jdbcType="TINYINT" />
</resultMap>
<sql id="Base_Column_List" >
... ... @@ -49,7 +49,7 @@
#{refundAmount,jdbcType=DECIMAL}, #{refundChannel,jdbcType=TINYINT}, #{payeeName,jdbcType=VARCHAR},
#{payeeAccount,jdbcType=VARCHAR}, #{refundStatus,jdbcType=TINYINT}, #{goodsName,jdbcType=VARCHAR},
#{goodsSize,jdbcType=VARCHAR}, #{refundAddress,jdbcType=VARCHAR}, #{operatorName,jdbcType=VARCHAR},
#{remark,jdbcType=VARCHAR}, #{delFlag,jdbcType=BIT})
#{remark,jdbcType=VARCHAR}, #{delFlag,jdbcType=TINYINT})
</insert>
<insert id="insertSelective" parameterType="com.yoho.order.model.RefundRecord" >
insert into refund_record
... ... @@ -156,7 +156,7 @@
#{remark,jdbcType=VARCHAR},
</if>
<if test="delFlag != null" >
#{delFlag,jdbcType=BIT},
#{delFlag,jdbcType=TINYINT},
</if>
</trim>
</insert>
... ... @@ -209,7 +209,7 @@
remark = #{remark,jdbcType=VARCHAR},
</if>
<if test="delFlag != null" >
del_flag = #{delFlag,jdbcType=BIT},
del_flag = #{delFlag,jdbcType=TINYINT},
</if>
</set>
where id = #{id,jdbcType=INTEGER}
... ... @@ -231,7 +231,7 @@
refund_address = #{refundAddress,jdbcType=VARCHAR},
operator_name = #{operatorName,jdbcType=VARCHAR},
remark = #{remark,jdbcType=VARCHAR},
del_flag = #{delFlag,jdbcType=BIT}
del_flag = #{delFlag,jdbcType=TINYINT}
where id = #{id,jdbcType=INTEGER}
</update>
... ...