Giter VIP home page Giter VIP logo

oa_demo's Introduction

Spring boot + Spring data + Spring security + redis + quartz + POI +Ztree 技术实现DEMO

   security实现登陆赋权并运用sec:authorize控制标签(标签例子在home.html)
   
   redis利用注解@Cacheable实现控制,相关实现在UserServiceImpl里面(也可用在Controller上,其他地方也行)
   配置好redis相关配置和写一个Config类就可以用了.
   
   quartz实现定时任务(动态设置,比如从数据库中取出来)
   
   POI将数据库信息生成excel并导出(
   调用test里面的ExportExcelTest的test方法
   会在/Users/ho/Desktop/excel_test文件下里面
   生成一个out.xls文件,如果文件已存在会修改内容,
   xx.xls文件的样式模版在resources的excel-templates指定
   即单元格大小等等可先自定义一个空的xls文件以作模版)
   
   自定义注解(例子在ExcelResources)
   
   SpringData PagingAndSortingRepository(tools封装了一下) 分页
   
   Ztree实现页面在test和test2(test是请求后台我生成的树,test2是zTree的Demo)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.