|
@@ -419,7 +419,7 @@ class StudentService extends CrudService {
|
|
|
for (const id of ids) {
|
|
|
const cla = await this.ctx.service.class.fetch({ id });
|
|
|
if (!cla) continue;
|
|
|
- cla.date = moment(cla.date).add(1, 'd').format('YYYY-MM-DD');
|
|
|
+ cla.date = moment(cla.startdate).add(1, 'd').format('YYYY-MM-DD');
|
|
|
classList.push(cla);
|
|
|
}
|
|
|
studentList = studentList.map(i => {
|