|
@@ -374,4 +374,27 @@ export class textbookServer {
|
|
|
// // }
|
|
|
// }
|
|
|
}
|
|
|
+
|
|
|
+ /* 获取所有未上传签名页附件教材 */
|
|
|
+ async get_authorSignPDF_def(){
|
|
|
+ let query = new Parse.Query('EduTextbook')
|
|
|
+ // let query = Parse.Query.fromJSON('EduTextbook', {
|
|
|
+ // where: {
|
|
|
+ // status:{$in: ['102','103','200','201','300']},
|
|
|
+ // authorSignPDF
|
|
|
+ // },
|
|
|
+ // });
|
|
|
+ let list:any = []
|
|
|
+ query.notEqualTo('isDeleted',true)
|
|
|
+ query.containedIn('status',['102','103','200','201','300'])
|
|
|
+ query.doesNotExist('authorSignPDF.url')
|
|
|
+ query.exists('code')
|
|
|
+ query.select('code')
|
|
|
+ query.limit(1000)
|
|
|
+ query.greaterThanOrEqualTo('createdAt', new Date('2024/8/5 00:00'))
|
|
|
+ let r = await query.find()
|
|
|
+ // console.log(r);
|
|
|
+ r.forEach(item=> list.push(item.get('code')))
|
|
|
+ console.log(list);
|
|
|
+ }
|
|
|
}
|