Based on the latest RuoyiPlus backend architecture, covering production planning, work order management, process routing, quality control, building a digital workshop and intelligent manufacturing execution system
1. Enhancement Positioning and Architecture
1.1 Product Positioning
RuoYiPlus MES provides enterprise-level enhancements around three core areas: intelligent scheduling, quality control, and material traceability, achieving a complete manufacturing execution closed loop from production planning to product receipt.
1.2 Module Scale
| Metric | Value |
|---|
| Maven Module | yudao-module-mes |
1.3 Core Data Tables
| Table Name | Description |
|---|
mes_production_plan | Production plan |
mes_work_order | Work order management |
mes_process | Process management |
mes_quality | Quality management |
mes_equipment | Equipment management |
mes_material | Material management |
mes_traceability | Traceability management |
graph TB
subgraph "RuoYiPlus MES Enhancement Architecture"
subgraph "Planning Layer"
A1[MPS Master Production Schedule]
A2[MRP Material Requirements Planning]
A3[APS Advanced Planning & Scheduling]
end
subgraph "Execution Layer"
B1[Work Order Management]
B2[Process Routing]
B3[Material Management]
B4[Personnel Management]
end
subgraph "Control Layer"
C1[Quality Management]
C2[Equipment Management]
C3[Data Collection]
C4[Real-Time Monitoring]
end
subgraph "Traceability Layer"
D1[Material Traceability]
D2[Quality Traceability]
D3[Production Traceability]
end
subgraph "Compliance Layer"
E1[Operation Permissions]
E2[Production Audit]
E3[Quality Audit]
E4[Data Encryption]
end
end
A1 --> A2
A2 --> A3
A3 --> B1
B1 --> B2
B2 --> B3
B3 --> B4
B4 --> C1
C1 --> C2
C2 --> C3
C3 --> C4
C4 --> D1
D1 --> D2
D2 --> D3
D3 --> E1
E1 --> E2
E2 --> E3
E3 --> E4
1.4 Capability Comparison
| Dimension | Traditional MES | RuoYiPlus MES Enhancement |
|---|
| Production Planning | Manual scheduling | Intelligent scheduling + APS integration |
| Production Execution | Paper-based routing | Electronic work orders + process routing |
| Quality Management | Offline inspection | Online inspection + SPC analysis |
| Equipment Management | Equipment ledger | Equipment monitoring + predictive maintenance |
| Material Management | Manual material picking | Intelligent batching + material traceability |
| Data Collection | Manual entry | Automatic collection + real-time monitoring |
| Permission Control | Basic permissions | Workshop-level permission control |
| Audit Compliance | Simple logs | Full-chain production audit |
2. Production Planning and Scheduling
2.1 Production Planning System
graph TB
subgraph "Production Planning"
subgraph "Demand Sources"
A1[Sales Orders]
A2[Forecast Orders]
A3[Outsourcing Orders]
end
subgraph "Plan Decomposition"
B1[MPS Master Production Schedule]
B2[MRP Material Requirements Plan]
B3[Procurement Plan]
B4[Production Plan]
B5[Workshop Job Plan]
end
subgraph "Intelligent Scheduling"
C1[APS Scheduling Algorithm]
C2[Capacity Balancing]
C3[Equipment Assignment]
C4[Personnel Assignment]
end
subgraph "Plan Execution"
D1[Work Order Release]
D2[Execution Tracking]
D3[Progress Feedback]
end
end
A1 --> B1
A2 --> B1
A3 --> B1
B1 --> B2
B2 --> B3
B2 --> B4
B4 --> B5
B5 --> C1
C1 --> C2
C2 --> C3
C3 --> C4
C4 --> D1
D1 --> D2
D2 --> D3
2.2 Production Permission Control
The MES system implements workshop and process-based permission control to ensure production data security.
| Permission Level | Scope | Description |
|---|
| Operator | Own process | Can only view and operate their own process tasks |
| Team Leader | Own team | Can view all production tasks of their team |
| Workshop Director | Own workshop | Can view all production data of their workshop |
| Production Manager | All workshops | Can view all workshop production data |
// MES data permission example
@DataPermission(scope = "workshop")
public class WorkOrderServiceImpl {
// Workshop director can view their own workshop work orders
// Automatically filters data by workshop
}
2.3 Production Operation Audit
All production operations record complete audit logs, supporting production process traceability.
| Audit Item | Description |
|---|
| Work Order Creation | Records creator, creation time |
| Work Order Release | Records release time, recipient |
| Process Start | Records start time, operator |
| Process Completion | Records completion time, completed quantity |
| QC Record | Records inspection time, inspection result |
| Material Withdrawal | Records withdrawal time, withdrawal quantity |
3. Production Execution Management
3.1 Production Execution Process
graph TB
subgraph "Production Execution"
subgraph "Work Order Management"
A1[Work Order Creation]
A2[Work Order Approval]
A3[Work Order Release]
A4[Work Order Start]
A5[Work Order Completion]
A6[Work Order Close]
end
subgraph "Process Routing"
B1[Process Start]
B2[Process Operation]
B3[Process QC]
B4[Process Completion]
B5[Process Transfer]
end
subgraph "Material Management"
C1[Material Withdrawal]
C2[Material Consumption]
C3[Excess Material Return]
C4[Material Traceability]
end
subgraph "Personnel Management"
D1[Personnel Dispatch]
D2[Operation Record]
D3[Piece-Rate Statistics]
end
end
A1 --> A2
A2 --> A3
A3 --> A4
A4 --> A5
A5 --> A6
B1 --> B2
B2 --> B3
B3 --> B4
B4 --> B5
C1 --> C2
C2 --> C3
C3 --> C4
D1 --> D2
D2 --> D3
3.2 Electronic Work Orders
| Capability | Description |
|---|
| Electronic Work Orders | Digitized work orders, scan to start |
| Process Routing | Process status tracking, routing records |
| Completion Reporting | Completed quantity, good/defective products |
| Exception Handling | Exception reporting, exception resolution |
| Progress Tracking | Real-time progress, estimated completion |
4. Quality Management Enhancement
4.1 Quality Management System
graph TB
subgraph "Quality Management"
subgraph "QC Configuration"
A1[QC Standards]
A2[QC Items]
A3[QC Methods]
A4[QC Frequency]
end
subgraph "QC Execution"
B1[Incoming QC]
B2[First Article QC]
B3[In-Process QC]
B4[Final QC]
B5[Outgoing QC]
end
subgraph "Quality Analysis"
C1[Defect Statistics]
C2[Root Cause Analysis]
C3[Corrective Actions]
C4[SPC Analysis]
end
subgraph "Quality Traceability"
D1[Batch Traceability]
D2[Process Traceability]
D3[Personnel Traceability]
end
end
A1 --> B1
A2 --> B1
A3 --> B1
A4 --> B1
B1 --> B2
B2 --> B3
B3 --> B4
B4 --> B5
B5 --> C1
C1 --> C2
C2 --> C3
C3 --> C4
C4 --> D1
D1 --> D2
D2 --> D3
4.2 Quality Audit
All QC operations record complete audit logs, supporting quality data traceability.
| Audit Item | Description |
|---|
| QC Record | Records inspection time, inspector, inspection result |
| Defect Record | Records defect type, defect cause |
| Corrective Action | Records corrective action, execution result |
| SPC Data | Records SPC analysis data |
5. Material Traceability
5.1 Traceability System
graph TB
subgraph "Material Traceability"
subgraph "Raw Material Traceability"
A1[Supplier]
A2[Receipt Batch]
A3[QC Result]
A4[Storage Location]
A5[Withdrawal Record]
end
subgraph "Production Traceability"
B1[Production Work Order]
B2[Process Routing]
B3[Consumption Record]
B4[Operator]
B5[Equipment Info]
B6[QC Record]
end
subgraph "Product Traceability"
C1[Finished Batch]
C2[Receipt Record]
C3[Shipping Record]
C4[Customer Order]
C5[Delivery Record]
end
end
A1 --> A2
A2 --> A3
A3 --> A4
A4 --> A5
A5 --> B1
B1 --> B2
B2 --> B3
B3 --> B4
B4 --> B5
B5 --> B6
B6 --> C1
C1 --> C2
C2 --> C3
C3 --> C4
C4 --> C5
5.2 Traceability Query
| Query Direction | Description |
|---|
| Forward Traceability | Raw material → Finished product → Customer |
| Reverse Traceability | Customer → Finished product → Raw material |
| Horizontal Traceability | Same batch product distribution |
6. Technical Architecture
graph TB
subgraph "yudao-module-mes-plus"
subgraph "mes-biz"
A1[plan Production Planning]
A2[scheduling Intelligent Scheduling]
A3[workorder Work Order Management]
A4[process Process Management]
A5[quality Quality Management]
A6[equipment Equipment Management]
A7[material Material Management]
A8[traceability Traceability Management]
A9[collection Data Collection]
A10[monitor Real-Time Monitoring]
A11[report Report Analysis]
end
subgraph "Permissions & Audit"
B1[permission Permission Control]
B2[audit Audit Logs]
B3[traceability Traceability Audit]
end
end
A1 --> B1
A2 --> B1
A3 --> B2
A4 --> B2
A5 --> B3
A6 --> B2
A7 --> B3
7. Business Value
| Value Point | Description |
|---|
| Increase Production Efficiency | Intelligent scheduling, process optimization |
| Improve Product Quality | Online inspection, SPC control |
| Reduce Equipment Failure | Predictive maintenance, OEE optimization |
| Achieve Traceability Compliance | Full-chain traceability, batch management |
| Data-Driven Decisions | Real-time monitoring, analysis reports |
| Production Traceability | Full-chain audit, quality traceability |
docs