|
@@ -40,6 +40,7 @@
|
|
<result column="print_count" jdbcType="INTEGER" property="printCount" />
|
|
<result column="print_count" jdbcType="INTEGER" property="printCount" />
|
|
<result column="car_no" jdbcType="VARCHAR" property="carNo" />
|
|
<result column="car_no" jdbcType="VARCHAR" property="carNo" />
|
|
<result column="customer_phone" jdbcType="VARCHAR" property="customerPhone" />
|
|
<result column="customer_phone" jdbcType="VARCHAR" property="customerPhone" />
|
|
|
|
+ <result column="mobile_phone" jdbcType="VARCHAR" property="mobilePhone" />
|
|
<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="payTypeName" property="payTypeName" />
|
|
<result column="payTypeName" property="payTypeName" />
|
|
@@ -116,6 +117,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,
|
|
|
|
+ CONCAT(LEFT(T3.mobile_phone,3),'****',RIGHT(T3.mobile_phone,4)) AS mobile_phone,
|
|
T2.dict_label AS payTypeName
|
|
T2.dict_label AS payTypeName
|
|
</sql>
|
|
</sql>
|
|
<sql id="Base_Column_List">
|
|
<sql id="Base_Column_List">
|
|
@@ -325,6 +327,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}
|