Node增删改查
parent
d2f33b2f0f
commit
a6e3cd22bd
|
@ -4,9 +4,7 @@ import com.baomidou.mybatisplus.annotation.TableName;
|
|||
import com.muyu.common.core.web.domain.BaseEntity;
|
||||
import com.muyu.common.domian.req.NodeAddReq;
|
||||
import com.muyu.common.domian.req.NodeUpdReq;
|
||||
import com.muyu.common.domian.req.TaskInfoAddReq;
|
||||
import com.muyu.common.domian.resp.NodeResp;
|
||||
import com.muyu.common.domian.resp.TaskInfoResp;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
@ -56,12 +54,12 @@ public class Node extends BaseEntity {
|
|||
/**
|
||||
* 表字段
|
||||
*/
|
||||
private String tableField;
|
||||
private String tableFieId;
|
||||
|
||||
/**
|
||||
* 表字段别名
|
||||
*/
|
||||
private String tableAsField;
|
||||
private String tableAsFieId;
|
||||
|
||||
/**
|
||||
* 字段规则
|
||||
|
@ -76,8 +74,8 @@ public class Node extends BaseEntity {
|
|||
.databaseId(node.databaseId)
|
||||
.tableName(node.tableName)
|
||||
.tableAsName(node.tableAsName)
|
||||
.tableField(node.tableField)
|
||||
.tableAsField(node.getTableField())
|
||||
.tableFieId(node.tableFieId)
|
||||
.tableAsFieId(node.getTableFieId())
|
||||
.fieldAsEngineId(node.fieldAsEngineId)
|
||||
.build();
|
||||
}
|
||||
|
@ -89,8 +87,8 @@ public class Node extends BaseEntity {
|
|||
.databaseId(req.getDatabaseId())
|
||||
.tableName(req.getTableName())
|
||||
.tableAsName(req.getTableAsName())
|
||||
.tableField(req.getTableField())
|
||||
.tableAsField(req.getTableAsField())
|
||||
.tableFieId(req.getTableFieId())
|
||||
.tableAsFieId(req.getTableAsFieId())
|
||||
.fieldAsEngineId(req.getFieldAsEngineId())
|
||||
.build();
|
||||
}
|
||||
|
@ -102,8 +100,8 @@ public class Node extends BaseEntity {
|
|||
.databaseId(req.getDatabaseId())
|
||||
.tableName(req.getTableName())
|
||||
.tableAsName(req.getTableAsName())
|
||||
.tableField(req.getTableField())
|
||||
.tableAsField(req.getTableAsField())
|
||||
.tableFieId(req.getTableFieId())
|
||||
.tableAsFieId(req.getTableAsFieId())
|
||||
.fieldAsEngineId(req.getFieldAsEngineId())
|
||||
.build();
|
||||
}
|
||||
|
|
|
@ -40,12 +40,12 @@ public class NodeAddReq {
|
|||
/**
|
||||
* 表字段
|
||||
*/
|
||||
private String tableField;
|
||||
private String tableFieId;
|
||||
|
||||
/**
|
||||
* 表字段别名
|
||||
*/
|
||||
private String tableAsField;
|
||||
private String tableAsFieId;
|
||||
/**
|
||||
* 字段规则
|
||||
*/
|
||||
|
|
|
@ -40,12 +40,12 @@ public class NodeUpdReq {
|
|||
/**
|
||||
* 表字段
|
||||
*/
|
||||
private String tableField;
|
||||
private String tableFieId;
|
||||
|
||||
/**
|
||||
* 表字段别名
|
||||
*/
|
||||
private String tableAsField;
|
||||
private String tableAsFieId;
|
||||
/**
|
||||
* 字段规则
|
||||
*/
|
||||
|
|
|
@ -46,12 +46,12 @@ public class NodeResp {
|
|||
/**
|
||||
* 表字段
|
||||
*/
|
||||
private String tableField;
|
||||
private String tableFieId;
|
||||
|
||||
/**
|
||||
* 表字段别名
|
||||
*/
|
||||
private String tableAsField;
|
||||
private String tableAsFieId;
|
||||
|
||||
/**
|
||||
* 字段规则
|
||||
|
|
Loading…
Reference in New Issue