gongchunyi
10 小时以前 8d5e82d82c37c1c9236e0c679f199db53585c1ad
src/main/resources/mapper/sales/SalesLedgerMapper.xml
@@ -90,6 +90,9 @@
            <if test="salesLedgerDto.deliveryStatus != null">
                AND T1.delivery_status = #{salesLedgerDto.deliveryStatus}
            </if>
            <if test="salesLedgerDto.stockStatus != null">
                AND T1.stock_status = #{salesLedgerDto.stockStatus}
            </if>
        </where>
        ORDER BY T1.entry_date DESC
    </select>