From a230f6653b7c87c3529bd5640886c22d688509c4 Mon Sep 17 00:00:00 2001 From: xuhy <3313886187@qq.com> Date: 星期一, 26 五月 2025 14:37:48 +0800 Subject: [PATCH] 修改接口 --- ruoyi-system/src/main/resources/mapper/system/TQaProduceReportMapper.xml | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ruoyi-system/src/main/resources/mapper/system/TQaProduceReportMapper.xml b/ruoyi-system/src/main/resources/mapper/system/TQaProduceReportMapper.xml index 2ab248c..a76908c 100644 --- a/ruoyi-system/src/main/resources/mapper/system/TQaProduceReportMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/TQaProduceReportMapper.xml @@ -47,17 +47,20 @@ <if test="query.teamName != null and query.teamName != ''"> and tpt.team_name like concat('%', #{query.teamName}, '%') </if> + <if test="query.reportType != null"> + and tqpr.report_type = #{query.reportType} + </if> <if test="query.status != null"> and tqpr.status = #{query.status} - </if> - <if test="query.status == null"> - and tqpr.status != -1 </if> <if test="query.teamIds != null and query.teamIds.size() > 0"> and tqpr.team_id in <foreach collection="query.teamIds" item="teamId" open="(" separator="," close=")"> #{teamId} </foreach> + </if> + <if test="query.status == null"> + and tqpr.status != -1 </if> AND tqpr.disabled = ${@com.ruoyi.common.enums.DisabledEnum@NO.getCode()} </where> @@ -80,6 +83,9 @@ <if test="query.teamName != null and query.teamName != ''"> and tpt.team_name like concat('%', #{query.teamName}, '%') </if> + <if test="query.reportType != null"> + and tqpr.report_type = #{query.reportType} + </if> <if test="query.status != null"> and tqpr.status = #{query.status} </if> -- Gitblit v1.7.1