Browse Source

excel模板导出

master
liuchen864 6 months ago
parent
commit
40107180f1
  1. 96
      win-admin/src/main/java/com/win/web/controller/base/ExcelController.java
  2. 2
      win-admin/src/main/resources/application.yml
  3. BIN
      win-admin/src/main/resources/changchun.xls
  4. 2
      win-admin/src/main/resources/logback-spring.xml

96
win-admin/src/main/java/com/win/web/controller/base/ExcelController.java

File diff suppressed because one or more lines are too long

2
win-admin/src/main/resources/application.yml

@ -25,7 +25,7 @@ win:
# 实例演示开关 # 实例演示开关
demoEnabled: true demoEnabled: true
# 文件路径 示例( Windows配置D:/win/uploadPath,Linux配置 /home/win/uploadPath) # 文件路径 示例( Windows配置D:/win/uploadPath,Linux配置 /home/win/uploadPath)
profile: D:/win/uploadPath profile: /home/mfg/qad_java/uploadPath
# 获取ip地址开关 # 获取ip地址开关
addressEnabled: false addressEnabled: false
# 验证码类型 math 数组计算 char 字符验证 # 验证码类型 math 数组计算 char 字符验证

BIN
win-admin/src/main/resources/changchun.xls

Binary file not shown.

2
win-admin/src/main/resources/logback-spring.xml

@ -130,7 +130,7 @@
</springProfile> </springProfile>
<!-- test环境 --> <!-- test环境 -->
<springProfile name="test"> <springProfile name="test">
<root level="INFO"> <root level="ERROR">
<appender-ref ref="console"/> <appender-ref ref="console"/>
<appender-ref ref="file_info"/> <appender-ref ref="file_info"/>
<appender-ref ref="file_warn"/> <appender-ref ref="file_warn"/>

Loading…
Cancel
Save