|
@@ -15,6 +15,7 @@ import org.jeecg.modules.itdmDevice.convert.ItdmDeviceConvert1;
|
|
|
import org.jeecg.modules.itdmDevice.entity.ItdmDevice;
|
|
|
import org.jeecg.modules.itdmDevice.service.IItdmDeviceService;
|
|
|
import org.jeecg.modules.itdmDevice.vo.ItdmDeviceXLListVO;
|
|
|
+import org.jeecg.modules.qita.GlobalVariables;
|
|
|
import org.jeecgframework.poi.excel.ExcelImportUtil;
|
|
|
import org.jeecgframework.poi.excel.entity.ImportParams;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
@@ -25,7 +26,8 @@ import org.springframework.web.servlet.ModelAndView;
|
|
|
|
|
|
import javax.servlet.http.HttpServletRequest;
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
-import java.io.IOException;
|
|
|
+import java.io.*;
|
|
|
+import java.net.URLEncoder;
|
|
|
import java.util.*;
|
|
|
import java.util.stream.Collectors;
|
|
|
|
|
@@ -45,6 +47,16 @@ public class ItdmDeviceController extends JeecgController<ItdmDevice, IItdmDevic
|
|
|
|
|
|
|
|
|
/**
|
|
|
+ * 设备管理-导入的模板下载
|
|
|
+ * */
|
|
|
+ @ApiOperation(value="设备管理——导入的模板下载", notes="设备管理——导入的模板下载")
|
|
|
+ @GetMapping("/downloadmuban")
|
|
|
+ public String downloadmuban()
|
|
|
+ {
|
|
|
+ return GlobalVariables.deviceMubanUrl;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
* 设备管理-过期总数查询
|
|
|
* */
|
|
|
@ApiOperation(value="设备管理-过期总数查询", notes="设备管理-过期总数查询")
|