yys
maven
2026-01-12 bb235aab7125a02cbdb9c0ba410e29d2bd1b7adf
src/main/resources/mapper/purchase/PurchaseLedgerMapper.xml
@@ -26,6 +26,9 @@
        left join product_record pr on pl.id = pr.purchase_ledger_id
        <where>
            1 = 1
            <if test="c.isInvoice != null and c.isInvoice != '' ">
                AND  pl.is_invoice = #{c.isInvoice}
            </if>
            <if test="c.purchaseContractNumber != null and c.purchaseContractNumber != ''">
               and pl.purchase_contract_number like concat('%',#{c.purchaseContractNumber},'%')
            </if>