package com.miaxis.test;

import com.miaxis.JsjpApplication;
import com.miaxis.newgzpt.domain.GzptSchActivation;
import com.miaxis.newgzpt.dto.GzptSchActivationListDTO;
import com.miaxis.newgzpt.service.IGzptSchActivationService;
import com.miaxis.newgzpt.vo.GzptSchActivationListVO;
import com.miaxis.tms.dto.TmsStudentInfoDTO;
import com.miaxis.tms.service.ITmsStudentInfoService;
import com.miaxis.tms.vo.TmsStudentInfoVo;
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 Test6 {



    @Autowired
    private ITmsStudentInfoService studentInfoService;

    @Autowired
    private IGzptSchActivationService schActivationService;

    @Test
    public void test() {
        TmsStudentInfoDTO tmsStudentInfoDTO  = new TmsStudentInfoDTO();
        tmsStudentInfoDTO.setCity("3501");
       // tmsStudentInfoDTO.setCoachId("");
        tmsStudentInfoDTO.setField("35018220040617151X");
        tmsStudentInfoDTO.setState("1");
        List<TmsStudentInfoVo> list = studentInfoService.getTmsStudentInfoList(tmsStudentInfoDTO);
        System.out.println(list);

//        GzptSchActivationListDTO schActivationListDTO = new GzptSchActivationListDTO();
//        schActivationListDTO.setUserId(1372586l);
//        List<GzptSchActivationListVO> schActivationList = schActivationService.selectSchActivationList(schActivationListDTO);
//        System.out.println(schActivationList);
    }



}
