Browse Source

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

yerongfa 4 years atrás
parent
commit
12f01d91f3

+ 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,