|
@@ -157,7 +157,7 @@
|
|
|
king_dee_receipt a
|
|
|
join king_dee_wallet b on a.wallet_id=b.id
|
|
|
join king_dee_customer c on c.id = a.customer_id
|
|
|
- left join king_dee_customer d on d.id=a.wl_company_type
|
|
|
+ left join king_dee_customer d on d.id=a.customer_id
|
|
|
join customer_product_type_rela e on e.wallet_id=a.wallet_id and e.customer_id=a.customer_id
|
|
|
${ex.query}
|
|
|
<if test="customerId != null and customerId != ''">
|