修改篮球入场支付方式
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
<constructor >
|
||||
<idArg column="id" jdbcType="INTEGER" javaType="java.lang.Integer" />
|
||||
<arg column="barcode" jdbcType="VARCHAR" javaType="java.lang.String" />
|
||||
<arg column="order_sn" jdbcType="VARCHAR" javaType="java.lang.String" />
|
||||
<arg column="status" jdbcType="INTEGER" javaType="java.lang.Integer" />
|
||||
<arg column="member_id" jdbcType="INTEGER" javaType="java.lang.Integer" />
|
||||
<arg column="venue_id" jdbcType="INTEGER" javaType="java.lang.Integer" />
|
||||
@@ -16,7 +17,7 @@
|
||||
</constructor>
|
||||
</resultMap>
|
||||
<sql id="Base_Column_List" >
|
||||
id, barcode, status, member_id, venue_id, enter, created_id, modified_id, created_time,
|
||||
id, barcode, order_sn, status, member_id, venue_id, enter, created_id, modified_id, created_time,
|
||||
modified_time
|
||||
</sql>
|
||||
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
|
||||
@@ -30,11 +31,11 @@
|
||||
where id = #{id,jdbcType=INTEGER}
|
||||
</delete>
|
||||
<insert id="insert" parameterType="com.sv.entity.Barcode" >
|
||||
insert into sv_barcode (id, barcode, status,
|
||||
insert into sv_barcode (id, barcode, order_sn, status,
|
||||
member_id, venue_id, enter,
|
||||
created_id, modified_id, created_time,
|
||||
modified_time)
|
||||
values (#{id,jdbcType=INTEGER}, #{barcode,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER},
|
||||
values (#{id,jdbcType=INTEGER}, #{barcode,jdbcType=VARCHAR}, #{orderSn,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER},
|
||||
#{memberId,jdbcType=INTEGER}, #{venueId,jdbcType=INTEGER}, #{enter,jdbcType=INTEGER},
|
||||
#{createdId,jdbcType=INTEGER}, #{modifiedId,jdbcType=INTEGER}, #{createdTime,jdbcType=TIMESTAMP},
|
||||
#{modifiedTime,jdbcType=TIMESTAMP})
|
||||
@@ -48,6 +49,9 @@
|
||||
<if test="barcode != null" >
|
||||
barcode,
|
||||
</if>
|
||||
<if test="orderSn != null" >
|
||||
order_sn,
|
||||
</if>
|
||||
<if test="status != null" >
|
||||
status,
|
||||
</if>
|
||||
@@ -80,6 +84,9 @@
|
||||
<if test="barcode != null" >
|
||||
#{barcode,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="orderSn != null" >
|
||||
#{orderSn,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="status != null" >
|
||||
#{status,jdbcType=INTEGER},
|
||||
</if>
|
||||
@@ -112,6 +119,9 @@
|
||||
<if test="barcode != null" >
|
||||
barcode = #{barcode,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="barcode != null" >
|
||||
order_sn = #{orderSn,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="status != null" >
|
||||
status = #{status,jdbcType=INTEGER},
|
||||
</if>
|
||||
@@ -142,6 +152,7 @@
|
||||
<update id="updateByPrimaryKey" parameterType="com.sv.entity.Barcode" >
|
||||
update sv_barcode
|
||||
set barcode = #{barcode,jdbcType=VARCHAR},
|
||||
order_sn = #{orderSn,jdbcType=INTEGER},
|
||||
status = #{status,jdbcType=INTEGER},
|
||||
member_id = #{memberId,jdbcType=INTEGER},
|
||||
venue_id = #{venueId,jdbcType=INTEGER},
|
||||
|
||||
Reference in New Issue
Block a user