Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
byit-myth-job
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liyuan
byit-myth-job
Commits
c34a7c3a
Commit
c34a7c3a
authored
Dec 24, 2019
by
huangfusuper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【表增加字段】增加表字段
parent
c3efbaf9
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
11 deletions
+11
-11
JobTask.java
...myth-admin-core/src/main/java/com/byit/model/JobTask.java
+1
-1
JobTaskSchedule.java
...in-core/src/main/java/com/byit/model/JobTaskSchedule.java
+1
-1
JobTaskMapper.xml
...th-admin-core/src/main/resources/mapper/JobTaskMapper.xml
+4
-4
JobTaskScheduleMapper.xml
...-core/src/main/resources/mapper/JobTaskScheduleMapper.xml
+5
-5
No files found.
byit-myth-core/myth-admin-core/src/main/java/com/byit/model/JobTask.java
View file @
c34a7c3a
...
@@ -230,7 +230,7 @@ public class JobTask implements Serializable {
...
@@ -230,7 +230,7 @@ public class JobTask implements Serializable {
* 创建人
* 创建人
*/
*/
@ApiModelProperty
(
"版本id"
)
@ApiModelProperty
(
"版本id"
)
private
String
versionId
;
private
Integer
versionId
;
/**
/**
* 创建人
* 创建人
*/
*/
...
...
byit-myth-core/myth-admin-core/src/main/java/com/byit/model/JobTaskSchedule.java
View file @
c34a7c3a
...
@@ -237,7 +237,7 @@ public class JobTaskSchedule implements Serializable {
...
@@ -237,7 +237,7 @@ public class JobTaskSchedule implements Serializable {
* 创建人
* 创建人
*/
*/
@ApiModelProperty
(
"版本id"
)
@ApiModelProperty
(
"版本id"
)
private
String
versionId
;
private
Integer
versionId
;
/**
/**
* 创建人
* 创建人
*/
*/
...
...
byit-myth-core/myth-admin-core/src/main/resources/mapper/JobTaskMapper.xml
View file @
c34a7c3a
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
<result
column=
"run_source"
jdbcType=
"LONGVARCHAR"
property=
"runSource"
/>
<result
column=
"run_source"
jdbcType=
"LONGVARCHAR"
property=
"runSource"
/>
<result
column=
"add_time"
jdbcType=
"DATE"
property=
"addTime"
/>
<result
column=
"add_time"
jdbcType=
"DATE"
property=
"addTime"
/>
<result
column=
"author"
jdbcType=
"VARCHAR"
property=
"author"
/>
<result
column=
"author"
jdbcType=
"VARCHAR"
property=
"author"
/>
<result
column=
"version_id"
jdbcType=
"
VARCHA
R"
property=
"versionId"
/>
<result
column=
"version_id"
jdbcType=
"
INTEGE
R"
property=
"versionId"
/>
<result
column=
"version_name"
jdbcType=
"VARCHAR"
property=
"versionName"
/>
<result
column=
"version_name"
jdbcType=
"VARCHAR"
property=
"versionName"
/>
</resultMap>
</resultMap>
...
@@ -105,7 +105,7 @@
...
@@ -105,7 +105,7 @@
#{routingStrategy,jdbcType=VARCHAR}, #{runId,jdbcType=VARCHAR}, #{runParam,jdbcType=VARCHAR},
#{routingStrategy,jdbcType=VARCHAR}, #{runId,jdbcType=VARCHAR}, #{runParam,jdbcType=VARCHAR},
#{runSourceDesc,jdbcType=VARCHAR}, #{scriptUrls,jdbcType=VARCHAR}, #{sourcePrincipal,jdbcType=VARCHAR},
#{runSourceDesc,jdbcType=VARCHAR}, #{scriptUrls,jdbcType=VARCHAR}, #{sourcePrincipal,jdbcType=VARCHAR},
#{sourceUpdateTime,jdbcType=DATE}, #{triggerNextTime,jdbcType=BIGINT}, #{triggerStatus,jdbcType=CHAR},
#{sourceUpdateTime,jdbcType=DATE}, #{triggerNextTime,jdbcType=BIGINT}, #{triggerStatus,jdbcType=CHAR},
#{runSource,jdbcType=LONGVARCHAR},#{addTime,jdbcType=DATE},#{author,jdbcType=VARCHAR},#{versionId,jdbcType=
VARCHA
R},
#{runSource,jdbcType=LONGVARCHAR},#{addTime,jdbcType=DATE},#{author,jdbcType=VARCHAR},#{versionId,jdbcType=
INTEGE
R},
#{versionName,jdbcType=VARCHAR})
#{versionName,jdbcType=VARCHAR})
</insert>
</insert>
<!--动态数据添加-->
<!--动态数据添加-->
...
@@ -338,7 +338,7 @@
...
@@ -338,7 +338,7 @@
#{author,jdbcType=VARCHAR},
#{author,jdbcType=VARCHAR},
</if>
</if>
<if
test=
"versionId != null"
>
<if
test=
"versionId != null"
>
#{versionId,jdbcType=
VARCHA
R},
#{versionId,jdbcType=
INTEGE
R},
</if>
</if>
<if
test=
"versionName != null"
>
<if
test=
"versionName != null"
>
#{versionName,jdbcType=VARCHAR},
#{versionName,jdbcType=VARCHAR},
...
@@ -455,7 +455,7 @@
...
@@ -455,7 +455,7 @@
author = #{author,jdbcType=VARCHAR},
author = #{author,jdbcType=VARCHAR},
</if>
</if>
<if
test=
"versionId != null"
>
<if
test=
"versionId != null"
>
version_id = #{versionId,jdbcType=
VARCHA
R},
version_id = #{versionId,jdbcType=
INTEGE
R},
</if>
</if>
<if
test=
"versionName != null"
>
<if
test=
"versionName != null"
>
version_name = #{versionName,jdbcType=VARCHAR},
version_name = #{versionName,jdbcType=VARCHAR},
...
...
byit-myth-core/myth-admin-core/src/main/resources/mapper/JobTaskScheduleMapper.xml
View file @
c34a7c3a
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
<result
column=
"run_source"
jdbcType=
"LONGVARCHAR"
property=
"runSource"
/>
<result
column=
"run_source"
jdbcType=
"LONGVARCHAR"
property=
"runSource"
/>
<result
column=
"add_time"
jdbcType=
"DATE"
property=
"addTime"
/>
<result
column=
"add_time"
jdbcType=
"DATE"
property=
"addTime"
/>
<result
column=
"author"
jdbcType=
"VARCHAR"
property=
"author"
/>
<result
column=
"author"
jdbcType=
"VARCHAR"
property=
"author"
/>
<result
column=
"version_id"
jdbcType=
"
VARCHA
R"
property=
"versionId"
/>
<result
column=
"version_id"
jdbcType=
"
INTEGE
R"
property=
"versionId"
/>
<result
column=
"version_name"
jdbcType=
"VARCHAR"
property=
"versionName"
/>
<result
column=
"version_name"
jdbcType=
"VARCHAR"
property=
"versionName"
/>
</resultMap>
</resultMap>
...
@@ -95,7 +95,7 @@
...
@@ -95,7 +95,7 @@
#{runParam,jdbcType=VARCHAR}, #{runSourceDesc,jdbcType=VARCHAR}, #{scriptUrls,jdbcType=VARCHAR},
#{runParam,jdbcType=VARCHAR}, #{runSourceDesc,jdbcType=VARCHAR}, #{scriptUrls,jdbcType=VARCHAR},
#{sourcePrincipal,jdbcType=VARCHAR}, #{sourceUpdateTime,jdbcType=DATE}, #{triggerNextTime,jdbcType=BIGINT},
#{sourcePrincipal,jdbcType=VARCHAR}, #{sourceUpdateTime,jdbcType=DATE}, #{triggerNextTime,jdbcType=BIGINT},
#{triggerStatus,jdbcType=CHAR}, #{runSource,jdbcType=LONGVARCHAR},#{addTime,jdbcType=DATE},#{author,jdbcType=VARCHAR},
#{triggerStatus,jdbcType=CHAR}, #{runSource,jdbcType=LONGVARCHAR},#{addTime,jdbcType=DATE},#{author,jdbcType=VARCHAR},
#{versionId,jdbcType=
VARCHA
R}, #{versionName,jdbcType=VARCHAR})
#{versionId,jdbcType=
INTEGE
R}, #{versionName,jdbcType=VARCHAR})
</insert>
</insert>
<insert
id=
"insertSelective"
parameterType=
"com.byit.model.JobTaskSchedule"
>
<insert
id=
"insertSelective"
parameterType=
"com.byit.model.JobTaskSchedule"
>
insert into job_task_schedule
insert into job_task_schedule
...
@@ -332,7 +332,7 @@
...
@@ -332,7 +332,7 @@
#{author,jdbcType=VARCHAR},
#{author,jdbcType=VARCHAR},
</if>
</if>
<if
test=
"versionId != null"
>
<if
test=
"versionId != null"
>
#{versionId,jdbcType=
VARCHA
R},
#{versionId,jdbcType=
INTEGE
R},
</if>
</if>
<if
test=
"versionName != null"
>
<if
test=
"versionName != null"
>
#{versionName,jdbcType=VARCHAR},
#{versionName,jdbcType=VARCHAR},
...
@@ -368,7 +368,7 @@
...
@@ -368,7 +368,7 @@
#{jobTaskSchedule.runParam,jdbcType=VARCHAR}, #{jobTaskSchedule.runSourceDesc,jdbcType=VARCHAR}, #{jobTaskSchedule.scriptUrls,jdbcType=VARCHAR},
#{jobTaskSchedule.runParam,jdbcType=VARCHAR}, #{jobTaskSchedule.runSourceDesc,jdbcType=VARCHAR}, #{jobTaskSchedule.scriptUrls,jdbcType=VARCHAR},
#{jobTaskSchedule.sourcePrincipal,jdbcType=VARCHAR}, #{jobTaskSchedule.sourceUpdateTime,jdbcType=DATE}, #{jobTaskSchedule.triggerNextTime,jdbcType=BIGINT},
#{jobTaskSchedule.sourcePrincipal,jdbcType=VARCHAR}, #{jobTaskSchedule.sourceUpdateTime,jdbcType=DATE}, #{jobTaskSchedule.triggerNextTime,jdbcType=BIGINT},
#{jobTaskSchedule.triggerStatus,jdbcType=CHAR}, #{jobTaskSchedule.runSource,jdbcType=LONGVARCHAR},#{jobTaskSchedule.addTime,jdbcType=DATE},
#{jobTaskSchedule.triggerStatus,jdbcType=CHAR}, #{jobTaskSchedule.runSource,jdbcType=LONGVARCHAR},#{jobTaskSchedule.addTime,jdbcType=DATE},
#{jobTaskSchedule.author,jdbcType=VARCHAR},#{jobTaskSchedule.versionId,jdbcType=
VARCHA
R}, #{jobTaskSchedule.versionName,jdbcType=VARCHAR})
#{jobTaskSchedule.author,jdbcType=VARCHAR},#{jobTaskSchedule.versionId,jdbcType=
INTEGE
R}, #{jobTaskSchedule.versionName,jdbcType=VARCHAR})
</foreach>
</foreach>
</insert>
</insert>
...
@@ -487,7 +487,7 @@
...
@@ -487,7 +487,7 @@
</if>
</if>
<if
test=
"versionId != null"
>
<if
test=
"versionId != null"
>
version_id = #{versionId,jdbcType=
VARCHA
R},
version_id = #{versionId,jdbcType=
INTEGE
R},
</if>
</if>
<if
test=
"versionName != null"
>
<if
test=
"versionName != null"
>
version_name = #{versionName,jdbcType=VARCHAR},
version_name = #{versionName,jdbcType=VARCHAR},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment