|
@@ -22,6 +22,8 @@
|
|
|
<result property="updateTime" column="update_time" />
|
|
|
<result property="delFlag" column="del_flag" />
|
|
|
<result property="passengerId" column="passenger_id"/>
|
|
|
+ <result property="ticketType" column="ticket_type"/>
|
|
|
+ <result property="goodsTicket" column="goods_ticket"/>
|
|
|
</resultMap>
|
|
|
<insert id="insert" parameterType="com.jpsoft.bus.modules.base.entity.OrderInfo">
|
|
|
<!--
|
|
@@ -31,7 +33,7 @@
|
|
|
-->
|
|
|
<![CDATA[
|
|
|
insert into base_order_info
|
|
|
- (id_,total_fee,body_,pay_status,pay_name,pay_fee,refund_fee,pay_time,out_order_no,transaction_id,open_id,payment_id,create_by,create_time,update_by,update_time,del_flag,passenger_id)
|
|
|
+ (id_,total_fee,body_,pay_status,pay_name,pay_fee,refund_fee,pay_time,out_order_no,transaction_id,open_id,payment_id,create_by,create_time,update_by,update_time,del_flag,passenger_id,ticket_type,goods_ticket)
|
|
|
values
|
|
|
(
|
|
|
#{id,jdbcType=VARCHAR}
|
|
@@ -52,6 +54,8 @@
|
|
|
,#{updateTime,jdbcType= TIMESTAMP }
|
|
|
,#{delFlag,jdbcType= NUMERIC }
|
|
|
,#{passengerId,jdbcType=VARCHAR}
|
|
|
+,#{ticketType,jdbcType=VARCHAR}
|
|
|
+,#{goodsTicket,jdbcType=DECIMAL}
|
|
|
)
|
|
|
]]>
|
|
|
</insert>
|
|
@@ -112,6 +116,12 @@
|
|
|
<if test="passengerId!=null">
|
|
|
passenger_id = #{passengerId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="ticketType!=null">
|
|
|
+ ticket_type = #{ticketType,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="goodsTicket != null">
|
|
|
+ goods_ticket = #{goodsTicket,jdbcType=DECIMAL}
|
|
|
+ </if>
|
|
|
</set>
|
|
|
where id_=#{id}
|
|
|
</update>
|