|
@@ -229,8 +229,8 @@ class StudentService extends CrudService {
|
|
|
let studentList = await this.model.find({ classid });
|
|
|
|
|
|
studentList = studentList.map(i => {
|
|
|
- if (i.job.includes('普通')) i.is_fine = '1';
|
|
|
- else i.is_fine = '0';
|
|
|
+ if (i.job.includes('普通')) i.is_fine = '0';
|
|
|
+ else i.is_fine = '1';
|
|
|
return i;
|
|
|
});
|
|
|
|
|
@@ -255,8 +255,6 @@ class StudentService extends CrudService {
|
|
|
|
|
|
if (num > 10) break;
|
|
|
const { score, is_fine } = student;
|
|
|
-
|
|
|
- if (`${score}` === '0') continue;
|
|
|
|
|
|
if (is_fine === '1') continue;
|
|
|
|