package com.izouma.jiashanxia.service;

import com.izouma.jiashanxia.dto.CommissionRecordDTO;
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.SpringRunner;

import java.util.List;


@SpringBootTest
@RunWith(SpringRunner.class)
public class CommissionRecordServiceTest {

    @Autowired
    private CommissionRecordService commissionRecordService;
    @Test
    public void my() {
        List<CommissionRecordDTO> my = commissionRecordService.my(497L);
        my.forEach(System.out::println);
    }
}