From d91f76b90245603c1c7f08e3d5864ada3f3fbba7 Mon Sep 17 00:00:00 2001
From: 晏有为 <13214124+yan-youwei@user.noreply.gitee.com>
Date: 星期一, 27 五月 2024 16:24:37 +0800
Subject: [PATCH] 完成客户管理添加,查询字段优化

---
 system-run/src/test/java/com/yuanchu/mom/SystemRunApplicationTest.java |   21 +--------------------
 1 files changed, 1 insertions(+), 20 deletions(-)

diff --git a/system-run/src/test/java/com/yuanchu/mom/SystemRunApplicationTest.java b/system-run/src/test/java/com/yuanchu/mom/SystemRunApplicationTest.java
index 1f22691..c9fa8ae 100644
--- a/system-run/src/test/java/com/yuanchu/mom/SystemRunApplicationTest.java
+++ b/system-run/src/test/java/com/yuanchu/mom/SystemRunApplicationTest.java
@@ -1,33 +1,14 @@
 package com.yuanchu.mom;
 
-import com.yuanchu.mom.service.PerformanceShiftService;
 import org.junit.jupiter.api.Test;
-import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.boot.test.context.SpringBootTest;
 
-import java.util.Map;
 
 @SpringBootTest
 class SystemRunApplicationTest {
 
-    private static String fileName = "D:\\" + System.currentTimeMillis() + ".xlsx";
-
-    @Autowired
-    private PerformanceShiftService performanceShiftService;
-
     @Test
-    void  contextLoads() {
-        Map<Object, Object> header = performanceShiftService.exportToExcel("2024-05-04 00:00:00", null, null);
+    void  contextLoads() throws Exception {
 
-//        EasyExcel.write(fileName)
-//                .head(header)
-//                // 鍚堝苟绛栫暐锛氬悎骞剁浉鍚屾暟鎹殑琛屻�傜涓�涓弬鏁拌〃绀轰粠鍝竴琛屽紑濮嬭繘琛屽悎骞讹紝鐢变簬琛ㄥご鍗犱簡涓よ锛屽洜姝や粠绗�2琛屽紑濮嬶紙绱㈠紩浠�0寮�濮嬶級
-//                // 绗簩涓弬鏁版槸鎸囧畾鍝簺鍒楄杩涜鍚堝苟
-////                .registerWriteHandler(new MergeSameRowsStrategy(2, new int[]{0, 1, 2, 3, 8, 9}))
-//                // 娉ㄦ剰锛氶渶瑕佸厛璋冪敤registerWriteHandler()鍐嶈皟鐢╯heet()鏂规硶鎵嶈兘浣垮悎骞剁瓥鐣ョ敓鏁堬紒锛侊紒
-//                .sheet("妯℃澘")
-//                .doWrite(data());
     }
-
-
 }

--
Gitblit v1.9.3