package com.newfiber.led; import com.newfiber.led.business.dao.LedDao; import com.newfiber.led.business.entity.TempdataEntity; 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; @SpringBootTest @RunWith(SpringRunner.class) public class NewfiberLedApplicationTests { @Autowired private LedDao ledDao; @Test public void test() { TempdataEntity tempdataEntity = ledDao.queryZ("123"); System.out.println(tempdataEntity.toString()); } }