|
|
|
@ -300,7 +300,7 @@ public class TablexController extends JeecgController<Tablex, ITablexService> { |
|
|
|
|
params.setHeadRows(1);//表头行数,默认1
|
|
|
|
|
params.setNeedSave(true);//是否需要保存上传的Excel,默认为false
|
|
|
|
|
List<TablexVo> list = null; |
|
|
|
|
message.put("status", "数据预读入"); |
|
|
|
|
message.put("status", "读取数据中"); |
|
|
|
|
webSocketUtils.sendMessage(loginUser.getId(), message); |
|
|
|
|
try { |
|
|
|
|
//读取excel数据
|
|
|
|
@ -451,6 +451,6 @@ public class TablexController extends JeecgController<Tablex, ITablexService> { |
|
|
|
|
} |
|
|
|
|
message.put("isVisible", "false"); |
|
|
|
|
webSocketUtils.sendMessage(loginUser.getId(), message); |
|
|
|
|
return Result.OK("文件导入成功!"); |
|
|
|
|
return Result.ok("文件导入成功!"); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|