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

MetricValue
Data Objects (DO)4
Controllers4
Menu ID Start10000
Maven Moduleyudao-module-asset

1.3 Core Data Tables

Table NameDescription
asset_categoryAsset Category
asset_goodsAsset Goods
asset_infoAsset Information
asset_lifecycleAsset 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

DimensionYudao Native CapabilityRuoYiPlus Asset Enhancement
Asset TypesBasic classificationFull coverage: Fixed/Intangible/IT/Low-value consumables
LifecycleCheck-out/returnProcurement → Assignment → Transfer → Maintenance → Disposal
Depreciation ManagementNoneMultiple depreciation methods + auto accrual
Asset InventoryManual inventoryRFID/Barcode smart inventory
IoT TrackingNoneReal-time positioning + geofencing
Financial IntegrationNoneLinked with ERP financial modules
Permission ControlBasic permissionsOrg-level + asset-category-level data permissions
Audit ComplianceSimple loggingFull-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 CategoryDescriptionTypical AssetsManagement Requirements
Fixed AssetsUseful life > 1 year, relatively high unit valueOffice equipment, vehicles, furnitureDepreciation accrual + annual inventory
Intangible AssetsLong-term assets without physical formSoftware licenses, patents, trademarksAmortization management + value assessment
IT AssetsInformation technology related assetsServers, network equipment, terminalsLifecycle + security compliance
Low-value ConsumablesLow-value, fast-consuming assetsOffice supplies, toolsBatch management + inventory control

2.3 Asset Data Permissions

The Asset system implements multi-dimensional data permission control based on organization and asset categories.

Permission LevelScopeDescription
Asset AdministratorAssets within jurisdictionCan manage asset inbound, allocation, transfer, and disposal
Department Asset AdminDepartment assetsCan manage assets assigned to their department
Regular EmployeePersonally used assetsCan only view assets assigned to themselves
Financial AdministratorAll assetsCan view asset value and depreciation data
AuditorAll assetsRead-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 MethodFormulaApplicable Scenarios
Straight-line(Cost - Residual Value) / Useful LifeGeneral fixed assets
Units of Production(Cost - Residual Value) / Total Output × Current OutputVehicles, production equipment
Double Declining BalanceNet Book Value × (2 / Useful Life)Rapidly evolving technology equipment
Sum of Years’ Digits(Cost - Residual Value) × Remaining Years / Sum of YearsAssets 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 MethodTechnologyApplicable ScenariosEfficiency Improvement
Barcode InventoryQR code scanningGeneral assets3-5x
RFID InventoryRadio frequency identificationLarge-volume assets10-20x
IoT InventorySensor auto-reportingHigh-value/mobile assetsReal-time inventory
Mobile InventoryMobile APPDispersed assetsAnytime, 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 ItemDescriptionRetention Period
Asset InboundRecords procurement info, acceptor, inbound timePermanent
Asset AssignmentRecords assignee, assignment time, approverAsset lifecycle + 5 years
Asset TransferRecords pre/post transfer location, transfer reasonAsset lifecycle + 5 years
Asset RepairRecords repair details, cost, service providerAsset lifecycle + 5 years
Asset DisposalRecords disposal reason, residual value, disposal methodPermanent
Depreciation AccrualRecords monthly depreciation amount, accumulated depreciationAsset lifecycle + 5 years
Inventory OperationsRecords inventory personnel, inventory time, inventory resultsPermanent

5.2 Audit Permissions

RoleAudit PermissionDescription
Asset AdministratorView audit logs for assets under jurisdictionCan view audit records for assets within their jurisdiction
Department ManagerView department asset auditCan view audit records for department assets
AuditorView all asset auditRead-only access, can export audit reports
System AdministratorManage audit configurationCan 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

MetricDescriptionCalculation Method
Asset Utilization RateActual usage time / Planned usage timeActual hours ÷ Planned hours × 100%
Idle RateIdle assets / Total assetsIdle asset count ÷ Total asset count × 100%
Maintenance Cost RateMaintenance cost / Asset original valueAnnual maintenance cost ÷ Asset original value × 100%
Net Asset Value RatioNet asset value / Asset original valueNet asset value ÷ Asset original value × 100%
Inventory Accuracy RateMatching records / Total inventory countMatching 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 PointDescription
Account-Reality AlignmentSmart inventory + IoT tracking ensures account-reality consistency
Cost ControlAccurate depreciation accounting + maintenance cost analysis
Asset OptimizationUtilization analysis + idle alerts + purchase suggestions
Compliance TraceabilityFull-chain audit + blockchain proof + compliance reports
Efficiency ImprovementAutomated inventory + mobile operations + intelligent analytics
Risk PreventionAsset loss alerts + geofencing + anomaly alerts
docs