| | |
| | | <if test="accountExpense.entryDateStart != null and accountExpense.entryDateStart != '' "> |
| | | AND expense_date >= DATE_FORMAT(#{accountExpense.entryDateStart},'%Y-%m-%d') |
| | | </if> |
| | | <if test=" accountExpense.supplierName != null and accountExpense.supplierName != ''"> |
| | | AND supplier_name like CONCAT('%',#{accountExpense.supplierName},'%') |
| | | </if> |
| | | <if test=" accountExpense.invoiceNumber != null and accountExpense.invoiceNumber != ''"> |
| | | AND invoice_number like CONCAT('%',#{accountExpense.invoiceNumber},'%') |
| | | </if> |
| | | <if test="accountExpense.entryDateEnd != null and accountExpense.entryDateEnd != '' "> |
| | | AND expense_date <= DATE_FORMAT(#{accountExpense.entryDateEnd},'%Y-%m-%d') |
| | | </if> |