From 5d2d6fdff67f8f9a7e65abdbb4b87dba07dcb32b Mon Sep 17 00:00:00 2001 From: xuhy <3313886187@qq.com> Date: 星期二, 02 九月 2025 10:23:02 +0800 Subject: [PATCH] 上传修改 --- ruoyi-system/src/main/resources/mapper/system/TTesterOtherTaskMapper.xml | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/ruoyi-system/src/main/resources/mapper/system/TTesterOtherTaskMapper.xml b/ruoyi-system/src/main/resources/mapper/system/TTesterOtherTaskMapper.xml index 68220dc..82b1aef 100644 --- a/ruoyi-system/src/main/resources/mapper/system/TTesterOtherTaskMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/TTesterOtherTaskMapper.xml @@ -22,5 +22,27 @@ <sql id="Base_Column_List"> id, team_id,tester_id, task_content, task_time, evaluate_score, evaluate_time, create_time, update_time, create_by, update_by, disabled </sql> + <select id="pageList" resultType="com.ruoyi.system.vo.TTesterOtherTaskVO"> + select ttot.id, ttot.team_id,ttot.tester_id, ttot.task_content, ttot.task_time, ttot.evaluate_score, ttot.evaluate_time, + ttot.create_time, ttot.update_time, ttot.create_by, ttot.update_by, ttot.disabled,tpt.team_name as teamName + from t_tester_other_task ttot + left join t_project_team tpt on ttot.team_id = tpt.id + <where> + <if test="query.teamName != null and query.teamName != ''"> + and tpt.team_name like concat('%',#{query.teamName},'%') + </if> + <if test="query.taskContent != null and query.taskContent != ''"> + and ttot.task_content like concat('%',#{query.taskContent},'%') + </if> + <if test="query.teamIds != null and query.teamIds.size() > 0"> + and ttot.team_id in + <foreach item="teamId" collection="query.teamIds" index="index" open="(" close=")" separator=","> + #{teamId} + </foreach> + </if> + AND ttot.disabled = ${@com.ruoyi.common.enums.DisabledEnum@NO.getCode()} + </where> + ORDER BY ttot.create_time DESC + </select> </mapper> -- Gitblit v1.7.1