|
|
@@ -129,7 +129,6 @@
|
|
|
select a.account_id, SUM(b.no_has_tax) as sum_invoicing_amount
|
|
|
from inv_account a
|
|
|
left join inv_account_incoice b on a.account_id = b.account_id
|
|
|
- left join inv_account_card c on a.account_id = c.account_id
|
|
|
where
|
|
|
a.del_flag = '0'
|
|
|
<if test="account.accountId != null and account.accountId != ''">
|
|
|
@@ -144,11 +143,7 @@
|
|
|
<if test="account.accountQuality!= null and account.accountQuality!= ''">
|
|
|
and c.account_quality like concat('%',#{account.accountQuality},'%')
|
|
|
</if>
|
|
|
- <if test="account.bankCardNum!= null and account.bankCardNum!= ''">
|
|
|
- and c.bank_card_num like concat('%',#{account.bankCardNum},'%')
|
|
|
- </if>
|
|
|
GROUP BY a.account_id
|
|
|
-
|
|
|
</select>
|
|
|
|
|
|
<select id="selectAccountsList" resultMap="BaseResultMap">
|