package com.jy.business.payment.dao;

import com.jy.business.payment.mapper.PaymentRequestsDetailMapper;
import com.jy.business.payment.model.entity.PaymentRequestsDetail;
import com.jy.framework.model.base.BaseDao;
import com.jy.system.service.AuthService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PaymentRequestsDetailDao extends BaseDao<PaymentRequestsDetailMapper, PaymentRequestsDetail> {

    @Resource
    private AuthService authService;

    // 获取明细列表
    public List<PaymentRequestsDetail> getListByPaymentRequestsId(Long paymentRequestsId) {
        return lambdaQuery().eq(PaymentRequestsDetail::getPaymentRequestsId, paymentRequestsId).list();
    }

}
