Kaynağa Gözat

app最近考试

yangfeng 1 yıl önce
ebeveyn
işleme
067c751f98

+ 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