【修改】细节

This commit is contained in:
YOHO\20373
2025-05-21 19:12:51 +08:00
parent b5f18ba897
commit 7b48893212
7 changed files with 28 additions and 25 deletions

View File

@@ -109,7 +109,7 @@ public interface ExamQuestionMapper extends BaseMapperX<ExamQuestion>
long getSchoolNameTotal(TenantDto tenantDto);
int auditQueByIds(@Param("quIds")List<String> quIds);
int auditQueByIds(@Param("quIds")List<String> quIds,@Param("updater") String loginUserNickname);
int noAuditQue(@Param("quIds")List<String> quIds);

View File

@@ -477,7 +477,7 @@ public class ExamQuestionServiceImpl implements IExamQuestionService
public int auditQueByIds(List<String> quIds) {
examQuestionMapper.updateExamQuestionByIds(SecurityFrameworkUtils.getLoginUserNickname(),quIds);
return examQuestionMapper.auditQueByIds(quIds);
return examQuestionMapper.auditQueByIds(quIds,SecurityFrameworkUtils.getLoginUserNickname());
}
@Override

View File

@@ -48,16 +48,18 @@
</select>
<select id="getCourseList" resultType="java.lang.String">
SELECT sp_name
SELECT DISTINCT sp_name
FROM exam_specialty
WHERE ancestors REGEXP '^[0-9]+,[0-9]+,[0-9]+$'
and deleted='0'
</select>
<select id="getKeywords" resultType="java.lang.String">
SELECT DISTINCT keywords FROM exam_question
where deleted='0'
SELECT DISTINCT keywords
FROM exam_question
WHERE deleted = '0'
AND keywords IS NOT NULL
AND TRIM(keywords) &lt;&gt; ''
</select>
<select id="getPoints" resultMap="ExamSpecialtyResult">

View File

@@ -249,7 +249,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</foreach>
</update>
<update id="updateExamQuestionByIds">
UPDATE exam_question
UPDATE education_question_examine
SET updater = #{updater},
update_time = now()
WHERE qu_id IN