src/main/resources/mapper/sales/ReceiptPaymentMapper.xml
@@ -29,7 +29,7 @@ AND T4.customer_id = #{receiptPaymentDto.customerId} </if> </where> ORDER BY T1.create_time ASC ORDER BY T1.create_time DESC, T1.id DESC </select> <select id="receiptPaymentInfo" resultType="com.ruoyi.sales.dto.ReceiptPaymentDto"> @@ -455,7 +455,7 @@ SELECT wr.receive_unit, wr.goods_name, wr.specification, wr.specification AS specificationModel, wr.shippedQuantity, SUM(slp.quantity) AS totalQuantity, SUM(IFNULL(slp.quantity, 0)) - wr.shippedQuantity AS unshippedQuantity