From 07d83b202b0541e7503c26e3df27a5d1f29e189e Mon Sep 17 00:00:00 2001 From: liupopo Date: Fri, 3 Nov 2023 16:09:31 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/application-devv.yml | 2 +- .../src/main/resources/application-pro.yml | 2 +- .../src/main/resources/application-test.yml | 2 +- .../biz/inventory/InventoryServiceTest.java | 19 +++++++++++++++++++ 4 files changed, 22 insertions(+), 3 deletions(-) create mode 100644 yxt-supervise-gf-biz/src/test/java/com/yxt/supervise/gf/biz/inventory/InventoryServiceTest.java diff --git a/yxt-supervise-gf-biz/src/main/resources/application-devv.yml b/yxt-supervise-gf-biz/src/main/resources/application-devv.yml index c687783..b6410fa 100644 --- a/yxt-supervise-gf-biz/src/main/resources/application-devv.yml +++ b/yxt-supervise-gf-biz/src/main/resources/application-devv.yml @@ -29,5 +29,5 @@ image: url: prefix: http://127.0.0.1:8112/upload/ import: - filePath: E:/yxt-supervise-gf/upload/ + filePath: d:/yxt-supervise-gf/upload/ diff --git a/yxt-supervise-gf-biz/src/main/resources/application-pro.yml b/yxt-supervise-gf-biz/src/main/resources/application-pro.yml index 5d59871..420edfb 100644 --- a/yxt-supervise-gf-biz/src/main/resources/application-pro.yml +++ b/yxt-supervise-gf-biz/src/main/resources/application-pro.yml @@ -26,7 +26,7 @@ image: url: prefix: http://127.0.0.1/api/upload/ import: - filePath: E:/yxt-supervise-gf/upload/ + filePath: D:/yxt-supervise-gf/upload/ scheduleTime: cron: 0 59 * * * ? diff --git a/yxt-supervise-gf-biz/src/main/resources/application-test.yml b/yxt-supervise-gf-biz/src/main/resources/application-test.yml index b6e3064..02a16b5 100644 --- a/yxt-supervise-gf-biz/src/main/resources/application-test.yml +++ b/yxt-supervise-gf-biz/src/main/resources/application-test.yml @@ -28,7 +28,7 @@ image: url: prefix: http://122.14.222.186:7003/upload/ import: - filePath: E:/yxt-supervise-gf/upload/ + filePath: D:/yxt-supervise-gf/upload/ scheduleTime: cron: 0 59 * * * ? diff --git a/yxt-supervise-gf-biz/src/test/java/com/yxt/supervise/gf/biz/inventory/InventoryServiceTest.java b/yxt-supervise-gf-biz/src/test/java/com/yxt/supervise/gf/biz/inventory/InventoryServiceTest.java new file mode 100644 index 0000000..b5d3850 --- /dev/null +++ b/yxt-supervise-gf-biz/src/test/java/com/yxt/supervise/gf/biz/inventory/InventoryServiceTest.java @@ -0,0 +1,19 @@ +package com.yxt.supervise.gf.biz.inventory; + +import org.junit.jupiter.api.Test; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.boot.test.context.SpringBootTest; + +import static org.junit.jupiter.api.Assertions.*; + +//@SpringBootTest +class InventoryServiceTest { + +// @Autowired + private InventoryService inventoryService; + +// @Test + void export() { +// inventoryService.export("",); + } +} \ No newline at end of file