|
@@ -22,7 +22,7 @@ class JobService extends CrudService {
|
|
|
job.isstore = data.isstore;
|
|
|
const res = await job.save();
|
|
|
if (res && data.isstore === '1') {
|
|
|
- const studatas = job.studs;
|
|
|
+ const studatas = JSON.parse(job.studs);
|
|
|
for (const stu of studatas) {
|
|
|
await this.smodel.create(stu);
|
|
|
}
|