|
|
|
@ -354,7 +354,7 @@ |
|
|
|
|
and t.account_period = #{accountPeriod} |
|
|
|
|
</if> |
|
|
|
|
<if test="companyCode != null and companyCode != '' and companyCode != 'null' and companyCode != '99' and companyCode != '88'"> |
|
|
|
|
and t.comp_code = #{companyCode} or t.comp_code = '' or t.comp_code is null |
|
|
|
|
and (t.comp_code = #{companyCode} or t.comp_code = '' or t.comp_code is null) |
|
|
|
|
</if> |
|
|
|
|
</select> |
|
|
|
|
<!--销项票池查询--> |
|
|
|
@ -452,7 +452,7 @@ |
|
|
|
|
and t.invoice_source = #{invoiceSource} |
|
|
|
|
</if> |
|
|
|
|
<if test="companyCode != null and companyCode != '' and companyCode != 'null' and companyCode != '99' and companyCode != '88'"> |
|
|
|
|
and (t.comp_code = #{companyCode} and t.comp_code = '' or t.comp_code is null) |
|
|
|
|
and (t.comp_code = #{companyCode} or t.comp_code = '' or t.comp_code is null) |
|
|
|
|
</if> |
|
|
|
|
GROUP BY t.uuid |
|
|
|
|
ORDER BY t.create_date DESC |
|
|
|
|