Преглед на файлове

练习册管理页面增加返回发布日期

yerongfa преди 4 години
родител
ревизия
12f01d91f3
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      ssj-mybatis-service-impl/src/main/resources/mybatis/mapper/KmtExerciseMapper.xml

+ 1 - 0
ssj-mybatis-service-impl/src/main/resources/mybatis/mapper/KmtExerciseMapper.xml

@@ -1220,6 +1220,7 @@
         t.status,
         t.org_nums orgNums,
         t.progress,
+        if(t.progress = '已发布', (select date(max(publish_time)) from kmt_exercise_questions where exercise_book_id = t.id limit 1), ''),
         t.total_grade_priority priority,
         t.identified_nums identifiedNums,
         t.answer_correcter_id answerCorrecterId,