DataCustomerServiceTest.java 874 Bytes
package cn.com.glsx.entmicro.service;

import cn.com.glsx.entmicro.Main;
import cn.com.glsx.entmicro.dto.DataTotalCustomerDTO;
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(classes = Main.class)
public class DataCustomerServiceTest {

    @Autowired
    private DataCustomerService dataCustomerService;

    @Test
    public void statisticCustomerTotalCount() {
        DataTotalCustomerDTO dataTotalCustomerDTO = dataCustomerService.statisticCustomerTotalCount(44209515);
        System.out.println("dataTotalCustomerDTO================" + dataTotalCustomerDTO);
    }

    @Test
    public void staticCustomerListByTime() {
    }
}