|
@@ -27,6 +27,12 @@ class TeacherService extends CrudService {
|
|
|
return await this.model.findById(id, '+file');
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+ async fetchteachers({ ids }) {
|
|
|
+ return await this.model.find({ _id: { $in: ids } });
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
async status(data) {
|
|
|
const { teachersid, zlscore, msscore, status, remark } = data;
|
|
|
for (const teacherid of teachersid) {
|