forked from dataease/dataease
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request dataease#1373 from dataease/pr@dev@feat_unon_ds
feat(数据集): 关联数据集
- Loading branch information
Showing
18 changed files
with
653 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
backend/src/main/java/io/dataease/dto/dataset/union/UnionDTO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package io.dataease.dto.dataset.union; | ||
|
||
import io.dataease.base.domain.DatasetTable; | ||
import lombok.Data; | ||
|
||
import java.util.List; | ||
|
||
/** | ||
* @Author gin | ||
* @Date 2021/12/1 3:48 下午 | ||
*/ | ||
@Data | ||
public class UnionDTO { | ||
private DatasetTable currentDs; | ||
private List<String> currentDsField; | ||
private List<UnionDTO> childrenDs; | ||
private UnionParamDTO unionToParent; | ||
private int allChildCount; | ||
} |
14 changes: 14 additions & 0 deletions
14
backend/src/main/java/io/dataease/dto/dataset/union/UnionItemDTO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package io.dataease.dto.dataset.union; | ||
|
||
import io.dataease.base.domain.DatasetTableField; | ||
import lombok.Data; | ||
|
||
/** | ||
* @Author gin | ||
* @Date 2021/12/1 3:54 下午 | ||
*/ | ||
@Data | ||
public class UnionItemDTO { | ||
private DatasetTableField parentField; | ||
private DatasetTableField currentField; | ||
} |
15 changes: 15 additions & 0 deletions
15
backend/src/main/java/io/dataease/dto/dataset/union/UnionParamDTO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package io.dataease.dto.dataset.union; | ||
|
||
import lombok.Data; | ||
|
||
import java.util.List; | ||
|
||
/** | ||
* @Author gin | ||
* @Date 2021/12/1 3:53 下午 | ||
*/ | ||
@Data | ||
public class UnionParamDTO { | ||
private String unionType; | ||
private List<UnionItemDTO> unionFields; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.