| | |
| | | <if test="subjectType != null and subjectType != ''"> and thisTab.subject_type = #{subjectType}</if> |
| | | <if test="enabled != null and enabled != ''"> and thisTab.enabled = #{enabled}</if> |
| | | <if test="balanceDirection != null and balanceDirection != ''"> and thisTab.balance_direction = #{balanceDirection}</if> |
| | | <if test="accountingItems != null and accountingItems != ''"> and thisTab.accounting_items = #{accountingItems}</if> |
| | | <if test="accountingItems != null "> and thisTab.accounting_items = #{accountingItems}</if> |
| | | <if test="accountingItemsContains != null "> and (thisTab.accounting_items & #{accountingItemsContains}) = #{accountingItemsContains}</if> |
| | | <if test="accountingItemsAny != null "> and (thisTab.accounting_items & #{accountingItemsAny}) != 0</if> |
| | | <if test="quantityAmountAccounting != null and quantityAmountAccounting != ''"> and thisTab.quantity_amount_accounting = #{quantityAmountAccounting}</if> |
| | | <if test="cashSubject != null and cashSubject != ''"> and thisTab.cash_subject = #{cashSubject}</if> |
| | | <if test="bankSubject != null and bankSubject != ''"> and thisTab.bank_subject = #{bankSubject}</if> |