yuan
2026-06-07 7b28419cb3a7e050835d4575c22b4bd27bbf2b30
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">