| | |
| | | |
| | | <select id="paymentHistoryListPage" resultType="com.ruoyi.purchase.dto.PaymentRegistrationDto"> |
| | | SELECT |
| | | T1.id, |
| | | T1.payment_date, |
| | | T2.supplier_name, |
| | | T1.current_payment_amount, |
| | |
| | | <if test="params.paymentDateEnd != null and params.paymentDateEnd !='' "> |
| | | AND T1.payment_date <= date_format(#{params.paymentDateEnd},'%Y-%m-%d') |
| | | </if> |
| | | <if test="params.purchaseContractNumber != null and params.purchaseContractNumber !='' "> |
| | | AND t4.purchase_contract_number LIKE CONCAT('%',#{params.purchaseContractNumber},'%') |
| | | </if> |
| | | </where> |
| | | ORDER BY T1.payment_date,T1.create_time DESC |
| | | </select> |