Bläddra i källkod

app最近考试

yangfeng 1 år sedan
förälder
incheckning
067c751f98
1 ändrade filer med 2 tillägg och 1 borttagningar
  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