(improvement)(semantic)Simplify datasource related code and support setting filter SQL for dict generation (#397)

* (improvement) (semantic) Simplify datasource related code and support setting filtering SQL for dict generation
* (improvement) (semantic) Remove the semicolon at the end of the datasource SQL
* (improvement) (common) Update sys parameter init

---------

Co-authored-by: jolunoluo
This commit is contained in:
LXW
2023-11-17 17:52:28 +08:00
committed by GitHub
parent d9eaf79ab8
commit 8f19584ad7
26 changed files with 394 additions and 2126 deletions

View File

@@ -165,6 +165,7 @@ CREATE TABLE IF NOT EXISTS `s2_datasource` (
`datasource_detail` LONGVARCHAR NOT NULL ,
`status` int(11) DEFAULT NULL ,
`depends` varchar(500) DEFAULT NULL ,
`filter_sql` varchar(1000) DEFAULT NULL ,
`created_at` TIMESTAMP NOT NULL ,
`created_by` varchar(100) NOT NULL ,
`updated_at` TIMESTAMP NOT NULL ,