Thingsboard二开系列代码篇-01整体介绍

1. 素材和版本

tb-release:3.2.2

2. 代码结构


3. 针对“客戶”模块进行分析

thingsboard-3.2.2\ui-ngx\src\app\modules\home\pages\customer

src\app\shared\models\customer.model.ts

src\app\core\http\customer.service.ts

 


后端服务:

src\main\java\org\thingsboard\server\controller\BaseController.java

src/main/java/org/thingsboard/server/controller/CustomerController.java

服务定义:src/main/java/org/thingsboard/server/dao/customer/CustomerService.java

服务实现:src/main/java/org/thingsboard/server/dao/customer/CustomerServiceImpl.java

 

实体定义:src/main/java/org/thingsboard/server/dao/model/sql/CustomerEntity.java

Id:src/main/java/org/thingsboard/server/common/data/id/CustomerId.java

 The Interface CustomerDao:src/main/java/org/thingsboard/server/dao/customer/CustomerDao.java

 Dao实现:src/main/java/org/thingsboard/server/dao/sql/customer/JpaCustomerDao.java

数据仓储服务:src/main/java/org/thingsboard/server/dao/sql/customer/CustomerRepository.java

 实体类型:src/main/java/org/thingsboard/server/common/data/EntityType.java

 

更多交流请嘉Q群:217567614


你可能感兴趣的:(Thingsboard二开系列代码篇-01整体介绍)