From ae9ede70c133e257baead8e36bc65063d5b5c3c9 Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期日, 01 九月 2024 17:56:15 +0800 Subject: [PATCH] 系统优化+bug修复 --- ycl-server/src/main/resources/mapper/zgyw/CheckScoreMapper.xml | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/ycl-server/src/main/resources/mapper/zgyw/CheckScoreMapper.xml b/ycl-server/src/main/resources/mapper/zgyw/CheckScoreMapper.xml index 8eeb9a8..50a9c53 100644 --- a/ycl-server/src/main/resources/mapper/zgyw/CheckScoreMapper.xml +++ b/ycl-server/src/main/resources/mapper/zgyw/CheckScoreMapper.xml @@ -35,7 +35,7 @@ <if test="deptId != null "> and tcs.dept_id = #{deptId}</if> ${params.dataScope} </where> - order by create_time desc; + order by create_time desc </select> <select id="selectCheckScoreById" parameterType="Long" resultMap="CheckScoreResult"> @@ -107,6 +107,9 @@ select t.* from ${tableName} t left join sys_dept d on t.dept_id = d.dept_id where t.dept_id = #{deptId} + <if test="examineTag != null"> + and examine_tag = #{examineTag} + </if> <if test="date != null"> and date_format(t.create_time,'%Y-%m') = #{date} </if> -- Gitblit v1.8.0