07 2021 档案

摘要:表1:资料表,字段主要有:id,name,file_location_id(bigint),theme_name_id(bigint), labels(String类型,实际是ids,有',') 表2:目录表,字段主要有:id,file_location(String) 表3:主题表,字段主要有:i 阅读全文
posted @ 2021-07-30 17:41 河马小海豚 阅读(991) 评论(0) 推荐(0) 编辑
摘要:数据库: user表字段 id name deptId; dept表字段 id name 一、用left join的方式写sql select * from user u left join dept d on u.deptId = d.id # 这里的*是为了省事,最好是写成需要的字段名,好处是可 阅读全文
posted @ 2021-07-30 10:05 河马小海豚 阅读(241) 评论(0) 推荐(0) 编辑
摘要:表1:源数据表 DROP TABLE IF EXISTS `src_data_source`; CREATE TABLE `src_data_source` ( `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键id', `name` varcha 阅读全文
posted @ 2021-07-07 10:42 河马小海豚 阅读(179) 评论(0) 推荐(0) 编辑
摘要:一、后端代码 service层 // 左表返回的内容public QdbResult queryDb(Long id,Integer page, Integer limit) throws Exception { SrcDataSource srcDataSource = srcDataSource 阅读全文
posted @ 2021-07-03 14:25 河马小海豚 阅读(166) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示