package com.liquidnet.service.reconciliation.service.adam;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.liquidnet.service.reconciliation.entity.adam.AdamTransaction;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

import java.util.List;

/**
 * @author AnJiabin <jiabin.an@lightnet.io>
 * @version V1.0
 * @Description: TODO
 * @class: AdamTransactionServiceTest
 * @Package com.liquidnet.service.reconciliation.service.adam
 * @Copyright: LightNet @ Copyright (c) 2020
 * @date 2020/11/10 15:46
 */
@RunWith(SpringJUnit4ClassRunner.class)
@SpringBootTest
public class AdamTransactionServiceTest {
    @Autowired
    private IAdamTransactionService adamTransactionService;

    @Test
    public void getAdamFundList(){
        QueryWrapper queryWrapper = new QueryWrapper();
        List<AdamTransaction> list = adamTransactionService.list(queryWrapper);
        list.stream().forEach(record -> System.out.println(""+record.toString()));

    }
}
