|
@@ -0,0 +1,30 @@
|
|
|
+package com.miaxis.test;
|
|
|
+
|
|
|
+import com.miaxis.HzgzptApplication;
|
|
|
+import com.miaxis.app.xxx.service.ITMClassRecordDetailService;
|
|
|
+import org.junit.Test;
|
|
|
+import org.junit.runner.RunWith;
|
|
|
+import org.springframework.boot.test.context.SpringBootTest;
|
|
|
+import org.springframework.test.context.junit4.SpringRunner;
|
|
|
+
|
|
|
+import javax.annotation.Resource;
|
|
|
+
|
|
|
+@SpringBootTest(classes = HzgzptApplication.class)
|
|
|
+@RunWith(SpringRunner.class)
|
|
|
+public class NormalTest {
|
|
|
+
|
|
|
+ @Resource
|
|
|
+ ITMClassRecordDetailService itmClassRecordDetailService;
|
|
|
+
|
|
|
+
|
|
|
+ @Test
|
|
|
+ public void test(){
|
|
|
+ System.out.println(itmClassRecordDetailService.count());
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+}
|