package com.friday.custody.dao;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.friday.custody.entity.DataDictionaryTypeOfFundValuationDetailsEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 
 * 
 * @author lyb
 * @email k0051582@gmail.com
 * @date 2023-04-20 16:26:50
 */
@Mapper
public interface DataDictionaryTypeOfFundValuationDetailsDao extends BaseMapper<DataDictionaryTypeOfFundValuationDetailsEntity> {

    default List<DataDictionaryTypeOfFundValuationDetailsEntity> selectVByTrustNo(String trustNo){
        LambdaQueryWrapper<DataDictionaryTypeOfFundValuationDetailsEntity> queryWrapper = new LambdaQueryWrapper<>();
        queryWrapper.eq(DataDictionaryTypeOfFundValuationDetailsEntity::getTrustNo, trustNo);
        return selectList(queryWrapper);
    }
}
