Thingsboard二開(kāi)系列代碼篇-01整體介紹

1. 素材和版本

tb-release:3.2.2

2. 代碼結(jié)構(gòu)


3. 針對(duì)“客戶”模塊進(jìn)行分析

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

?


后端服務(wù):

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

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

服務(wù)定義:src/main/java/org/thingsboard/server/dao/customer/CustomerService.java

服務(wù)實(shí)現(xiàn):src/main/java/org/thingsboard/server/dao/customer/CustomerServiceImpl.java

?

實(shí)體定義: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實(shí)現(xiàn):src/main/java/org/thingsboard/server/dao/sql/customer/JpaCustomerDao.java

數(shù)據(jù)倉(cāng)儲(chǔ)服務(wù):src/main/java/org/thingsboard/server/dao/sql/customer/CustomerRepository.java

?實(shí)體類(lèi)型:src/main/java/org/thingsboard/server/common/data/EntityType.java

?

更多交流請(qǐng)嘉Q群:217567614


?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書(shū)系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容