package com.sckw.transport.repository;

import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sckw.transport.dao.KwtParkingChangeStrategyUnitMapper;
import com.sckw.transport.dao.KwtParkingWalletFeeBalanceMapper;
import com.sckw.transport.model.KwtParkingChargeStrategy;
import com.sckw.transport.model.KwtParkingChargeStrategyUnit;
import com.sckw.transport.model.KwtParkingWalletFeeBalance;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author: 门卫车辆订单
 * @CreateTime: 2025-10-12
 * @Description:
 * @Version: 1.0
 */

@Repository
public class KwtParkingWalletFeeBalanceRepository extends ServiceImpl<KwtParkingWalletFeeBalanceMapper, KwtParkingWalletFeeBalance> {


    public List<KwtParkingWalletFeeBalance> queryParkingChangeStrategy() {
        return list(
                Wrappers.<KwtParkingWalletFeeBalance>lambdaQuery()
                        .orderByDesc(KwtParkingWalletFeeBalance::getId));
    }

}