package com.miaxis.test;

import com.miaxis.JsjpApplication;
import com.miaxis.newgzpt.domain.GzptUserInfo;
import com.miaxis.newgzpt.service.IGzptUserInfoService;
import com.miaxis.order.dto.QuerySchoolOrderListDTO;
import com.miaxis.order.service.IOrderInfoService;
import com.miaxis.order.vo.QuerySchoolOrderDetailedVo;
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(classes = JsjpApplication.class)
@RunWith(SpringRunner.class)
public class Test5 {



    @Autowired
    private IOrderInfoService orderInfoService;


    @Test
    public void test() {
        QuerySchoolOrderListDTO schoolOrderListDTO = new QuerySchoolOrderListDTO();
        schoolOrderListDTO.setDqbh("3501");
        List<QuerySchoolOrderDetailedVo> list = orderInfoService.selectSchoolOrderDetailedExcel(schoolOrderListDTO);
        System.out.println(list);

    }



}
