mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-06-11 02:40:15 +08:00
update 加运营商id字段
This commit is contained in:
@@ -29,6 +29,12 @@ public class OrderInvoiceRecord extends BaseEntity {
|
|||||||
@Excel(name = "会员id")
|
@Excel(name = "会员id")
|
||||||
private String memberId;
|
private String memberId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 运营商id
|
||||||
|
*/
|
||||||
|
@Excel(name = "运营商id")
|
||||||
|
private String merchantId;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 发票抬头id
|
* 发票抬头id
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
<resultMap type="com.jsowell.pile.domain.OrderInvoiceRecord" id="OrderInvoiceRecordResult">
|
<resultMap type="com.jsowell.pile.domain.OrderInvoiceRecord" id="OrderInvoiceRecordResult">
|
||||||
<result property="id" column="id" />
|
<result property="id" column="id" />
|
||||||
<result property="memberId" column="member_id" />
|
<result property="memberId" column="member_id" />
|
||||||
|
<result property="merchantId" column="merchant_id" />
|
||||||
<result property="titleId" column="title_id" />
|
<result property="titleId" column="title_id" />
|
||||||
<result property="phoneNumber" column="phone_number" />
|
<result property="phoneNumber" column="phone_number" />
|
||||||
<result property="email" column="email" />
|
<result property="email" column="email" />
|
||||||
@@ -24,7 +25,7 @@
|
|||||||
|
|
||||||
<sql id="Base_Column_List">
|
<sql id="Base_Column_List">
|
||||||
<!--@mbg.generated-->
|
<!--@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
|
create_by, create_time, update_by, update_time, del_flag
|
||||||
</sql>
|
</sql>
|
||||||
|
|
||||||
@@ -38,6 +39,7 @@
|
|||||||
<include refid="selectOrderInvoiceRecordVo"/>
|
<include refid="selectOrderInvoiceRecordVo"/>
|
||||||
<where>
|
<where>
|
||||||
<if test="memberId != null and memberId != ''"> and member_id = #{memberId}</if>
|
<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="orderCodes != null and orderCodes != ''"> and order_codes like concat('%', #{orderCodes}, '%')</if>
|
||||||
<if test="status != null and status != ''"> and status = #{status}</if>
|
<if test="status != null and status != ''"> and status = #{status}</if>
|
||||||
<if test="totalAmount != null "> and total_amount = #{totalAmount}</if>
|
<if test="totalAmount != null "> and total_amount = #{totalAmount}</if>
|
||||||
@@ -56,6 +58,7 @@
|
|||||||
insert into order_invoice_record
|
insert into order_invoice_record
|
||||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||||
<if test="memberId != null">member_id,</if>
|
<if test="memberId != null">member_id,</if>
|
||||||
|
<if test="merchantId != null">merchant_id,</if>
|
||||||
<if test="titleId != null">title_id,</if>
|
<if test="titleId != null">title_id,</if>
|
||||||
<if test="phoneNumber != null">phone_number,</if>
|
<if test="phoneNumber != null">phone_number,</if>
|
||||||
<if test="email != null">email,</if>
|
<if test="email != null">email,</if>
|
||||||
@@ -72,6 +75,7 @@
|
|||||||
</trim>
|
</trim>
|
||||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
<if test="memberId != null">#{memberId},</if>
|
<if test="memberId != null">#{memberId},</if>
|
||||||
|
<if test="merchantId != null">#{merchantId},</if>
|
||||||
<if test="titleId != null">#{titleId},</if>
|
<if test="titleId != null">#{titleId},</if>
|
||||||
<if test="phoneNumber != null">#{phoneNumber},</if>
|
<if test="phoneNumber != null">#{phoneNumber},</if>
|
||||||
<if test="email != null">#{email},</if>
|
<if test="email != null">#{email},</if>
|
||||||
@@ -92,6 +96,7 @@
|
|||||||
update order_invoice_record
|
update order_invoice_record
|
||||||
<trim prefix="SET" suffixOverrides=",">
|
<trim prefix="SET" suffixOverrides=",">
|
||||||
<if test="memberId != null">member_id = #{memberId},</if>
|
<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="orderCodes != null">order_codes = #{orderCodes},</if>
|
||||||
<if test="status != null">status = #{status},</if>
|
<if test="status != null">status = #{status},</if>
|
||||||
<if test="totalAmount != null">total_amount = #{totalAmount},</if>
|
<if test="totalAmount != null">total_amount = #{totalAmount},</if>
|
||||||
|
|||||||
Reference in New Issue
Block a user