很久以前遇到过这样的问题,最近再次遇到,做个记录。核心代码如下(这里采用Excel导出是EasyPoi): @RequestMapping("/downloadPost") public void downloadPost(HttpServletResponse response) { try { ...
分类:
编程语言 时间:
2021-06-05 17:50:20
阅读次数:
0
1 package com.future; 2 3 import java.util.concurrent.*; 4 5 6 public class FDemo { 7 public static final ExecutorService service = Executors.newSingl ...
分类:
其他好文 时间:
2021-06-04 19:55:49
阅读次数:
0
import abc #定义一个说话的方式接口类,只能被继承 不能被实例化 class Speak(abc.ABC): #@abc.abstractmethod @abc.abstractmethod def to_speak(self): pass #定义学生说话的类 class Student( ...
分类:
编程语言 时间:
2021-06-04 18:50:52
阅读次数:
0
public static void main(String[] args) { FileOutputStream fos = null; BufferedInputStream bis = null; HttpURLConnection httpUrl = null; int size = 0; ...
分类:
编程语言 时间:
2021-06-03 18:04:25
阅读次数:
0
1、主体代码 #region [ 启动记事本 ] System.Diagnostics.Process Proc; try { // 启动记事本 Proc = new System.Diagnostics.Process(); Proc.StartInfo.FileName = "notepad.e ...
分类:
其他好文 时间:
2021-06-02 20:53:03
阅读次数:
0
写作替换词 (1) with the development of sth. → due to the proliferation of sth. proliferation /pr??l?f??re??n/ n. 增殖,扩散;分芽繁殖 (2) more and more → the number ...
分类:
其他好文 时间:
2021-06-02 20:40:06
阅读次数:
0
ExecutorService executorService = Executors.newSingleThreadExecutor(); Future<String> future = executorService.submit(() -> myJob(param)); try { //设置超 ...
分类:
编程语言 时间:
2021-06-02 20:35:20
阅读次数:
0
package kuangs.lesson02;import java.io.*;import java.net.ServerSocket;import java.net.Socket;//服务器端public class TcpServerDemo02 { public static void m ...
分类:
Web程序 时间:
2021-06-02 20:24:31
阅读次数:
0
发现打包失败 测试发现 npm run build 打包失败 发现问题1 node_modules 库 没装 rm -rf node_modules 进行 npm install 安装失败 发现linux下网不通,有代理设置 解决网络问题,然后网通了 npm install 安装还是失败 安装 cn ...
分类:
系统相关 时间:
2021-06-02 19:41:35
阅读次数:
0
1、 计划: 为一年级小学生设计口算题卡 2、 需求分析 1用户故事 作为一个一年级小学生的家长,我希望制作一个出题软件,完成100以内的正整数的加减法题随机产生,一边减轻我的负担。 2 技术难点 随机产生100以内的正整数 随机产生加减符号 减法负值的剔除 3、代码规范: 4、具体设计: 5、具体 ...
分类:
其他好文 时间:
2021-06-02 19:30:05
阅读次数:
0