소스 검색

app最近考试

yangfeng 1 년 전
부모
커밋
067c751f98
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      web/src/main/java/com/ynfy/buss/exam/exam/mapper/xml/ExamMapper.xml

+ 2 - 1
web/src/main/java/com/ynfy/buss/exam/exam/mapper/xml/ExamMapper.xml

@@ -162,7 +162,8 @@
     <select id="listLatestExam" resultType="com.ynfy.buss.exam.exam.entity.Exam">
         SELECT
             e.*,
-            IFNULL( update_time, create_time ) AS time_sort
+            IFNULL( update_time, create_time ) AS time_sort,
+            <include refid="stateCondition" />
         <choose>
             <when test="userId !=null and userId != ''">
                ,tmp.try_count, tmp.passed