diff --git a/ruoyi-system/src/main/java/com/ruoyi/hezhi/service/impl/TbExamSimulateInfoServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/hezhi/service/impl/TbExamSimulateInfoServiceImpl.java index 5f7ebf0e5740ae8a2f95fc65d8fee9708e3a2e06..e5138f1d1a95cd0e9589cd0cd0a6734245e2a8c0 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/hezhi/service/impl/TbExamSimulateInfoServiceImpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/hezhi/service/impl/TbExamSimulateInfoServiceImpl.java @@ -214,7 +214,7 @@ public class TbExamSimulateInfoServiceImpl implements ITbExamSimulateInfoService } - return tbExamSimulateInfoMapper. getSimulateSubjectAllInfo(params); + return tbExamSimulateInfoMapper.getSimulateSubjectAllInfo(params); } /** diff --git a/ruoyi-system/src/main/resources/mapper/hezhi/TbContinuingEducationClassMapper.xml b/ruoyi-system/src/main/resources/mapper/hezhi/TbContinuingEducationClassMapper.xml index 4db5ede5a5a2bc5defb97ab8c248d20a00ad6aaa..53d6778b97ce3b5c96ec44cb0f8570a2309d54ca 100644 --- a/ruoyi-system/src/main/resources/mapper/hezhi/TbContinuingEducationClassMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/hezhi/TbContinuingEducationClassMapper.xml @@ -174,27 +174,22 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" CONVERT(IFNULL(tsc.study_center_tag, ''), CHAR) AS studyCenterTag, CONVERT(IFNULL(tsc.study_center_background, ''), CHAR) AS studyCenterBackground, CONVERT(IFNULL(tsc.school_name, ''), CHAR) AS schoolName, - CONVERT(IFNULL(tsc.study_center_title, ''), CHAR) AS studyCenterTitle, - tl.link_one AS isRecommend - from tb_link tl - left join tb_study_center tsc on tl.resources_one_id = tsc.study_center_id - left join tb_continuing_education_class tcec on tl.resources_two_id = tcec.continuing_education_class_id + CONVERT(IFNULL(tsc.study_center_title, ''), CHAR) AS studyCenterTitle + FROM tb_study_center tsc + LEFT JOIN tb_continuing_education_class tcec ON tsc.continuing_education_class_id = tcec.continuing_education_class_id AND tsc.continuing_education_class_id = #{continuingEducationClassId} - - AND tl.link_one = 1 - + + + - AND ( - tsc.study_center_name like concat('%', #{searchValue}, '%') - ) + AND (tsc.study_center_name like concat('%', #{searchValue}, '%')) - and tl.type = 4 and tsc.status = 0 and tsc.del_flag = 0 - order by tl.link_one desc, tsc.sort asc, tsc.create_time desc + order by tsc.sort asc, tsc.create_time desc diff --git a/ruoyi-system/src/main/resources/mapper/hezhi/TbExamNoticeMapper.xml b/ruoyi-system/src/main/resources/mapper/hezhi/TbExamNoticeMapper.xml index dff839caaf327bb924e1c08fba826d6e4d599b9a..5fdcbcca9a1184cf9a3390776b4cfe684ad3d334 100644 --- a/ruoyi-system/src/main/resources/mapper/hezhi/TbExamNoticeMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/hezhi/TbExamNoticeMapper.xml @@ -209,7 +209,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"