From 735d0737c850cb4385d99fb18f485a5e6c7efbb4 Mon Sep 17 00:00:00 2001
From: heheng <475597332@qq.com>
Date: 星期三, 19 十一月 2025 08:41:54 +0800
Subject: [PATCH] 功能修改
---
multi-system/src/main/resources/mapper/system/CorrectionMapper.xml | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/multi-system/src/main/resources/mapper/system/CorrectionMapper.xml b/multi-system/src/main/resources/mapper/system/CorrectionMapper.xml
index e18a045..2abcb11 100644
--- a/multi-system/src/main/resources/mapper/system/CorrectionMapper.xml
+++ b/multi-system/src/main/resources/mapper/system/CorrectionMapper.xml
@@ -2,11 +2,14 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.gkhy.exam.system.mapper.CorrectionMapper">
- <select id="selectCorrectionList" resultType="com.gkhy.exam.system.domain.Correction" parameterType="int">
+ <select id="selectCorrectionList" resultType="com.gkhy.exam.system.domain.Correction" parameterType="com.gkhy.exam.system.domain.Correction">
select * from correction where del_flag = 0
<if test="companyId != null">
and company_id = #{companyId}
</if>
+ <if test="deptId != null">
+ and dept_id = #{deptId}
+ </if>
order by create_time desc
</select>
</mapper>
--
Gitblit v1.9.2