liyong
2026-04-21 03ffc2598a261d1dc19e77b559268bb84032a389
src/main/resources/mapper/sales/SalesLedgerProductMapper.xml
@@ -99,6 +99,13 @@
            <if test="req.status != null and req.status ">
                AND slp.pending_tickets_total &gt; 0
            </if>
            <if test="req.ticketsTotal != null and req.ticketsTotal.doubleValue() != 0.0">
                AND slp.tickets_total = #{req.ticketsTotal}
            </if>
            <if test="req.registrationtDate != null and req.registrationtDate != ''">
                AND DATE(slp.register_date) = #{req.registrationtDate}
            </if>
        </where>
        order by slp.register_date desc
    </select>