Browse Source

Merge branch 'master' of http://git.fmode.cn:3000/bin/edu-textbook

cehn 9 months ago
parent
commit
9c8e1710b3
1 changed files with 1 additions and 0 deletions
  1. 1 0
      server/cloud/tbook/func-tbook-export.js

+ 1 - 0
server/cloud/tbook/func-tbook-export.js

@@ -98,6 +98,7 @@ export async function exportProcessReportDocs(processId,bookList) {
     let textbookList
     if(processId){ // 流程读取教材列表
         let query = new Parse.Query("EduTextbook")
+        query.equalTo("recommend",true);
         query.equalTo("eduProcess",processId);
         textbookList = await query.find();
     }