【修改】细节
This commit is contained in:
@@ -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);
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -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) <> ''
|
||||
</select>
|
||||
<select id="getPoints" resultMap="ExamSpecialtyResult">
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user