浏览代码

fix 科目,专业名称重复

he2802 3 年之前
父节点
当前提交
5f31b3e9ba
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      zhongzheng-system/src/main/resources/mapper/modules/user/UserMockRecordMapper.xml

+ 1 - 0
zhongzheng-system/src/main/resources/mapper/modules/user/UserMockRecordMapper.xml

@@ -147,6 +147,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         LEFT JOIN user_mock_record ue ON t.record_id = ue.record_id
         LEFT JOIN exam e ON ue.exam_id = e.exam_id
         LEFT JOIN exam_paper ep ON e.exam_paper_id = ep.paper_id
+        LEFT JOIN user_mock_subscribe ums ON ue.each_exam_id = ums.each_exam_id
         WHERE
         ue.user_id = #{userId}
         <if test="paperId != null and paperId != ''">