07 2021 档案
摘要:表1:资料表,字段主要有:id,name,file_location_id(bigint),theme_name_id(bigint), labels(String类型,实际是ids,有',') 表2:目录表,字段主要有:id,file_location(String) 表3:主题表,字段主要有:i
阅读全文
摘要:数据库: user表字段 id name deptId; dept表字段 id name 一、用left join的方式写sql select * from user u left join dept d on u.deptId = d.id # 这里的*是为了省事,最好是写成需要的字段名,好处是可
阅读全文
摘要:表1:源数据表 DROP TABLE IF EXISTS `src_data_source`; CREATE TABLE `src_data_source` ( `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键id', `name` varcha
阅读全文
摘要:一、后端代码 service层 // 左表返回的内容public QdbResult queryDb(Long id,Integer page, Integer limit) throws Exception { SrcDataSource srcDataSource = srcDataSource
阅读全文