malijun 5 months atrás
parent
commit
b9b2fbca38

+ 1 - 1
ruoyi-admin/src/test/java/com/ruoyi/JavaFunctionJobHandler.java

@@ -1218,7 +1218,7 @@ public class JavaFunctionJobHandler extends IJobHandler {
 
 
     //切入切出风速
-    @Test
+
     public void cutInWindSpeed() {
         //date当天零点
         DateTime timeNow = DateUtil.beginOfDay(new Date());

+ 10 - 0
ruoyi-admin/src/test/java/com/ruoyi/Test.java

@@ -1,10 +1,18 @@
 package com.ruoyi;
 
+import cn.hutool.core.date.DateUtil;
+import cn.hutool.core.util.NumberUtil;
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.ruoyi.ucp.entity.*;
+import com.ruoyi.ucp.util.CalcCache;
 import org.junit.runner.RunWith;
 import org.springframework.boot.test.context.SpringBootTest;
 import org.springframework.test.context.junit4.SpringRunner;
 
 import javax.annotation.Resource;
+import java.util.*;
+import java.util.function.Function;
+import java.util.stream.Collectors;
 
 /**
  * Author: malijun
@@ -20,5 +28,7 @@ public class Test {
     public void test(){
         javaFunctionJobHandler.cutInWindSpeed();
         javaFunctionJobHandler.calcGlqxnh_edfs();
+
     }
+
 }