|
@@ -13,7 +13,7 @@
|
|
|
<result column="oil_price" jdbcType="VARCHAR" property="oilPirce" />
|
|
|
<result column="consumer_id" jdbcType="INTEGER" property="consumerId" />
|
|
|
<result column="consumer" jdbcType="VARCHAR" property="consumer" />
|
|
|
- <result column="amt" jdbcType="VARCHAR" property="amt" />
|
|
|
+ <result column="amt" jdbcType="DOUBLE" property="amt" />
|
|
|
<result column="station_id" jdbcType="INTEGER" property="stationId" />
|
|
|
<result column="status" jdbcType="VARCHAR" property="status" />
|
|
|
<result column="order_liters" jdbcType="VARCHAR" property="orderLiters" />
|
|
@@ -24,6 +24,32 @@
|
|
|
<result column="created_date" jdbcType="TIMESTAMP" property="createdDate" />
|
|
|
<result column="order_type" jdbcType="CHAR" property="orderType" />
|
|
|
<result column="station_name" jdbcType="CHAR" property="stationName" />
|
|
|
+
|
|
|
+
|
|
|
+ <result column="receivable_amt" jdbcType="DOUBLE" property="receivableAmt" />
|
|
|
+ <result column="received_amt" jdbcType="DOUBLE" property="receivedAmt" />
|
|
|
+ <result column="discount_coupon" jdbcType="VARCHAR" property="discountCoupon" />
|
|
|
+ <result column="discount_amt" jdbcType="DOUBLE" property="discountAmt" />
|
|
|
+ <result column="discount_coupon_amt" jdbcType="DOUBLE" property="discountCouponAmt" />
|
|
|
+
|
|
|
+ <result column="wx_amt" jdbcType="DOUBLE" property="wxAmt" />
|
|
|
+ <result column="zfb_amt" jdbcType="DOUBLE" property="zfbAmt" />
|
|
|
+ <result column="pos_amt" jdbcType="DOUBLE" property="posAmt" />
|
|
|
+ <result column="xj_amt" jdbcType="DOUBLE" property="xjAmt" />
|
|
|
+ <result column="didi_app_amt" jdbcType="DOUBLE" property="didiAppAmt" />
|
|
|
+
|
|
|
+ <result column="ty_app_amt" jdbcType="DOUBLE" property="tyAppAmt" />
|
|
|
+ <result column="other_amt" jdbcType="DOUBLE" property="otherAmt" />
|
|
|
+ <result column="dzk_amt" jdbcType="TIMESTAMP" property="dzkAmt" />
|
|
|
+ <result column="score" jdbcType="INTEGER" property="score" />
|
|
|
+ <result column="member_no" jdbcType="VARCHAR" property="memberNo" />
|
|
|
+
|
|
|
+ <result column="member_amt" jdbcType="DOUBLE" property="memberAmt" />
|
|
|
+ <result column="print_count" jdbcType="INTEGER" property="printCount" />
|
|
|
+ <result column="car_no" jdbcType="VARCHAR" property="carNo" />
|
|
|
+ <result column="customer_phone" jdbcType="VARCHAR" property="customerPhone" />
|
|
|
+ <result column="customer_grade" jdbcType="VARCHAR" property="customerGrade" />
|
|
|
+
|
|
|
</resultMap>
|
|
|
<sql id="Example_Where_Clause">
|
|
|
<!--
|
|
@@ -97,7 +123,10 @@
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
-->
|
|
|
order_id, order_no, oil_gun, oil_name, oil_pirce, consumer_id, consumer, amt, station_id, status,
|
|
|
- order_liters, pay_type, pay_way, pay_date, oil_personnel, created_date, order_type, station_name
|
|
|
+ order_liters, pay_type, pay_way, pay_date, oil_personnel, created_date, order_type, station_name,
|
|
|
+ receivable_amt, received_amt, discount_amt, discount_coupon_amt, discount_coupon, wx_amt,
|
|
|
+ zfb_amt, pos_amt, xj_amt, didi_app_amt, ty_app_amt, other_amt, dzk_amt, score, member_no, member_amt,
|
|
|
+ print_count, car_no, customer_phone, customer_grade
|
|
|
</sql>
|
|
|
|
|
|
<!-- 根据油品名称和油站查询油枪编号和价格 -->
|
|
@@ -198,18 +227,28 @@
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
-->
|
|
|
- insert into pay_order (order_id, order_no, oil_gun,
|
|
|
- oil_name, oli_price, consumer_id, consumer,
|
|
|
- amt, station_id, status,
|
|
|
- order_liters, pay_type, pay_way,
|
|
|
- pay_date, oil_personnel, created_date,
|
|
|
- order_type, station_name)
|
|
|
- values (#{orderId,jdbcType=INTEGER}, #{orderNo,jdbcType=VARCHAR}, #{oilGun,jdbcType=VARCHAR},
|
|
|
- #{oilName,jdbcType=VARCHAR}, #{oilPirce,jdbcType=VARCHAR}, #{consumerId,jdbcType=INTEGER}, #{consumer,jdbcType=VARCHAR},
|
|
|
- #{amt,jdbcType=VARCHAR}, #{stationId,jdbcType=INTEGER}, #{status,jdbcType=VARCHAR},
|
|
|
- #{orderLiters,jdbcType=VARCHAR}, #{payType,jdbcType=VARCHAR}, #{payWay,jdbcType=VARCHAR},
|
|
|
- #{payDate,jdbcType=TIMESTAMP}, #{oilPersonnel,jdbcType=VARCHAR}, #{createdDate,jdbcType=TIMESTAMP},
|
|
|
- #{orderType,jdbcType=CHAR}, #{stationName,jdbcType=VARCHAR})
|
|
|
+ INSERT into
|
|
|
+ pay_order (order_id, order_no, oil_gun,
|
|
|
+ oil_name, oli_price, consumer_id, consumer,
|
|
|
+ amt, station_id, status,
|
|
|
+ order_liters, pay_type, pay_way,
|
|
|
+ pay_date, oil_personnel, created_date,
|
|
|
+ order_type, station_name, receivable_amt, received_amt, discount_amt, discount_coupon_amt, discount_coupon, wx_amt,
|
|
|
+ zfb_amt, pos_amt, xj_amt, didi_app_amt, ty_app_amt, other_amt, dzk_amt, score,
|
|
|
+ member_no, member_amt, print_count, car_no, customer_phone, customer_grade)
|
|
|
+ VALUES (
|
|
|
+ #{orderId,jdbcType=INTEGER}, #{orderNo,jdbcType=VARCHAR}, #{oilGun,jdbcType=VARCHAR},
|
|
|
+ #{oilName,jdbcType=VARCHAR}, #{oilPirce,jdbcType=VARCHAR}, #{consumerId,jdbcType=INTEGER}, #{consumer,jdbcType=VARCHAR},
|
|
|
+ #{amt,jdbcType=DOUBLE}, #{stationId,jdbcType=INTEGER}, #{status,jdbcType=VARCHAR},
|
|
|
+ #{orderLiters,jdbcType=VARCHAR}, #{payType,jdbcType=VARCHAR}, #{payWay,jdbcType=VARCHAR},
|
|
|
+ #{payDate,jdbcType=TIMESTAMP}, #{oilPersonnel,jdbcType=VARCHAR}, #{createdDate,jdbcType=TIMESTAMP},
|
|
|
+ #{orderType,jdbcType=CHAR}, #{stationName,jdbcType=VARCHAR},
|
|
|
+ #{receivableAmt,jdbcType=DOUBLE}, #{receivedAmt,jdbcType=DOUBLE},#{discountAmt,jdbcType=DOUBLE}, #{discountCouponAmt,jdbcType=DOUBLE},
|
|
|
+ #{discountCoupon,jdbcType=INTEGER}, #{wxAmt,jdbcType=DOUBLE}, #{zfbAmt,jdbcType=DOUBLE},#{posAmt,jdbcType=DOUBLE},
|
|
|
+ #{xjAmt,jdbcType=DOUBLE}, #{didiAppAmt,jdbcType=DOUBLE}, #{tyAppAmt,jdbcType=DOUBLE}, #{otherAmt,jdbcType=DOUBLE},
|
|
|
+ #{dzkAmt,jdbcType=DOUBLE}, #{score,jdbcType=INTEGER}, #{memberNo,jdbcType=VARCHAR}, #{memberAmt,jdbcType=DOUBLE},
|
|
|
+ #{printCount,jdbcType=INTEGER}, #{carNo,jdbcType=VARCHAR}, #{customerPhone,jdbcType=VARCHAR}, #{customerGrade,jdbcType=VARCHAR}
|
|
|
+ )
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.platform.yijia.pojo.PayOrder">
|
|
|
<!--
|
|
@@ -272,6 +311,73 @@
|
|
|
<if test="stationName != null">
|
|
|
station_name,
|
|
|
</if>
|
|
|
+
|
|
|
+
|
|
|
+ <if test="receivableAmt != null">
|
|
|
+ receivable_amt,
|
|
|
+ </if>
|
|
|
+ <if test="receivedAmt != null">
|
|
|
+ received_amt,
|
|
|
+ </if>
|
|
|
+ <if test="discountAmt != null">
|
|
|
+ discount_amt,
|
|
|
+ </if>
|
|
|
+ <if test="discountCouponAmt != null">
|
|
|
+ discount_coupon_amt,
|
|
|
+ </if>
|
|
|
+ <if test="discountCoupon != null">
|
|
|
+ discount_coupon,
|
|
|
+ </if>
|
|
|
+
|
|
|
+
|
|
|
+ <if test="wxAmt != null">
|
|
|
+ wx_amt,
|
|
|
+ </if>
|
|
|
+ <if test="zfbAmt != null">
|
|
|
+ zfb_amt,
|
|
|
+ </if>
|
|
|
+ <if test="posAmt != null">
|
|
|
+ pos_amt,
|
|
|
+ </if>
|
|
|
+ <if test="didiAppAmt != null">
|
|
|
+ didi_app_amt,
|
|
|
+ </if>
|
|
|
+ <if test="tyAppAmt != null">
|
|
|
+ ty_app_amt,
|
|
|
+ </if>
|
|
|
+
|
|
|
+
|
|
|
+ <if test="otherAmt != null">
|
|
|
+ other_amt,
|
|
|
+ </if>
|
|
|
+ <if test="dzkAmt != null">
|
|
|
+ dzk_amt,
|
|
|
+ </if>
|
|
|
+ <if test="score != null">
|
|
|
+ score,
|
|
|
+ </if>
|
|
|
+ <if test="memberNo != null">
|
|
|
+ member_no,
|
|
|
+ </if>
|
|
|
+ <if test="memberAmt != null">
|
|
|
+ member_amt,
|
|
|
+ </if>
|
|
|
+
|
|
|
+
|
|
|
+ <if test="printCount != null">
|
|
|
+ print_count,
|
|
|
+ </if>
|
|
|
+ <if test="carNo != null">
|
|
|
+ car_no,
|
|
|
+ </if>
|
|
|
+ <if test="customerPhone != null">
|
|
|
+ customer_phone,
|
|
|
+ </if>
|
|
|
+ <if test="customerGrade != null">
|
|
|
+ customer_grade,
|
|
|
+ </if>
|
|
|
+
|
|
|
+
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="orderId != null">
|
|
@@ -296,7 +402,7 @@
|
|
|
#{consumer,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="amt != null">
|
|
|
- #{amt,jdbcType=VARCHAR},
|
|
|
+ #{amt,jdbcType=DOUBLE},
|
|
|
</if>
|
|
|
<if test="stationId != null">
|
|
|
#{stationId,jdbcType=INTEGER},
|
|
@@ -328,6 +434,73 @@
|
|
|
<if test="stationName != null">
|
|
|
#{stationName,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+
|
|
|
+ <if test="receivableAmt != null">
|
|
|
+ #{receivable_amt,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
+ <if test="receivedAmt != null">
|
|
|
+ #{received_amt,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
+ <if test="discountAmt != null">
|
|
|
+ #{discount_amt,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
+ <if test="discountCouponAmt != null">
|
|
|
+ #{discount_coupon_amt,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
+ <if test="discountCoupon != null">
|
|
|
+ #{discount_coupon,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+
|
|
|
+
|
|
|
+ <if test="wxAmt != null">
|
|
|
+ #{wx_amt,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
+ <if test="zfbAmt != null">
|
|
|
+ #{zfb_amt,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
+ <if test="posAmt != null">
|
|
|
+ #{pos_amt,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
+ <if test="xjAmt != null">
|
|
|
+ #{xj_amt,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
+ <if test="didiAppAmt != null">
|
|
|
+ #{didi_app_amt,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
+ <if test="tyAppAmt != null">
|
|
|
+ #{ty_app_amt,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
+
|
|
|
+
|
|
|
+ <if test="otherAmt != null">
|
|
|
+ #{other_amt,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
+ <if test="dzkAmt != null">
|
|
|
+ #{dzk_amt,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
+ <if test="score != null">
|
|
|
+ #{score,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="memberNo != null">
|
|
|
+ #{member_no,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="memberAmt != null">
|
|
|
+ #{member_amt,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
+
|
|
|
+
|
|
|
+ <if test="printCount != null">
|
|
|
+ #{print_count,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="carNo != null">
|
|
|
+ #{car_no,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="customerPhone != null">
|
|
|
+ #{customer_phone,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="customerGrade != null">
|
|
|
+ #{customer_grade,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
<select id="countByExample" parameterType="com.platform.yijia.pojo.PayOrderExample" resultType="java.lang.Long">
|
|
@@ -369,7 +542,7 @@
|
|
|
consumer = #{record.consumer,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="record.amt != null">
|
|
|
- amt = #{record.amt,jdbcType=VARCHAR},
|
|
|
+ amt = #{record.amt,jdbcType=DOUBLE},
|
|
|
</if>
|
|
|
<if test="record.stationId != null">
|
|
|
station_id = #{record.stationId,jdbcType=INTEGER},
|
|
@@ -401,6 +574,74 @@
|
|
|
<if test="record.stationName != null">
|
|
|
station_name = #{record.stationName,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+
|
|
|
+
|
|
|
+ <if test="record.receivableAmt != null">
|
|
|
+ receivable_amt = #{record.receivableAmt,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
+ <if test="record.receivedAmt != null">
|
|
|
+ received_amt = #{record.receivedAmt,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
+ <if test="record.discountAmt != null">
|
|
|
+ discount_amt = #{record.discountAmt,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
+ <if test="record.discountCouponAmt != null">
|
|
|
+ discount_coupon_amt = #{record.discountCouponAmt,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
+ <if test="record.discountCoupon != null">
|
|
|
+ discount_coupon = #{record.discountCoupon,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+
|
|
|
+
|
|
|
+ <if test="record.wxAmt != null">
|
|
|
+ wx_amt = #{record.wxAmt,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
+ <if test="record.zfbAmt != null">
|
|
|
+ zfb_amt = #{record.zfbAmt,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
+ <if test="record.posAmt != null">
|
|
|
+ pos_amt = #{record.posAmt,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
+ <if test="record.xjAmt != null">
|
|
|
+ xj_amt = #{record.xjAmt,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
+ <if test="record.didiAppAmt != null">
|
|
|
+ didi_app_amt = #{record.didiAppAmt,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
+
|
|
|
+
|
|
|
+ <if test="record.tyAppAmt != null">
|
|
|
+ ty_app_amt = #{record.tyAppAmt,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
+ <if test="record.otherAmt != null">
|
|
|
+ other_amt = #{record.otherAmt,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
+ <if test="record.dzkAmt != null">
|
|
|
+ dzk_amt = #{record.dzkAmt,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
+ <if test="record.score != null">
|
|
|
+ score = #{record.score,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.memberNo != null">
|
|
|
+ member_no = #{record.memberNo,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+
|
|
|
+
|
|
|
+ <if test="record.memberAmt != null">
|
|
|
+ member_amt = #{record.memberAmt,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
+ <if test="record.printCount != null">
|
|
|
+ print_count = #{record.printCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.carNo != null">
|
|
|
+ car_no = #{record.carNo,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.customerPhone != null">
|
|
|
+ customer_phone = #{record.customerPhone,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.customerGrade != null">
|
|
|
+ customer_grade = #{record.customerGrade,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
@@ -419,7 +660,7 @@
|
|
|
oil_pirce = #{record.oilPirce,jdbcType=VARCHAR},
|
|
|
consumer_id = #{record.consumerId,jdbcType=INTEGER},
|
|
|
consumer = #{record.consumer,jdbcType=VARCHAR},
|
|
|
- amt = #{record.amt,jdbcType=VARCHAR},
|
|
|
+ amt = #{record.amt,jdbcType=DOUBLE},
|
|
|
station_id = #{record.stationId,jdbcType=INTEGER},
|
|
|
status = #{record.status,jdbcType=VARCHAR},
|
|
|
order_liters = #{record.orderLiters,jdbcType=VARCHAR},
|
|
@@ -429,7 +670,31 @@
|
|
|
oil_personnel = #{record.oilPersonnel,jdbcType=VARCHAR},
|
|
|
created_date = #{record.createdDate,jdbcType=TIMESTAMP},
|
|
|
order_type = #{record.orderType,jdbcType=CHAR},
|
|
|
- station_name = #{record.stationName,jdbcType=VARCHAR}
|
|
|
+ station_name = #{record.stationName,jdbcType=VARCHAR},
|
|
|
+
|
|
|
+ receivable_amt = #{record.receivableAmt,jdbcType=DOUBLE},
|
|
|
+ received_amt = #{record.receivedAmt,jdbcType=DOUBLE},
|
|
|
+ discount_amt = #{record.discountAmt,jdbcType=DOUBLE},
|
|
|
+ discount_coupon_amt = #{record.discountCouponAmt,jdbcType=DOUBLE},
|
|
|
+ discount_coupon = #{record.discountCoupon,jdbcType=DOUBLE},
|
|
|
+
|
|
|
+ wx_amt = #{record.wxAmt,jdbcType=DOUBLE},
|
|
|
+ zfb_amt = #{record.zfbAmt,jdbcType=DOUBLE},
|
|
|
+ pos_amt = #{record.posAmt,jdbcType=DOUBLE},
|
|
|
+ xj_amt = #{record.xjAmt,jdbcType=DOUBLE},
|
|
|
+ didi_app_amt = #{record.didiAppAmt,jdbcType=DOUBLE},
|
|
|
+
|
|
|
+ ty_app_amt = #{record.tyAppAmt,jdbcType=DOUBLE},
|
|
|
+ other_amt = #{record.otherAmt,jdbcType=DOUBLE},
|
|
|
+ dzk_amt = #{record.dzkAmt,jdbcType=DOUBLE},
|
|
|
+ score = #{record.score,jdbcType=INTEGER},
|
|
|
+ member_no = #{record.memberNo,jdbcType=VARCHAR},
|
|
|
+
|
|
|
+ member_amt = #{record.memberAmt,jdbcType=DOUBLE},
|
|
|
+ print_count = #{record.printCount,jdbcType=INTEGER},
|
|
|
+ car_no = #{record.carNo,jdbcType=VARCHAR},
|
|
|
+ customer_phone = #{record.customerPhone,jdbcType=VARCHAR},
|
|
|
+ customer_grade = #{record.customerGrade,jdbcType=VARCHAR}
|
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
</if>
|
|
@@ -460,7 +725,7 @@
|
|
|
consumer = #{consumer,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="amt != null">
|
|
|
- amt = #{amt,jdbcType=VARCHAR},
|
|
|
+ amt = #{amt,jdbcType=DOUBLE},
|
|
|
</if>
|
|
|
<if test="stationId != null">
|
|
|
station_id = #{stationId,jdbcType=INTEGER},
|
|
@@ -492,6 +757,74 @@
|
|
|
<if test="stationName != null">
|
|
|
station_name = #{stationName,jdbcType=CHAR},
|
|
|
</if>
|
|
|
+
|
|
|
+
|
|
|
+ <if test="receivableAmt != null">
|
|
|
+ receivable_amt = #{receivableAmt,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
+ <if test="receivedAmt != null">
|
|
|
+ received_amt = #{receivedAmt,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
+ <if test="discountAmt != null">
|
|
|
+ discount_amt = #{discountAmt,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
+ <if test="discountCouponAmt != null">
|
|
|
+ discount_coupon_amt = #{discountCouponAmt,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
+ <if test="discountCoupon != null">
|
|
|
+ discount_coupon = #{discountCoupon,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+
|
|
|
+
|
|
|
+ <if test="wxAmt != null">
|
|
|
+ wx_amt = #{wxAmt,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
+ <if test="zfbAmt != null">
|
|
|
+ zfb_amt = #{zfbAmt,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
+ <if test="posAmt != null">
|
|
|
+ pos_amt = #{posAmt,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
+ <if test="xjAmt != null">
|
|
|
+ xj_amt = #{xjAmt,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
+ <if test="didiAppAmt != null">
|
|
|
+ didi_app_amt = #{didiAppAmt,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
+
|
|
|
+
|
|
|
+ <if test="tyAppAmt != null">
|
|
|
+ ty_app_amt = #{tyAppAmt,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
+ <if test="otherAmt != null">
|
|
|
+ other_amt = #{otherAmt,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
+ <if test="dzkAmt != null">
|
|
|
+ dzk_amt = #{dzkAmt,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
+ <if test="score != null">
|
|
|
+ score = #{score,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="memberNo != null">
|
|
|
+ member_no = #{memberNo,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+
|
|
|
+ <if test="memberAmt != null">
|
|
|
+ member_amt = #{memberAmt,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
+ <if test="printCount != null">
|
|
|
+ print_count = #{printCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="carNo != null">
|
|
|
+ car_no = #{carNo,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="customerPhone != null">
|
|
|
+ customer_phone = #{customerPhone,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="customerGrade != null">
|
|
|
+ customer_grade = #{customerGrade,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+
|
|
|
</set>
|
|
|
where order_id = #{orderId,jdbcType=INTEGER}
|
|
|
</update>
|
|
@@ -518,6 +851,30 @@
|
|
|
created_date = #{createdDate,jdbcType=TIMESTAMP},
|
|
|
order_type = #{orderType,jdbcType=CHAR}
|
|
|
station_name = #{stationName,jdbcType=VARCHAR},
|
|
|
+
|
|
|
+ receivable_amt = #{record.receivableAmt,jdbcType=DOUBLE},
|
|
|
+ received_amt = #{record.receivedAmt,jdbcType=DOUBLE},
|
|
|
+ discount_amt = #{record.discountAmt,jdbcType=DOUBLE},
|
|
|
+ discount_coupon_amt = #{record.discountCouponAmt,jdbcType=DOUBLE},
|
|
|
+ discount_coupon = #{record.discountCoupon,jdbcType=DOUBLE},
|
|
|
+
|
|
|
+ wx_amt = #{record.wxAmt,jdbcType=DOUBLE},
|
|
|
+ zfb_amt = #{record.zfbAmt,jdbcType=DOUBLE},
|
|
|
+ pos_amt = #{record.posAmt,jdbcType=DOUBLE},
|
|
|
+ xj_amt = #{record.xjAmt,jdbcType=DOUBLE},
|
|
|
+ didi_app_amt = #{record.didiAppAmt,jdbcType=DOUBLE},
|
|
|
+
|
|
|
+ ty_app_amt = #{record.tyAppAmt,jdbcType=DOUBLE},
|
|
|
+ other_amt = #{record.otherAmt,jdbcType=DOUBLE},
|
|
|
+ dzk_amt = #{record.dzkAmt,jdbcType=DOUBLE},
|
|
|
+ score = #{record.score,jdbcType=INTEGER},
|
|
|
+ member_no = #{record.memberNo,jdbcType=VARCHAR},
|
|
|
+
|
|
|
+ member_amt = #{record.memberAmt,jdbcType=DOUBLE},
|
|
|
+ print_count = #{record.printCount,jdbcType=INTEGER},
|
|
|
+ car_no = #{record.carNo,jdbcType=VARCHAR},
|
|
|
+ customer_phone = #{record.customerPhone,jdbcType=VARCHAR},
|
|
|
+ customer_grade = #{record.customerGrade,jdbcType=VARCHAR}
|
|
|
where order_id = #{orderId,jdbcType=INTEGER}
|
|
|
</update>
|
|
|
</mapper>
|