liyong
2026-04-21 03ffc2598a261d1dc19e77b559268bb84032a389
src/main/resources/mapper/purchase/ProductRecordMapper.xml
@@ -35,6 +35,9 @@
        </if>
        <if test="c.createdAtStart != null and c.createdAtStart != ''">
            and pr.created_at &gt;= str_to_date(#{c.createdAtStart}, '%Y-%m-%d')
        </if>
        <if test="c.invoiceAmount != null">
            and pr.tickets_amount like concat('%',#{c.invoiceAmount},'%')
        </if>
        <if test="c.createdAtEnd != null and c.createdAtEnd != ''">
            and pr.created_at &lt; date_add(str_to_date(#{c.createdAtEnd}, '%Y-%m-%d'), interval 1 day)