| | |
| | | <if test="params.searchText != null and params.searchText != '' "> |
| | | AND T2.supplier_name LIKE CONCAT('%',#{params.searchText},'%') |
| | | </if> |
| | | <if test="params.paymentDateStart != null and params.paymentDateStart !='' "> |
| | | AND T1.payment_date >= STR_TO_DATE(#{params.paymentDateStart},'yyyy-MM-dd') |
| | | </if> |
| | | <if test="params.paymentDateEnd != null and params.paymentDateEnd !='' "> |
| | | AND T1.payment_date >= STR_TO_DATE(#{params.paymentDateEnd},'yyyy-MM-dd') |
| | | </if> |
| | | </where> |
| | | ORDER BY T1.payment_date,T1.create_time DESC |
| | | </select> |