lrf402788946 4 년 전
부모
커밋
aff1b85a78
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/service/school.js

+ 1 - 1
app/service/school.js

@@ -145,7 +145,7 @@ class SchoolService extends CrudService {
       console.error(rt);
       let ar = arrange[key];
       ar = ar.map(a => {
-        const rb = rt.batchnum.find(f => f.batchid === a.batchid);
+        const rb = rt.batchnum.find(f => f._id === a.batchid);
         if (rb) {
           const bh = _.head(rb.class);
           const { type } = bh;