Bläddra i källkod

1.0.4 优化联调bug

xiaofei 1 år sedan
förälder
incheckning
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
     @Resource
     private SysOrgService sysOrgService;
     private SysOrgService sysOrgService;
     @Resource
     @Resource
-    private SysOrgMapper sysOrgMapper;
-    @Resource
     private LibraryCommonService libraryCommonService;
     private LibraryCommonService libraryCommonService;
 
 
     /**
     /**
@@ -201,7 +199,7 @@ public class AuthInfoServiceImpl implements AuthInfoService {
             }
             }
 
 
             if (!CollectionUtils.isEmpty(sysOrgSet)) {
             if (!CollectionUtils.isEmpty(sysOrgSet)) {
-                sysOrgMapper.insertBatch(sysOrgSet);
+                sysOrgService.saveBatch(sysOrgSet);
             }
             }
         }
         }
     }
     }