mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 19:15:35 +08:00
update 加运营商id字段
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
<resultMap type="com.jsowell.pile.domain.OrderInvoiceRecord" id="OrderInvoiceRecordResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="memberId" column="member_id" />
|
||||
<result property="merchantId" column="merchant_id" />
|
||||
<result property="titleId" column="title_id" />
|
||||
<result property="phoneNumber" column="phone_number" />
|
||||
<result property="email" column="email" />
|
||||
@@ -24,7 +25,7 @@
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
<!--@mbg.generated-->
|
||||
id, member_id, title_id, phone_number, email, order_codes, status, total_amount, total_service_amount, total_elec_amount,
|
||||
id, member_id, merchant_id, title_id, phone_number, email, order_codes, status, total_amount, total_service_amount, total_elec_amount,
|
||||
create_by, create_time, update_by, update_time, del_flag
|
||||
</sql>
|
||||
|
||||
@@ -38,6 +39,7 @@
|
||||
<include refid="selectOrderInvoiceRecordVo"/>
|
||||
<where>
|
||||
<if test="memberId != null and memberId != ''"> and member_id = #{memberId}</if>
|
||||
<if test="merchantId != null and merchantId != ''"> and merchant_id = #{merchantId}</if>
|
||||
<if test="orderCodes != null and orderCodes != ''"> and order_codes like concat('%', #{orderCodes}, '%')</if>
|
||||
<if test="status != null and status != ''"> and status = #{status}</if>
|
||||
<if test="totalAmount != null "> and total_amount = #{totalAmount}</if>
|
||||
@@ -56,6 +58,7 @@
|
||||
insert into order_invoice_record
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="memberId != null">member_id,</if>
|
||||
<if test="merchantId != null">merchant_id,</if>
|
||||
<if test="titleId != null">title_id,</if>
|
||||
<if test="phoneNumber != null">phone_number,</if>
|
||||
<if test="email != null">email,</if>
|
||||
@@ -72,6 +75,7 @@
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="memberId != null">#{memberId},</if>
|
||||
<if test="merchantId != null">#{merchantId},</if>
|
||||
<if test="titleId != null">#{titleId},</if>
|
||||
<if test="phoneNumber != null">#{phoneNumber},</if>
|
||||
<if test="email != null">#{email},</if>
|
||||
@@ -92,6 +96,7 @@
|
||||
update order_invoice_record
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="memberId != null">member_id = #{memberId},</if>
|
||||
<if test="merchantId != null">merchant_id = #{merchantId},</if>
|
||||
<if test="orderCodes != null">order_codes = #{orderCodes},</if>
|
||||
<if test="status != null">status = #{status},</if>
|
||||
<if test="totalAmount != null">total_amount = #{totalAmount},</if>
|
||||
|
||||
Reference in New Issue
Block a user