소스 검색

1.0.4 优化联调bug

xiaofei 1 년 전
부모
커밋
31c65b33a0
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 3
      paper-library-common/src/main/java/com/qmth/paper/library/common/service/impl/AuthInfoServiceImpl.java

+ 1 - 3
paper-library-common/src/main/java/com/qmth/paper/library/common/service/impl/AuthInfoServiceImpl.java

@@ -50,8 +50,6 @@ public class AuthInfoServiceImpl implements AuthInfoService {
     @Resource
     private SysOrgService sysOrgService;
     @Resource
-    private SysOrgMapper sysOrgMapper;
-    @Resource
     private LibraryCommonService libraryCommonService;
 
     /**
@@ -201,7 +199,7 @@ public class AuthInfoServiceImpl implements AuthInfoService {
             }
 
             if (!CollectionUtils.isEmpty(sysOrgSet)) {
-                sysOrgMapper.insertBatch(sysOrgSet);
+                sysOrgService.saveBatch(sysOrgSet);
             }
         }
     }