GenTableVo移除对关联部分的校验

This commit is contained in:
dftre 2025-03-21 10:06:14 +08:00
parent 2a63e301a3
commit 5b6e183713
2 changed files with 13 additions and 2 deletions

12
.vscode/settings.json vendored
View File

@ -51,6 +51,18 @@
"password": "123456",
"savePassword": "secretStorage",
"connectionTimeout": 30
},
{
"connectionId": "fNsY4HlOb21w_5TnIGy_d",
"name": "localhost",
"driver": "redis",
"connectionType": "host",
"host": "127.0.0.1",
"port": 6379,
"ssl": false,
"savePassword": "na",
"readOnly": false,
"connectionTimeout": 30
}
],
}

View File

@ -28,6 +28,7 @@ public class GenTableVo extends BaseEntity {
private static final long serialVersionUID = 1L;
/** 业务表 */
@Valid
private GenTable table;
/** 业务表的列 */
@ -39,11 +40,9 @@ public class GenTableVo extends BaseEntity {
private List<GenJoinTable> joinTablesMate;
/** 参与关联的表 */
@Valid
private Collection<GenTable> joinTables;
/** 参与关联的列 */
@Valid
private List<GenTableColumn> joinColumns;
public List<GenTable> getAllGenTables() {