LambdaQueryWrapper排序orderByDesc

猝死的路上發表於2024-06-14

LambdaQueryWrapper使用in查詢,根據某個欄位排序

lambdaQueryWrapper.in(StoreOrderInfo::getOrderId, orderList);
        lambdaQueryWrapper.orderByDesc(StoreOrderInfo::getId);

相關文章