lrf402788946 4 年之前
父節點
當前提交
0451365519
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/service/school.js

+ 1 - 1
app/service/school.js

@@ -137,7 +137,7 @@ class SchoolService extends CrudService {
           type,
         };
         job.reason = reason;
-        await res.save(job);
+        await this.jmodel.create(job);
       }
 
       throw new BusinessError(ErrorCode.SERVICE_FAULT, reason);