package com.friday.custody.service.basicService.impl;

import org.springframework.stereotype.Service;

import java.util.List;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import com.friday.custody.dao.DataDictionaryPaymentDirectionDetailsDao;
import com.friday.custody.entity.DataDictionaryPaymentDirectionDetailsEntity;
import com.friday.custody.service.basicService.DataDictionaryPaymentDirectionDetailsService;


@Service("dataDictionaryPaymentDirectionDetailsService")
public class DataDictionaryPaymentDirectionDetailsServiceImpl extends ServiceImpl<DataDictionaryPaymentDirectionDetailsDao, DataDictionaryPaymentDirectionDetailsEntity> implements DataDictionaryPaymentDirectionDetailsService {


    @Override
    public List<DataDictionaryPaymentDirectionDetailsEntity> selectVByTrustNo(String trustNo) {
        return baseMapper.selectList(new QueryWrapper<DataDictionaryPaymentDirectionDetailsEntity>().eq("trust_no", trustNo));

    }
}