|
@@ -42,6 +42,7 @@
|
|
<result column="customer_phone" jdbcType="VARCHAR" property="customerPhone" />
|
|
<result column="customer_phone" jdbcType="VARCHAR" property="customerPhone" />
|
|
<result column="customer_grade" jdbcType="VARCHAR" property="customerGrade" />
|
|
<result column="customer_grade" jdbcType="VARCHAR" property="customerGrade" />
|
|
<result column="oil_type" jdbcType="VARCHAR" property="oilType" />
|
|
<result column="oil_type" jdbcType="VARCHAR" property="oilType" />
|
|
|
|
+ <result column="mobile_phone" jdbcType="VARCHAR" property="mobilePhone" />
|
|
<result column="payTypeName" property="payTypeName" />
|
|
<result column="payTypeName" property="payTypeName" />
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
@@ -114,7 +115,7 @@
|
|
T1.receivable_amt, T1.received_amt, T1.discount_amt, T1.discount_coupon_amt, T1.discount_coupon, T1.wx_amt,
|
|
T1.receivable_amt, T1.received_amt, T1.discount_amt, T1.discount_coupon_amt, T1.discount_coupon, T1.wx_amt,
|
|
T1.zfb_amt, T1.pos_amt, T1.xj_amt, T1.didi_app_amt, T1.ty_app_amt, T1.other_amt, T1.dzk_amt, T1.score, T1.member_no, T1.member_amt,
|
|
T1.zfb_amt, T1.pos_amt, T1.xj_amt, T1.didi_app_amt, T1.ty_app_amt, T1.other_amt, T1.dzk_amt, T1.score, T1.member_no, T1.member_amt,
|
|
T1.print_count, T1.car_no, T1.customer_phone, T1.customer_grade, T1.oil_type,
|
|
T1.print_count, T1.car_no, T1.customer_phone, T1.customer_grade, T1.oil_type,
|
|
- T2.dict_label AS payTypeName
|
|
|
|
|
|
+ T2.dict_label AS payTypeName, T3.mobile_phone
|
|
</sql>
|
|
</sql>
|
|
<sql id="Base_Column_List">
|
|
<sql id="Base_Column_List">
|
|
order_id, order_no, oil_gun, oil_name, oil_pirce, consumer_id, consumer, amt, station_id, status,
|
|
order_id, order_no, oil_gun, oil_name, oil_pirce, consumer_id, consumer, amt, station_id, status,
|
|
@@ -312,6 +313,7 @@
|
|
FROM
|
|
FROM
|
|
pay_order AS T1
|
|
pay_order AS T1
|
|
LEFT JOIN sys_dict_data AS T2 ON T1.pay_type = T2.dict_value
|
|
LEFT JOIN sys_dict_data AS T2 ON T1.pay_type = T2.dict_value
|
|
|
|
+ LEFT JOIN app_user_info AS T3 ON T1.consumer_id = T3.user_id
|
|
<where>
|
|
<where>
|
|
<if test="stationId !=null">
|
|
<if test="stationId !=null">
|
|
T1.station_id= #{stationId}
|
|
T1.station_id= #{stationId}
|