Spring cloud springboot framework source code flowable workflow separation

Time:2020-12-23

1. Code generator:[positive and negative two-way] (single table, main table, detail list, tree table, sharp tool for rapid development)
Freemaker template technology, 0 code does not need to be written, generating a complete module with page, table building SQL script, processing class, service and other complete modules
2. Multiple data sources:(support to connect numerous databases at the same time, and different modules can connect different databases) support N data sources
3.Alidb connection pooldruid, security permission frameworkshiro(Menu permissions and button permissions, cache frameworkehcache
4.Code editor,Online template editor, imitation development tool editor
5. Call the camera to take picturesCustom cut edit head picture, head picture color adjustment
6.websocketTimely message and voice reminder, real-time online management, websocket timely refresh page (win over Ajax Technology)
7. Redis stores distributed cacheSince the green version of windows redis, it is convenient for developers to develop and test locally

—————————————————————————————————————–
Service Introduction(Each service runs independently with high availability and low coupling
1: Springcloud service ————————————————————————————-
1. Eureka registry: two Eureka services are provided, and so on. Multiple services can be made, with mutual registration, high availability and cluster deployment
2. Zipkin tracking service: distributed tracking log, based on memory storage record
3. Zuul gateway routing service: distributing requests, unified management and filtering, combined with ribbon load balancingfeignService callHystrix circuit breaker
4. Springboot admin monitoring center service: unified interface management, check the running status of each service and the health check of the actor

2: Workflow services ——————————————————————————————–
1.Model managementWeb online process designer, import and export XML, copy process, deployment process, select the handler

2.Process management: import and export process resource file, view flow chart, reflect process model according to process instance, and activate pending
3.Process in operation: view process information, current task node, current flow chart, void pause process, assign to do person, jump freely
4.The process of history: view process information, process time, process status and task initiator information
5.To do tasks: check my personal tasks and the tasks under this role, handle, reject, void and assign an agent
6.Completed tasks: view the task and process information, flow chart and process status (void and reject normally completed)

Note:When the current task is completed, the next task to be done will receive a new task message reminder by instant messaging, which will be regarded as the cancellation and completion of the task,
The task initiator will receive a message from the station
Flowable: a mainstream workflow engine
Official websitehttp://www.fhadmin.org/ 

3: System services—————————————————————————————————–
1. Authority management: click the secondary menu to enter the third level menu to display roles (basic permissions) and button permissions
Roles (basic permissions): divided into role groups and roles, independently assign menu permissions and add, delete, modify and query permissions. (a user can have multiple roles)
Button permissions: assign button permissions to roles.
2. Button Management: user defined button management, maintenance button Shiro authority identification, etc
3. Menu management: N-level custom menu, select menu icon, display and hide menu status (recursive processing)
4. Data dictionary: n level, supporting multi-level classification. Internal number, sorting, etc
5. Log management: record user login and exit and some important operation records
6. Online management: websocket technology, real-time detection of online user list, statistics of online number, can force users to offline, the same user can only log in at one client
7. System users: add, delete, modify and query the basic users, export them to excel and delete them in batch
8. In station mail: receiving and sending mailbox, timely receiving reminder made by websocket technology communication technology, and voice prompt letter can be configured

9. System settings: modify the name of the system, the number of items displayed on each page, mail service configuration, and station message configuration
10. Performance monitoring: drudi monitors the performance of various services, SQL monitoring, SQL firewall, URL monitoring, spring monitoring, session monitoring, etc
4: System tools Service——————————————————————————————————————-
1. Code generation: generate complete module code and keep the generation record template, which can be reused (powerful development tool)
Forward generation: generate complete module, HTML page, processing class, mapper layer, service layer, myabaits’ XML table building SQL script, etc
Reverse generation: arbitrarily connect other databases (mysql, Oracle, sqlserver) and generate modules of the cost system according to the table
2 template management: Code online editor, template management, save editing records, one click restore, code generator
5: Im instant messaging service—————————————————————————————————————–
1. Friend management: search, add, delete, pull black friends, view friend information
2. Friend grouping: Custom friend grouping
3. My group: create groups, search for applications to join other people’s groups, kick out group members, and manage group chat records
Communication module single chat group chat picture send file offline message keep chat record
6: Database management service————————————————————————————————
1. Database backup: can back up single table (SQL server does not support), whole database, support local and remote backup (java interface programming technology, socket programming technology)
2. Backup timer: Quartz powerful task scheduling, multithreading backup database, task start and close asynchronous operation
3. Database restore: historical backup records, restore database or single table (SQL server does not support), statistics of backup time and file size
4. SQL editor: powerful SQL editor, supporting editing statements, complex query statements, generating dynamic reports, and exporting to excel
7: OA office services—————————————————————————————————–
1. Leave application: add a leave form and follow the workflow leave model process
8: Table synchronization service——————————————————————————————————
According to the business requirements, it is necessary to synchronize the table data between microservices, so this intermediate service is used for processing
—————————————————————————————————————————
Menu permissions: different menu permissions are assigned to each role, and the menus seen by each role are different
Button permissions: independently assign different roles and different function permissions, add, delete, modify and query permissions assigned to different menus, and Customize button management
Support multi-user and sub authority management background,Permissions are specific to different menus and buttonsA user can have multiple roles
Technical points——————————————————————————————————————
1. Import and export excel file (applied to system users)
2 generate word file (applied to doc document generated by code generator)
3. IO stream download file (the application is generated in the code generator and compressed into a zip file to download)
4 code zip compression package(the application is generated in the code generator and compressed into a zip file)
5. MD5 encryption Sha encryption (login password with this encryption) interface encryption identity verification
6. The Druid of Ali. Druid has obvious advantages in monitoring, scalability, stability and performance, and supports concurrency
7. Security framework Shiro (login authorization) (Session Management) (Shiro annotation menu authority interception) (Shiro label button authority)
8.Freemaker template engine (for code generator)
9. Ehcache customize cache, select cache storage directory, handle concurrency, and increase system performance
10. Tab tab page function, free switching of tags, no repeated operation of the database (all can be closed, current closed, other closed)
11. Multi data source technology
12. Call camera photography technology, picture cutting technology (user’s head image editing)
13. Online editor, imitation development tool (template editor of code generator)
14. Single group e-mail, can send HTML, plain text format
15. Analyze the full spelling (Pinyin) and initial letter of Chinese characters according to Chinese characters (import Excel to user table, generate Pinyin user name according to user’s Chinese name)
16. Station message voice reminder, JS control audio playback
17. Java read and write INI configuration file
18. Java websocket instant messaging technology, peer-to-peer, friends, groups, send picture files, offline messages, keep chat records
19. Baidu rich text editor, can upload pictures and attachments
20. Java quartz task scheduling(Applied in the database timing backup module)
21. Ajax asynchronous cross domain technology, cross domain upload files, pictures
22. Redis distributed session storage, sharing user authorization information