Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibztask
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibztask
提交
3b7967c6
提交
3b7967c6
编写于
1月 31, 2024
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
lab_xuhui 发布系统代码 [ibiz-task,任务调度]
上级
6deaa37f
变更
8
显示空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
25 行增加
和
26 行删除
+25
-26
jobs-info_BO_CN_base.ts
.../locale/lanres/entities/jobs-info/jobs-info_BO_CN_base.ts
+2
-2
jobs-info_en_US_base.ts
.../locale/lanres/entities/jobs-info/jobs-info_en_US_base.ts
+2
-2
jobs-info_zh_CN_base.ts
.../locale/lanres/entities/jobs-info/jobs-info_zh_CN_base.ts
+2
-2
main-grid-base.vue
app_web/src/widgets/jobs-info/main-grid/main-grid-base.vue
+10
-10
main-grid-model.ts
app_web/src/widgets/jobs-info/main-grid/main-grid-model.ts
+2
-2
h2_table.xml
ibztask-core/src/main/resources/liquibase/h2_table.xml
+1
-1
JobsInfoMapper.xml
...rc/main/resources/mapper/task/jobsinfo/JobsInfoMapper.xml
+4
-4
ibztask.json
ibztask-core/src/main/resources/sysmodel/ibztask.json
+2
-3
未找到文件。
app_web/src/locale/lanres/entities/jobs-info/jobs-info_BO_CN_base.ts
浏览文件 @
3b7967c6
...
...
@@ -18,7 +18,7 @@ function getLocaleResourceBase(){
status
:
commonLogic
.
appcommonhandle
(
"状态"
,
null
),
update_time
:
commonLogic
.
appcommonhandle
(
"更新时间"
,
null
),
create_time
:
commonLogic
.
appcommonhandle
(
"创建时间"
,
null
),
last_
time_format
:
commonLogic
.
appcommonhandle
(
"上次执行时间"
,
null
),
last_
run
:
commonLogic
.
appcommonhandle
(
"上次执行时间"
,
null
),
},
views
:
{
editview
:
{
...
...
@@ -72,7 +72,7 @@ function getLocaleResourceBase(){
status
:
commonLogic
.
appcommonhandle
(
"状态"
,
null
),
timeout
:
commonLogic
.
appcommonhandle
(
"任务执行超时时间(秒)"
,
null
),
update_time
:
commonLogic
.
appcommonhandle
(
"更新时间"
,
null
),
last_
time_format
:
commonLogic
.
appcommonhandle
(
"上次执行时间"
,
null
),
last_
run
:
commonLogic
.
appcommonhandle
(
"上次执行时间"
,
null
),
},
nodata
:
commonLogic
.
appcommonhandle
(
""
,
null
),
uiactions
:
{
...
...
app_web/src/locale/lanres/entities/jobs-info/jobs-info_en_US_base.ts
浏览文件 @
3b7967c6
...
...
@@ -18,7 +18,7 @@ function getLocaleResourceBase(){
status
:
commonLogic
.
appcommonhandle
(
"状态"
,
null
),
update_time
:
commonLogic
.
appcommonhandle
(
"更新时间"
,
null
),
create_time
:
commonLogic
.
appcommonhandle
(
"创建时间"
,
null
),
last_
time_format
:
commonLogic
.
appcommonhandle
(
"上次执行时间"
,
null
),
last_
run
:
commonLogic
.
appcommonhandle
(
"上次执行时间"
,
null
),
},
views
:
{
editview
:
{
...
...
@@ -72,7 +72,7 @@ function getLocaleResourceBase(){
status
:
commonLogic
.
appcommonhandle
(
"状态"
,
null
),
timeout
:
commonLogic
.
appcommonhandle
(
"任务执行超时时间(秒)"
,
null
),
update_time
:
commonLogic
.
appcommonhandle
(
"更新时间"
,
null
),
last_
time_format
:
commonLogic
.
appcommonhandle
(
"上次执行时间"
,
null
),
last_
run
:
commonLogic
.
appcommonhandle
(
"上次执行时间"
,
null
),
},
nodata
:
commonLogic
.
appcommonhandle
(
""
,
null
),
uiactions
:
{
...
...
app_web/src/locale/lanres/entities/jobs-info/jobs-info_zh_CN_base.ts
浏览文件 @
3b7967c6
...
...
@@ -18,7 +18,7 @@ function getLocaleResourceBase(){
status
:
commonLogic
.
appcommonhandle
(
"状态"
,
null
),
update_time
:
commonLogic
.
appcommonhandle
(
"更新时间"
,
null
),
create_time
:
commonLogic
.
appcommonhandle
(
"创建时间"
,
null
),
last_
time_format
:
commonLogic
.
appcommonhandle
(
"上次执行时间"
,
null
),
last_
run
:
commonLogic
.
appcommonhandle
(
"上次执行时间"
,
null
),
},
views
:
{
editview
:
{
...
...
@@ -72,7 +72,7 @@ function getLocaleResourceBase(){
status
:
commonLogic
.
appcommonhandle
(
"状态"
,
null
),
timeout
:
commonLogic
.
appcommonhandle
(
"任务执行超时时间(秒)"
,
null
),
update_time
:
commonLogic
.
appcommonhandle
(
"更新时间"
,
null
),
last_
time_format
:
commonLogic
.
appcommonhandle
(
"上次执行时间"
,
null
),
last_
run
:
commonLogic
.
appcommonhandle
(
"上次执行时间"
,
null
),
},
nodata
:
commonLogic
.
appcommonhandle
(
""
,
null
),
uiactions
:
{
...
...
app_web/src/widgets/jobs-info/main-grid/main-grid-base.vue
浏览文件 @
3b7967c6
...
...
@@ -145,15 +145,15 @@
</
template
>
</el-table-column>
</template>
<
template
v-if=
"getColumnState('last_
time_format
')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'last_
time_format'"
:label=
"$t('entities.jobsinfo.main_grid.columns.last_time_format')"
:width=
"200"
:align=
"'left'"
:sortable=
"'custom
'"
>
<
template
v-if=
"getColumnState('last_
run
')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'last_
run'"
:label=
"$t('entities.jobsinfo.main_grid.columns.last_run')"
:width=
"200"
:align=
"'left
'"
>
<template
v-slot:header=
"
{column}">
<span
class=
"column-header "
>
{{
$t
(
'entities.jobsinfo.main_grid.columns.last_
time_format
'
)
}}
{{
$t
(
'entities.jobsinfo.main_grid.columns.last_
run
'
)
}}
</span>
</
template
>
<
template
v-slot=
"{row,column,$index}"
>
<app-format-data
format=
"YYYY-MM-DD HH:mm:ss"
:data=
"row.last_
time_format
"
></app-format-data>
<app-format-data
format=
"YYYY-MM-DD HH:mm:ss"
:data=
"row.last_
run
"
></app-format-data>
</
template
>
</el-table-column>
</template>
...
...
@@ -807,9 +807,9 @@ export default class MainBase extends Vue implements ControlInterface {
enableCond
:
3
,
},
{
name
:
'last_
time_format
'
,
name
:
'last_
run
'
,
label
:
'上次执行时间'
,
langtag
:
'entities.jobsinfo.main_grid.columns.last_
time_format
'
,
langtag
:
'entities.jobsinfo.main_grid.columns.last_
run
'
,
show
:
true
,
unit
:
'PX'
,
isEnableRowEdit
:
false
,
...
...
@@ -1530,7 +1530,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @memberof MainBase
*/
public
arraySpanMethod
({
row
,
column
,
rowIndex
,
columnIndex
}
:
any
)
{
let
allColumns
:
Array
<
any
>
=
[
'id'
,
'app'
,
'remark'
,
'handler'
,
'cron'
,
'last_time'
,
'next_time'
,
'status'
,
'timeout'
,
'update_time'
,
'last_
time_format
'
];
let
allColumns
:
Array
<
any
>
=
[
'id'
,
'app'
,
'remark'
,
'handler'
,
'cron'
,
'last_time'
,
'next_time'
,
'status'
,
'timeout'
,
'update_time'
,
'last_
run
'
];
if
(
row
&&
row
.
children
)
{
if
(
columnIndex
==
(
this
.
isSingleSelect
?
0
:
1
))
{
return
[
1
,
allColumns
.
length
+
1
];
...
...
@@ -1620,7 +1620,7 @@ export default class MainBase extends Vue implements ControlInterface {
status
:
''
,
timeout
:
''
,
update_time
:
''
,
last_
time_format
:
''
,
last_
run
:
''
,
children
:
children
}
groupTree
.
push
(
tree
);
...
...
@@ -1657,7 +1657,7 @@ export default class MainBase extends Vue implements ControlInterface {
status
:
''
,
timeout
:
''
,
update_time
:
''
,
last_
time_format
:
''
,
last_
run
:
''
,
children
:
child
}
if
(
child
&&
child
.
length
>
0
){
...
...
@@ -1714,7 +1714,7 @@ export default class MainBase extends Vue implements ControlInterface {
status
:
''
,
timeout
:
''
,
update_time
:
''
,
last_
time_format
:
''
,
last_
run
:
''
,
children
:
children
,
}
groupTree
.
push
(
tree
);
...
...
app_web/src/widgets/jobs-info/main-grid/main-grid-model.ts
浏览文件 @
3b7967c6
...
...
@@ -77,8 +77,8 @@ export default class MainModel {
dataType
:
'DATETIME'
,
},
{
name
:
'last_
time_format
'
,
prop
:
'last_
time_format
'
,
name
:
'last_
run
'
,
prop
:
'last_
run
'
,
dataType
:
'DATETIME'
,
},
{
...
...
ibztask-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
3b7967c6
...
...
@@ -4,7 +4,7 @@
<!--输出实体[JOBS_INFO]数据结构 -->
<changeSet
author=
"root"
id=
"tab-jobs_info-
28
-1"
>
<changeSet
author=
"root"
id=
"tab-jobs_info-
32
-1"
>
<createTable
tableName=
"JOBS_INFO"
>
<column
name=
"ID"
remarks=
""
type=
"VARCHAR(100)"
>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_JOBS_INFO_ID"
/>
...
...
ibztask-core/src/main/resources/mapper/task/jobsinfo/JobsInfoMapper.xml
浏览文件 @
3b7967c6
...
...
@@ -7,7 +7,7 @@
<![CDATA[select t1.* from (SELECT t1.`APP`, t1.`AUTHOR`, t1.`CREATE_TIME`, t1.`CRON`, t1.`FAIL_RETRY_COUNT`, t1.`HANDLER`, t1.`ID`, t1.`LAST_TIME`, t1.`NEXT_TIME`, t1.`PARAM`, t1.`REMARK`, t1.`STATUS`, t1.`TENANT_ID`, t1.`TIMEOUT`, t1.`UPDATE_TIME` FROM `JOBS_INFO` t1 ) t1 where id=#{id}]]>
</select>
<select
id=
"selectById"
resultMap=
"JobsInfoResultMap"
databaseId=
"oracle"
>
<![CDATA[select t1.* from (SELECT t1.APP, t1.AUTHOR, t1.CREATE_TIME, t1.CRON, t1.FAIL_RETRY_COUNT, t1.HANDLER, t1.ID, t1.LAST_TIME, t1.
LAST_TIME AS LAST_TIME_FORMAT, t1.
NEXT_TIME, t1.PARAM, t1.REMARK, t1.STATUS, t1.TENANT_ID, t1.TIMEOUT, t1.UPDATE_TIME FROM JOBS_INFO t1 ) t1 where id=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.APP, t1.AUTHOR, t1.CREATE_TIME, t1.CRON, t1.FAIL_RETRY_COUNT, t1.HANDLER, t1.ID, t1.LAST_TIME, t1.NEXT_TIME, t1.PARAM, t1.REMARK, t1.STATUS, t1.TENANT_ID, t1.TIMEOUT, t1.UPDATE_TIME FROM JOBS_INFO t1 ) t1 where id=#{id}]]>
</select>
<select
id=
"selectById"
resultMap=
"JobsInfoResultMap"
databaseId=
"postgresql"
>
<![CDATA[select t1.* from (SELECT t1.APP, t1.AUTHOR, t1.CREATE_TIME, t1.CRON, t1.FAIL_RETRY_COUNT, t1.HANDLER, t1.ID, t1.LAST_TIME, t1.NEXT_TIME, t1.PARAM, t1.REMARK, t1.STATUS, t1.TENANT_ID, t1.TIMEOUT, t1.UPDATE_TIME FROM JOBS_INFO t1 ) t1 where id=#{id}]]>
...
...
@@ -22,7 +22,7 @@
<result
property=
"nextTime"
column=
"next_time"
/>
<result
property=
"updateTime"
column=
"update_time"
/>
<result
property=
"createTime"
column=
"create_time"
/>
<result
property=
"last
TimeFormat"
column=
"last_time_format
"
/>
<result
property=
"last
Run"
column=
"last_run
"
/>
</resultMap>
...
...
@@ -44,7 +44,7 @@
</sql>
<!--数据查询[Default]-->
<sql
id=
"Default"
databaseId=
"oracle"
>
<![CDATA[ SELECT t1.APP, t1.AUTHOR, t1.CREATE_TIME, t1.CRON, t1.FAIL_RETRY_COUNT, t1.HANDLER, t1.ID, t1.LAST_TIME, t1.
LAST_TIME AS LAST_TIME_FORMAT, t1.
NEXT_TIME, t1.PARAM, t1.REMARK, t1.STATUS, t1.TENANT_ID, t1.TIMEOUT, t1.UPDATE_TIME FROM JOBS_INFO t1
<![CDATA[ SELECT t1.APP, t1.AUTHOR, t1.CREATE_TIME, t1.CRON, t1.FAIL_RETRY_COUNT, t1.HANDLER, t1.ID, t1.LAST_TIME, t1.NEXT_TIME, t1.PARAM, t1.REMARK, t1.STATUS, t1.TENANT_ID, t1.TIMEOUT, t1.UPDATE_TIME FROM JOBS_INFO t1
]]>
</sql>
<!--数据查询[Default]-->
...
...
@@ -59,7 +59,7 @@
</sql>
<!--数据查询[View]-->
<sql
id=
"View"
databaseId=
"oracle"
>
<![CDATA[ SELECT t1.APP, t1.AUTHOR, t1.CREATE_TIME, t1.CRON, t1.FAIL_RETRY_COUNT, t1.HANDLER, t1.ID, t1.LAST_TIME, t1.
LAST_TIME AS LAST_TIME_FORMAT, t1.
NEXT_TIME, t1.PARAM, t1.REMARK, t1.STATUS, t1.TENANT_ID, t1.TIMEOUT, t1.UPDATE_TIME FROM JOBS_INFO t1
<![CDATA[ SELECT t1.APP, t1.AUTHOR, t1.CREATE_TIME, t1.CRON, t1.FAIL_RETRY_COUNT, t1.HANDLER, t1.ID, t1.LAST_TIME, t1.NEXT_TIME, t1.PARAM, t1.REMARK, t1.STATUS, t1.TENANT_ID, t1.TIMEOUT, t1.UPDATE_TIME FROM JOBS_INFO t1
]]>
</sql>
<!--数据查询[View]-->
...
...
ibztask-core/src/main/resources/sysmodel/ibztask.json
浏览文件 @
3b7967c6
...
...
@@ -218,15 +218,14 @@
"major_field"
:
0
},
{
"fieldname"
:
"LAST_
TIME_FORMAT
"
,
"codename"
:
"Last_
time_format
"
,
"fieldname"
:
"LAST_
RUN
"
,
"codename"
:
"Last_
run
"
,
"field_logic_name"
:
"上次执行时间"
,
"entity_name"
:
"JOBS_INFO"
,
"field_type"
:
"DATETIME"
,
"nullable"
:
1
,
"physical_field"
:
0
,
"data_type"
:
"DATETIME"
,
"expression"
:
"%1$s"
,
"key_field"
:
0
,
"show_order"
:
1000
,
"major_field"
:
0
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录