gongchunyi
2026-06-08 5f06d39c9da21d649bde70314e20ebdcfee672b5
src/main/resources/mapper/purchase/PurchaseLedgerMapper.xml
@@ -128,7 +128,7 @@
        <if test="c.stockInStatus != null and c.stockInStatus != ''">
            WHERE result.stock_in_status = #{c.stockInStatus}
        </if>
        ORDER BY result.entry_date DESC
        ORDER BY result.entry_date DESC, result.purchase_contract_number DESC
    </select>
    <select id="selectTotalPurchaseAmount" resultType="java.math.BigDecimal">