Asset Management
Based on the latest RuoyiPlus backend architecture, 4 DOs / 4 Controllers, menu ID starting from 10000, building an enterprise asset full-lifecycle digital management system
1. Enhancement Positioning & Architecture
1.1 Product Positioning
RuoYiPlus Asset builds upon Yudao OA’s native asset management, providing enterprise-grade enhancements around five core areas: full asset lifecycle management, multi-dimensional asset accounting, intelligent inventory & IoT tracking, and asset permissions & auditing, achieving a complete asset closed loop from procurement to disposal.
1.2 Module Scale
| Metric | Value |
|---|---|
| Data Objects (DO) | 4 |
| Controllers | 4 |
| Menu ID Start | 10000 |
| Maven Module | yudao-module-asset |
1.3 Core Data Tables
| Table Name | Description |
|---|---|
asset_category | Asset Category |
asset_goods | Asset Goods |
asset_info | Asset Information |
asset_lifecycle | Asset Lifecycle |
graph TB
subgraph "RuoYiPlus Asset Enhanced Architecture"
subgraph "Asset Ledger Layer"
A1[Fixed Assets]
A2[Intangible Assets]
A3[IT Assets]
A4[Low-value Consumables]
end
subgraph "Lifecycle Layer"
B1[Procurement & Inbound]
B2[Assignment & Allocation]
B3[Transfer & Relocation]
B4[Maintenance & Repair]
B5[Scrap & Disposal]
end
subgraph "Accounting Layer"
C1[Depreciation Management]
C2[Value Assessment]
C3[Impairment Processing]
C4[Cost Allocation]
end
subgraph "Intelligence Layer"
D1[IoT Asset Tracking]
D2[Smart Inventory]
D3[RFID/Barcode]
D4[Asset Analytics]
end
subgraph "Control Layer"
E1[Asset Permissions]
E2[Data Isolation]
E3[Operation Audit]
E4[Compliance Reporting]
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
D3 --> D4
D4 --> E1
E1 --> E2
E2 --> E3
E3 --> E4
1.4 Capability Comparison
| Dimension | Yudao Native Capability | RuoYiPlus Asset Enhancement |
|---|---|---|
| Asset Types | Basic classification | Full coverage: Fixed/Intangible/IT/Low-value consumables |
| Lifecycle | Check-out/return | Procurement → Assignment → Transfer → Maintenance → Disposal |
| Depreciation Management | None | Multiple depreciation methods + auto accrual |
| Asset Inventory | Manual inventory | RFID/Barcode smart inventory |
| IoT Tracking | None | Real-time positioning + geofencing |
| Financial Integration | None | Linked with ERP financial modules |
| Permission Control | Basic permissions | Org-level + asset-category-level data permissions |
| Audit Compliance | Simple logging | Full-chain asset audit + blockchain proof of existence |
2. Asset Full-Lifecycle Management
2.1 Lifecycle Stages
graph LR
A[Procurement & Inbound] --> B[Assignment & Allocation]
B --> C[In-Use Management]
C --> D[Transfer & Relocation]
D --> E[Maintenance & Repair]
E --> F[Scrap & Disposal]
A --> A1[Purchase Request]
A --> A2[Acceptance & Inbound]
A --> A3[Asset Numbering]
A --> A4[Label Printing]
B --> B1[Assignment Request]
B --> B2[Approval Workflow]
B --> B3[Asset Allocation]
C --> C1[Usage Registration]
C --> C2[Status Monitoring]
C --> C3[Location Tracking]
D --> D1[Transfer Request]
D --> D2[Approval Confirmation]
D --> D3[Handover & Receipt]
E --> E1[Repair Request]
E --> E2[Repair Record]
E --> E3[Acceptance Confirmation]
F --> F1[Disposal Assessment]
F --> F2[Residual Value Processing]
F --> F3[Asset Deregistration]
2.2 Asset Classification System
| Asset Category | Description | Typical Assets | Management Requirements |
|---|---|---|---|
| Fixed Assets | Useful life > 1 year, relatively high unit value | Office equipment, vehicles, furniture | Depreciation accrual + annual inventory |
| Intangible Assets | Long-term assets without physical form | Software licenses, patents, trademarks | Amortization management + value assessment |
| IT Assets | Information technology related assets | Servers, network equipment, terminals | Lifecycle + security compliance |
| Low-value Consumables | Low-value, fast-consuming assets | Office supplies, tools | Batch management + inventory control |
2.3 Asset Data Permissions
The Asset system implements multi-dimensional data permission control based on organization and asset categories.
| Permission Level | Scope | Description |
|---|---|---|
| Asset Administrator | Assets within jurisdiction | Can manage asset inbound, allocation, transfer, and disposal |
| Department Asset Admin | Department assets | Can manage assets assigned to their department |
| Regular Employee | Personally used assets | Can only view assets assigned to themselves |
| Financial Administrator | All assets | Can view asset value and depreciation data |
| Auditor | All assets | Read-only access + audit logs |
// Asset data permission example
@DataPermission(scope = "asset")
public class AssetServiceImpl {
// Asset administrators can manage all assets within their jurisdiction
// Automatically filtered by organization + asset category
}
// Department asset administrator permission
@DataPermission(roles = {"dept_asset_admin"})
public class DeptAssetServiceImpl {
// Can only manage assets assigned to their department
// Automatically filtered by department
}
3. Depreciation Management
3.1 Depreciation Methods
| Depreciation Method | Formula | Applicable Scenarios |
|---|---|---|
| Straight-line | (Cost - Residual Value) / Useful Life | General fixed assets |
| Units of Production | (Cost - Residual Value) / Total Output × Current Output | Vehicles, production equipment |
| Double Declining Balance | Net Book Value × (2 / Useful Life) | Rapidly evolving technology equipment |
| Sum of Years’ Digits | (Cost - Residual Value) × Remaining Years / Sum of Years | Assets with heavy early wear |
3.2 Depreciation Process
graph TB
subgraph "Depreciation Management"
A[Asset Inbound] --> B[Set Depreciation Parameters]
B --> C[Select Depreciation Method]
C --> D[Monthly Auto Accrual]
D --> E{Accrual Result}
E --> F[Generate Depreciation Voucher]
E --> G[Update Net Asset Value]
F --> H[Financial Reconciliation]
G --> H
H --> I{Asset Status}
I -->|In Use| D
I -->|Disposed| J[Stop Accrual]
I -->|Impaired| K[Impairment Processing]
end
3.3 Depreciation Configuration
asset:
depreciation:
methods:
- straight-line # Straight-line method
- work-quantity # Units of production method
- double-declining # Double declining balance method
- sum-of-years # Sum of years' digits method
rules:
auto-calculate: true # Auto accrual
calculate-day: 28 # Monthly accrual day
residual-rate: 0.05 # Default residual rate 5%
min-value: 5000 # Minimum asset value for depreciation
categories:
electronic:
method: straight-line
years: 3
vehicle:
method: work-quantity
years: 8
furniture:
method: straight-line
years: 10
4. Asset Inventory
4.1 Inventory Process
graph TB
subgraph "Asset Inventory"
A[Inventory Plan] --> B[Inventory Preparation]
B --> C[Inventory Execution]
C --> D[Discrepancy Handling]
D --> E[Inventory Report]
A --> A1[Define Inventory Scope]
A --> A2[Assign Inventory Personnel]
A --> A3[Set Inventory Schedule]
B --> B1[Print Inventory Checklist]
B --> B2[Prepare Inventory Tools]
B --> B3[Freeze Asset Changes]
C --> C1[Scan/RFID Inventory]
C --> C2[Photo Evidence]
C --> C3[Record Asset Status]
D --> D1[Discrepancy Analysis]
D --> D2[Surplus Processing]
D --> D3[Shortage Processing]
E --> E1[Generate Inventory Report]
E --> E2[Approval Confirmation]
E --> E3[Update Asset Ledger]
end
4.2 Smart Inventory Technology
| Inventory Method | Technology | Applicable Scenarios | Efficiency Improvement |
|---|---|---|---|
| Barcode Inventory | QR code scanning | General assets | 3-5x |
| RFID Inventory | Radio frequency identification | Large-volume assets | 10-20x |
| IoT Inventory | Sensor auto-reporting | High-value/mobile assets | Real-time inventory |
| Mobile Inventory | Mobile APP | Dispersed assets | Anytime, anywhere |
4.3 IoT Asset Tracking
graph TB
subgraph "IoT Asset Tracking"
subgraph "Perception Layer"
A1[RFID Tags]
A2[GPS Trackers]
A3[Environmental Sensors]
end
subgraph "Network Layer"
B1[RFID Readers]
B2[4G/5G Gateways]
B3[WiFi Positioning]
end
subgraph "Platform Layer"
C1[Asset Positioning]
C2[Trajectory Tracking]
C3[Geofencing]
C4[Anomaly Alerts]
end
end
A1 --> B1
A2 --> B2
A3 --> B2
B1 --> C1
B2 --> C2
B3 --> C3
C1 --> C4
C2 --> C4
C3 --> C4
5. Asset Operation Audit
5.1 Audit Events
All key asset operations are recorded with complete audit logs, supporting full-chain asset traceability.
graph TB
subgraph "Audit Event Collection"
A1[Asset Inbound]
A2[Asset Assignment]
A3[Asset Transfer]
A4[Asset Repair]
A5[Asset Disposal]
A6[Depreciation Accrual]
A7[Inventory Operations]
end
subgraph "Audit Processing"
B1[Change Comparison]
B2[Compliance Check]
B3[Risk Assessment]
end
subgraph "Audit Storage"
C1[Operation Logs]
C2[Change History]
C3[Blockchain Proof]
end
A1 --> B1
A2 --> B1
A3 --> B1
A4 --> B1
A5 --> B1
A6 --> B1
A7 --> B1
B1 --> B2
B2 --> B3
B3 --> C1
B3 --> C2
B3 --> C3
| Audit Item | Description | Retention Period |
|---|---|---|
| Asset Inbound | Records procurement info, acceptor, inbound time | Permanent |
| Asset Assignment | Records assignee, assignment time, approver | Asset lifecycle + 5 years |
| Asset Transfer | Records pre/post transfer location, transfer reason | Asset lifecycle + 5 years |
| Asset Repair | Records repair details, cost, service provider | Asset lifecycle + 5 years |
| Asset Disposal | Records disposal reason, residual value, disposal method | Permanent |
| Depreciation Accrual | Records monthly depreciation amount, accumulated depreciation | Asset lifecycle + 5 years |
| Inventory Operations | Records inventory personnel, inventory time, inventory results | Permanent |
5.2 Audit Permissions
| Role | Audit Permission | Description |
|---|---|---|
| Asset Administrator | View audit logs for assets under jurisdiction | Can view audit records for assets within their jurisdiction |
| Department Manager | View department asset audit | Can view audit records for department assets |
| Auditor | View all asset audit | Read-only access, can export audit reports |
| System Administrator | Manage audit configuration | Can configure audit rules and retention policies |
6. Asset Analytics
6.1 Analysis Dimensions
graph TB
subgraph "Asset Analytics"
subgraph "Asset Overview"
A1[Total Assets]
A2[Total Asset Value]
A3[Asset Distribution]
end
subgraph "Usage Analysis"
B1[Utilization Analysis]
B2[Idle Analysis]
B3[Efficiency Assessment]
end
subgraph "Financial Analysis"
C1[Depreciation Analysis]
C2[Maintenance Cost]
C3[Net Asset Value]
end
subgraph "Decision Support"
D1[Purchase Suggestions]
D2[Disposal Suggestions]
D3[Optimization Plans]
end
end
A1 --> B1
A2 --> B2
A3 --> B3
B1 --> C1
B2 --> C2
B3 --> C3
C1 --> D1
C2 --> D2
C3 --> D3
6.2 Core Metrics
| Metric | Description | Calculation Method |
|---|---|---|
| Asset Utilization Rate | Actual usage time / Planned usage time | Actual hours ÷ Planned hours × 100% |
| Idle Rate | Idle assets / Total assets | Idle asset count ÷ Total asset count × 100% |
| Maintenance Cost Rate | Maintenance cost / Asset original value | Annual maintenance cost ÷ Asset original value × 100% |
| Net Asset Value Ratio | Net asset value / Asset original value | Net asset value ÷ Asset original value × 100% |
| Inventory Accuracy Rate | Matching records / Total inventory count | Matching asset count ÷ Total inventory count × 100% |
7. Technical Architecture
graph TB
subgraph "yudao-module-asset-plus"
subgraph "asset-biz"
A1[ledger]
A2[lifecycle]
A3[depreciation]
A4[inventory]
A5[maintenance]
A6[disposal]
A7[IoT tracking]
A8[analytics]
end
subgraph "Permissions & Audit"
B1[permission]
B2[audit]
B3[compliance]
end
end
A1 --> B1
A2 --> B2
A3 --> B2
A4 --> B2
A5 --> B2
A6 --> B2
A7 --> B1
A8 --> B3
8. Business Value
| Value Point | Description |
|---|---|
| Account-Reality Alignment | Smart inventory + IoT tracking ensures account-reality consistency |
| Cost Control | Accurate depreciation accounting + maintenance cost analysis |
| Asset Optimization | Utilization analysis + idle alerts + purchase suggestions |
| Compliance Traceability | Full-chain audit + blockchain proof + compliance reports |
| Efficiency Improvement | Automated inventory + mobile operations + intelligent analytics |
| Risk Prevention | Asset loss alerts + geofencing + anomaly alerts |