🎨 规范字段.
This commit is contained in:
@@ -7,7 +7,7 @@ Authorization: {{token}}
|
||||
"name": "",
|
||||
"command": "",
|
||||
"timeout": "",
|
||||
"parameter": ""
|
||||
"parameterSchema": ""
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ Authorization: {{token}}
|
||||
"name": "",
|
||||
"command": "",
|
||||
"timeout": "",
|
||||
"parameter": ""
|
||||
"parameterSchema": ""
|
||||
}
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@ Authorization: {{token}}
|
||||
"name": "",
|
||||
"command": "",
|
||||
"timeout": "",
|
||||
"parameter": ""
|
||||
"parameterSchema": ""
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -34,6 +34,10 @@ public class ExecJobDO extends BaseDO {
|
||||
@TableField("name")
|
||||
private String name;
|
||||
|
||||
@Schema(description = "执行序列")
|
||||
@TableField("exec_seq")
|
||||
private Integer execSeq;
|
||||
|
||||
@Schema(description = "cron 表达式")
|
||||
@TableField("expression")
|
||||
private String expression;
|
||||
|
||||
@@ -52,6 +52,10 @@ public class ExecLogDO extends BaseDO {
|
||||
@TableField("description")
|
||||
private String description;
|
||||
|
||||
@Schema(description = "执行序列")
|
||||
@TableField("exec_seq")
|
||||
private Integer execSeq;
|
||||
|
||||
@Schema(description = "执行命令")
|
||||
@TableField("command")
|
||||
private String command;
|
||||
|
||||
@@ -42,8 +42,8 @@ public class ExecTemplateDO extends BaseDO {
|
||||
@TableField("timeout")
|
||||
private Integer timeout;
|
||||
|
||||
@Schema(description = "参数")
|
||||
@TableField("parameter")
|
||||
private String parameter;
|
||||
@Schema(description = "参数定义")
|
||||
@TableField("parameter_schema")
|
||||
private String parameterSchema;
|
||||
|
||||
}
|
||||
|
||||
@@ -40,7 +40,7 @@ public class ExecTemplateCreateRequest implements Serializable {
|
||||
@Schema(description = "超时时间秒 0不超时")
|
||||
private Integer timeout;
|
||||
|
||||
@Schema(description = "参数")
|
||||
private String parameter;
|
||||
@Schema(description = "参数定义")
|
||||
private String parameterSchema;
|
||||
|
||||
}
|
||||
|
||||
@@ -44,7 +44,7 @@ public class ExecTemplateUpdateRequest implements Serializable {
|
||||
@Schema(description = "超时时间秒 0不超时")
|
||||
private Integer timeout;
|
||||
|
||||
@Schema(description = "参数")
|
||||
private String parameter;
|
||||
@Schema(description = "参数定义")
|
||||
private String parameterSchema;
|
||||
|
||||
}
|
||||
|
||||
@@ -31,6 +31,9 @@ public class ExecJobVO implements Serializable {
|
||||
@Schema(description = "任务名称")
|
||||
private String name;
|
||||
|
||||
@Schema(description = "执行序列")
|
||||
private Integer execSeq;
|
||||
|
||||
@Schema(description = "cron 表达式")
|
||||
private String expression;
|
||||
|
||||
|
||||
@@ -38,6 +38,9 @@ public class ExecLogVO implements Serializable {
|
||||
@Schema(description = "执行描述")
|
||||
private String description;
|
||||
|
||||
@Schema(description = "执行序列")
|
||||
private Integer execSeq;
|
||||
|
||||
@Schema(description = "执行命令")
|
||||
private String command;
|
||||
|
||||
|
||||
@@ -37,8 +37,8 @@ public class ExecTemplateVO implements Serializable {
|
||||
@Schema(description = "超时时间秒 0不超时")
|
||||
private Integer timeout;
|
||||
|
||||
@Schema(description = "参数")
|
||||
private String parameter;
|
||||
@Schema(description = "参数定义")
|
||||
private String parameterSchema;
|
||||
|
||||
@Schema(description = "创建时间")
|
||||
private Date createTime;
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<result column="name" property="name"/>
|
||||
<result column="command" property="command"/>
|
||||
<result column="timeout" property="timeout"/>
|
||||
<result column="parameter" property="parameter"/>
|
||||
<result column="parameter_schema" property="parameterSchema"/>
|
||||
<result column="create_time" property="createTime"/>
|
||||
<result column="update_time" property="updateTime"/>
|
||||
<result column="creator" property="creator"/>
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
<!-- 通用查询结果列 -->
|
||||
<sql id="Base_Column_List">
|
||||
id, name, command, timeout, parameter, create_time, update_time, creator, updater, deleted
|
||||
id, name, command, timeout, parameter_schema, create_time, update_time, creator, updater, deleted
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user