package com.izouma.dingdong.service;

import com.izouma.dingdong.enums.FlowType;
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;

@RunWith(SpringRunner.class)
@SpringBootTest
public class PlatformFlowServiceTest {
    @Autowired
    public PlatformFlowService platformFlowService;

    @Test
    public void test(){
//        System.out.println(platformFlowService.dayStatistics(FlowType.INCOME));
        System.out.println(platformFlowService.getVipSummary(FlowType.INCOME));
    }


}
