瀏覽代碼

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

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,