From 06df33f156924c564c17b11fdb96c5bb298a810d Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Wed, 07 Aug 2024 11:28:29 +0800
Subject: [PATCH] 三色任务和自查任务
---
src/main/java/org/springblade/modules/customTask/mapper/CustomTaskMapper.xml | 17 ++++++++++++++---
1 files changed, 14 insertions(+), 3 deletions(-)
diff --git a/src/main/java/org/springblade/modules/customTask/mapper/CustomTaskMapper.xml b/src/main/java/org/springblade/modules/customTask/mapper/CustomTaskMapper.xml
index ec87125..30db07e 100644
--- a/src/main/java/org/springblade/modules/customTask/mapper/CustomTaskMapper.xml
+++ b/src/main/java/org/springblade/modules/customTask/mapper/CustomTaskMapper.xml
@@ -46,6 +46,7 @@
<result property="updateBy" column="update_by" />
<result property="cron" column="cron" />
<result property="taskStatus" column="task_status" />
+ <result property="taskRange" column="task_range" />
<result property="jobId" column="job_id" />
</resultMap>
@@ -56,13 +57,18 @@
task_type,
label_id,
label_color,
- category_id,
+ place_label,
+ place_small_label,
nineType,
delete_flag,
update_time,
create_time,
create_by,
- update_by
+ update_by,
+ cron,
+ task_range,
+ task_status,
+ job_id
from
jczz_custom_task
</sql>
@@ -81,13 +87,18 @@
<if test="taskType != null and taskType != ''"> and task_type = #{taskType}</if>
<if test="labelId != null "> and label_id = #{labelId}</if>
<if test="labelColor != null and labelColor != ''"> and label_color = #{labelColor}</if>
- <if test="categoryId != null "> and category_id = #{categoryId}</if>
+ <if test="placeLabel != null "> and place_label = #{placeLabel}</if>
+ <if test="placeSmallLabel != null and placeSmallLabel != ''"> and place_small_label = #{placeSmallLabel}</if>
<if test="nineType != null "> and nineType = #{nineType}</if>
<if test="deleteFlag != null "> and delete_flag = #{deleteFlag}</if>
<if test="updateTime != null "> and update_time = #{updateTime}</if>
<if test="createTime != null "> and create_time = #{createTime}</if>
<if test="createBy != null "> and create_by = #{createBy}</if>
<if test="updateBy != null "> and update_by = #{updateBy}</if>
+ <if test="cron != null and cron != ''"> and cron = #{cron}</if>
+ <if test="taskRange != null and taskRange != ''"> and task_range = #{taskRange}</if>
+ <if test="taskStatus != null and taskStatus != ''"> and task_status = #{taskStatus}</if>
+ <if test="jobId != null "> and job_id = #{jobId}</if>
</where>
</select>
--
Gitblit v1.9.3