Parcourir la source

1.0.4 优化联调bug

xiaofei il y a 1 an
Parent
commit
31c65b33a0

+ 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);
             }
         }
     }