渲染修改

This commit is contained in:
2025-11-19 10:50:32 +08:00
parent 769cece367
commit 0dcee95a45
4 changed files with 63 additions and 7 deletions

View File

@@ -176,6 +176,32 @@ public class TbCrontabTask extends BaseDTO {
this.description = description;
}
/**
* @description 元数据名称(来自 tb_crontab_task_meta.name
*/
private String metaName;
/**
* @description 元数据描述(来自 tb_crontab_task_meta.description
*/
private String metaDescription;
public String getMetaName() {
return metaName;
}
public void setMetaName(String metaName) {
this.metaName = metaName;
}
public String getMetaDescription() {
return metaDescription;
}
public void setMetaDescription(String metaDescription) {
this.metaDescription = metaDescription;
}
public Integer getConcurrent() {
return concurrent;
}

View File

@@ -24,6 +24,8 @@
<result column="update_time" property="updateTime" />
<result column="delete_time" property="deleteTime" />
<result column="deleted" property="deleted" />
<result column="meta_name" property="metaName" />
<result column="meta_description" property="metaDescription" />
</resultMap>
<!-- 字段列表 -->
@@ -233,9 +235,33 @@
<!-- 分页查询任务列表 -->
<select id="selectTaskPage" resultMap="BaseResultMap">
SELECT DISTINCT ct.*
SELECT DISTINCT
ct.id,
ct.task_id,
ct.task_name,
ct.task_group,
ct.bean_name,
ct.method_name,
ct.method_params,
ct.meta_id,
ct.default_recipient,
ct.cron_expression,
ct.status,
ct.description,
ct.concurrent,
ct.misfire_policy,
ct.creator,
ct.updater,
ct.create_time,
ct.update_time,
ct.delete_time,
ct.deleted,
m.name AS meta_name,
m.description AS meta_description
FROM tb_crontab_task ct
<include refid="Permission_Filter" />
LEFT JOIN tb_crontab_task_meta m
ON ct.meta_id = m.meta_id AND m.deleted = 0
WHERE ct.deleted = 0
<if test="filter != null">
<if test="filter.ID != null and filter.ID != ''">