diff --git a/pom.xml b/pom.xml
index b6c9087..479a474 100644
--- a/pom.xml
+++ b/pom.xml
@@ -20,6 +20,7 @@
5.3.33
5.7.12
1.2.23
+ 3.4.1
1.21
3.0.0
2.3.3
@@ -70,6 +71,20 @@
${druid.version}
+
+
+ com.baomidou
+ mybatis-plus-boot-starter
+ ${mp.version}
+
+
+
+
+ com.baomidou
+ mybatis-plus-extension
+ ${mp.version}
+
+
eu.bitwalker
@@ -77,12 +92,6 @@
${bitwalker.version}
-
-
- com.github.pagehelper
- pagehelper-spring-boot-starter
- ${pagehelper.boot.version}
-
@@ -181,6 +190,12 @@
${sync.version}
+
+ com.lyr
+ sync-gather
+ ${sync.version}
+
+
@@ -191,6 +206,7 @@
sync-quartz
sync-generator
sync-common
+ sync-gather
pom
diff --git a/sync-admin/pom.xml b/sync-admin/pom.xml
index ddaef56..1bc6ce7 100644
--- a/sync-admin/pom.xml
+++ b/sync-admin/pom.xml
@@ -61,6 +61,12 @@
sync-generator
+
+
+ com.lyr
+ sync-gather
+
+
diff --git a/sync-admin/src/main/java/com/lyr/web/controller/monitor/SysLogininforController.java b/sync-admin/src/main/java/com/lyr/web/controller/monitor/SysLogininforController.java
index f76d7e9..cda2985 100644
--- a/sync-admin/src/main/java/com/lyr/web/controller/monitor/SysLogininforController.java
+++ b/sync-admin/src/main/java/com/lyr/web/controller/monitor/SysLogininforController.java
@@ -33,7 +33,6 @@ public class SysLogininforController extends BaseController {
@PreAuthorize("@ss.hasPermi('monitor:logininfor:list')")
@GetMapping("/list")
public TableDataInfo list(SysLogininfor logininfor) {
- startPage();
List list = logininforService.selectLogininforList(logininfor);
return getDataTable(list);
}
diff --git a/sync-admin/src/main/java/com/lyr/web/controller/monitor/SysOperlogController.java b/sync-admin/src/main/java/com/lyr/web/controller/monitor/SysOperlogController.java
index a06f70e..9c43907 100644
--- a/sync-admin/src/main/java/com/lyr/web/controller/monitor/SysOperlogController.java
+++ b/sync-admin/src/main/java/com/lyr/web/controller/monitor/SysOperlogController.java
@@ -29,7 +29,7 @@ public class SysOperlogController extends BaseController {
@PreAuthorize("@ss.hasPermi('monitor:operlog:list')")
@GetMapping("/list")
public TableDataInfo list(SysOperLog operLog) {
- startPage();
+
List list = operLogService.selectOperLogList(operLog);
return getDataTable(list);
}
diff --git a/sync-admin/src/main/java/com/lyr/web/controller/system/SysConfigController.java b/sync-admin/src/main/java/com/lyr/web/controller/system/SysConfigController.java
index b113671..c3cd4d7 100644
--- a/sync-admin/src/main/java/com/lyr/web/controller/system/SysConfigController.java
+++ b/sync-admin/src/main/java/com/lyr/web/controller/system/SysConfigController.java
@@ -33,7 +33,7 @@ public class SysConfigController extends BaseController {
@PreAuthorize("@ss.hasPermi('system:config:list')")
@GetMapping("/list")
public TableDataInfo list(SysConfig config) {
- startPage();
+
List list = configService.selectConfigList(config);
return getDataTable(list);
}
diff --git a/sync-admin/src/main/java/com/lyr/web/controller/system/SysDictDataController.java b/sync-admin/src/main/java/com/lyr/web/controller/system/SysDictDataController.java
index 41a927f..efeb7f1 100644
--- a/sync-admin/src/main/java/com/lyr/web/controller/system/SysDictDataController.java
+++ b/sync-admin/src/main/java/com/lyr/web/controller/system/SysDictDataController.java
@@ -36,7 +36,7 @@ public class SysDictDataController extends BaseController {
@PreAuthorize("@ss.hasPermi('system:dict:list')")
@GetMapping("/list")
public TableDataInfo list(SysDictData dictData) {
- startPage();
+
List list = dictDataService.selectDictDataList(dictData);
return getDataTable(list);
}
diff --git a/sync-admin/src/main/java/com/lyr/web/controller/system/SysDictTypeController.java b/sync-admin/src/main/java/com/lyr/web/controller/system/SysDictTypeController.java
index bdfe66f..2fddf4d 100644
--- a/sync-admin/src/main/java/com/lyr/web/controller/system/SysDictTypeController.java
+++ b/sync-admin/src/main/java/com/lyr/web/controller/system/SysDictTypeController.java
@@ -30,7 +30,7 @@ public class SysDictTypeController extends BaseController {
@PreAuthorize("@ss.hasPermi('system:dict:list')")
@GetMapping("/list")
public TableDataInfo list(SysDictType dictType) {
- startPage();
+
List list = dictTypeService.selectDictTypeList(dictType);
return getDataTable(list);
}
diff --git a/sync-admin/src/main/java/com/lyr/web/controller/system/SysNoticeController.java b/sync-admin/src/main/java/com/lyr/web/controller/system/SysNoticeController.java
index 292e332..036afd9 100644
--- a/sync-admin/src/main/java/com/lyr/web/controller/system/SysNoticeController.java
+++ b/sync-admin/src/main/java/com/lyr/web/controller/system/SysNoticeController.java
@@ -31,7 +31,7 @@ public class SysNoticeController extends BaseController {
@PreAuthorize("@ss.hasPermi('system:notice:list')")
@GetMapping("/list")
public TableDataInfo list(SysNotice notice) {
- startPage();
+
List list = noticeService.selectNoticeList(notice);
return getDataTable(list);
}
diff --git a/sync-admin/src/main/java/com/lyr/web/controller/system/SysPostController.java b/sync-admin/src/main/java/com/lyr/web/controller/system/SysPostController.java
index 41517c2..6625251 100644
--- a/sync-admin/src/main/java/com/lyr/web/controller/system/SysPostController.java
+++ b/sync-admin/src/main/java/com/lyr/web/controller/system/SysPostController.java
@@ -33,7 +33,7 @@ public class SysPostController extends BaseController {
@PreAuthorize("@ss.hasPermi('system:post:list')")
@GetMapping("/list")
public TableDataInfo list(SysPost post) {
- startPage();
+
List list = postService.selectPostList(post);
return getDataTable(list);
}
diff --git a/sync-admin/src/main/java/com/lyr/web/controller/system/SysRoleController.java b/sync-admin/src/main/java/com/lyr/web/controller/system/SysRoleController.java
index 82c726f..83ed625 100644
--- a/sync-admin/src/main/java/com/lyr/web/controller/system/SysRoleController.java
+++ b/sync-admin/src/main/java/com/lyr/web/controller/system/SysRoleController.java
@@ -51,7 +51,7 @@ public class SysRoleController extends BaseController {
@PreAuthorize("@ss.hasPermi('system:role:list')")
@GetMapping("/list")
public TableDataInfo list(SysRole role) {
- startPage();
+
List list = roleService.selectRoleList(role);
return getDataTable(list);
}
@@ -171,7 +171,7 @@ public class SysRoleController extends BaseController {
@PreAuthorize("@ss.hasPermi('system:role:list')")
@GetMapping("/authUser/allocatedList")
public TableDataInfo allocatedList(SysUser user) {
- startPage();
+
List list = userService.selectAllocatedList(user);
return getDataTable(list);
}
@@ -182,7 +182,7 @@ public class SysRoleController extends BaseController {
@PreAuthorize("@ss.hasPermi('system:role:list')")
@GetMapping("/authUser/unallocatedList")
public TableDataInfo unallocatedList(SysUser user) {
- startPage();
+
List list = userService.selectUnallocatedList(user);
return getDataTable(list);
}
diff --git a/sync-admin/src/main/java/com/lyr/web/controller/system/SysUserController.java b/sync-admin/src/main/java/com/lyr/web/controller/system/SysUserController.java
index 8b53f93..4921eb9 100644
--- a/sync-admin/src/main/java/com/lyr/web/controller/system/SysUserController.java
+++ b/sync-admin/src/main/java/com/lyr/web/controller/system/SysUserController.java
@@ -52,7 +52,7 @@ public class SysUserController extends BaseController {
@PreAuthorize("@ss.hasPermi('system:user:list')")
@GetMapping("/list")
public TableDataInfo list(SysUser user) {
- startPage();
+
List list = userService.selectUserList(user);
return getDataTable(list);
}
diff --git a/sync-admin/src/main/java/com/lyr/web/controller/tool/DataSourceManagerController.java b/sync-admin/src/main/java/com/lyr/web/controller/tool/DataSourceManagerController.java
new file mode 100644
index 0000000..0fb2229
--- /dev/null
+++ b/sync-admin/src/main/java/com/lyr/web/controller/tool/DataSourceManagerController.java
@@ -0,0 +1,19 @@
+package com.lyr.web.controller.tool;
+
+import com.lyr.framework.manager.DataSourceManagerService;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+import javax.annotation.Resource;
+
+/**
+ * @author liyc
+ * @date 2024/10/30
+ * @description TODO
+ **/
+@RestController("/dataSourceManager")
+public class DataSourceManagerController {
+
+
+
+}
diff --git a/sync-admin/src/main/resources/application.yml b/sync-admin/src/main/resources/application.yml
index e539dc3..5c45fe6 100644
--- a/sync-admin/src/main/resources/application.yml
+++ b/sync-admin/src/main/resources/application.yml
@@ -100,25 +100,23 @@ token:
# 令牌有效期(默认30分钟)
expireTime: 30
-# MyBatis配置
-mybatis:
- # 搜索指定包别名
+
+mybatis-plus:
typeAliasesPackage: com.lyr.**.domain
- # 配置mapper的扫描,找到所有的mapper.xml映射文件
mapperLocations: classpath*:mapper/**/*Mapper.xml
- # 加载全局的配置文件
- configLocation: classpath:mybatis/mybatis-config.xml
-
-# PageHelper分页插件
-pagehelper:
- helperDialect: mysql
- supportMethodsArguments: true
- params: count=countSql
+ mapperPackage: com.lyr.**.mapper
+ configuration:
+ log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
+ map-underscore-to-camel-case: true
+ global-config:
+ db-config:
+ id-type: AUTO
+ banner: off
# Swagger配置
swagger:
# 是否开启swagger
- enabled: true
+ enabled: false
# 请求前缀
pathMapping: /dev-api
diff --git a/sync-admin/target/classes/application.yml b/sync-admin/target/classes/application.yml
index c133c49..2d6cc3d 100644
--- a/sync-admin/target/classes/application.yml
+++ b/sync-admin/target/classes/application.yml
@@ -100,25 +100,23 @@ token:
# 令牌有效期(默认30分钟)
expireTime: 30
-# MyBatis配置
-mybatis:
- # 搜索指定包别名
+
+mybatis-plus:
typeAliasesPackage: com.lyr.**.domain
- # 配置mapper的扫描,找到所有的mapper.xml映射文件
mapperLocations: classpath*:mapper/**/*Mapper.xml
- # 加载全局的配置文件
- configLocation: classpath:mybatis/mybatis-config.xml
-
-# PageHelper分页插件
-pagehelper:
- helperDialect: mysql
- supportMethodsArguments: true
- params: count=countSql
+ mapperPackage: com.lyr.**.mapper
+ configuration:
+ log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
+ map-underscore-to-camel-case: true
+ global-config:
+ db-config:
+ id-type: AUTO
+ banner: off
# Swagger配置
swagger:
# 是否开启swagger
- enabled: true
+ enabled: false
# 请求前缀
pathMapping: /dev-api
diff --git a/sync-admin/target/classes/com/lyr/web/controller/monitor/SysLogininforController.class b/sync-admin/target/classes/com/lyr/web/controller/monitor/SysLogininforController.class
index e01dd35..53a2e17 100644
Binary files a/sync-admin/target/classes/com/lyr/web/controller/monitor/SysLogininforController.class and b/sync-admin/target/classes/com/lyr/web/controller/monitor/SysLogininforController.class differ
diff --git a/sync-admin/target/classes/com/lyr/web/controller/monitor/SysOperlogController.class b/sync-admin/target/classes/com/lyr/web/controller/monitor/SysOperlogController.class
index 0b69aa3..cb06921 100644
Binary files a/sync-admin/target/classes/com/lyr/web/controller/monitor/SysOperlogController.class and b/sync-admin/target/classes/com/lyr/web/controller/monitor/SysOperlogController.class differ
diff --git a/sync-admin/target/classes/com/lyr/web/controller/system/SysConfigController.class b/sync-admin/target/classes/com/lyr/web/controller/system/SysConfigController.class
index e1424a7..cc05cf1 100644
Binary files a/sync-admin/target/classes/com/lyr/web/controller/system/SysConfigController.class and b/sync-admin/target/classes/com/lyr/web/controller/system/SysConfigController.class differ
diff --git a/sync-admin/target/classes/com/lyr/web/controller/system/SysDictDataController.class b/sync-admin/target/classes/com/lyr/web/controller/system/SysDictDataController.class
index 7f499e0..2dfba68 100644
Binary files a/sync-admin/target/classes/com/lyr/web/controller/system/SysDictDataController.class and b/sync-admin/target/classes/com/lyr/web/controller/system/SysDictDataController.class differ
diff --git a/sync-admin/target/classes/com/lyr/web/controller/system/SysDictTypeController.class b/sync-admin/target/classes/com/lyr/web/controller/system/SysDictTypeController.class
index eb5b810..08b29ab 100644
Binary files a/sync-admin/target/classes/com/lyr/web/controller/system/SysDictTypeController.class and b/sync-admin/target/classes/com/lyr/web/controller/system/SysDictTypeController.class differ
diff --git a/sync-admin/target/classes/com/lyr/web/controller/system/SysNoticeController.class b/sync-admin/target/classes/com/lyr/web/controller/system/SysNoticeController.class
index 5486117..ac7fd47 100644
Binary files a/sync-admin/target/classes/com/lyr/web/controller/system/SysNoticeController.class and b/sync-admin/target/classes/com/lyr/web/controller/system/SysNoticeController.class differ
diff --git a/sync-admin/target/classes/com/lyr/web/controller/system/SysPostController.class b/sync-admin/target/classes/com/lyr/web/controller/system/SysPostController.class
index 742c13b..2ae8a2f 100644
Binary files a/sync-admin/target/classes/com/lyr/web/controller/system/SysPostController.class and b/sync-admin/target/classes/com/lyr/web/controller/system/SysPostController.class differ
diff --git a/sync-admin/target/classes/com/lyr/web/controller/system/SysRoleController.class b/sync-admin/target/classes/com/lyr/web/controller/system/SysRoleController.class
index 73d0a8b..73a77be 100644
Binary files a/sync-admin/target/classes/com/lyr/web/controller/system/SysRoleController.class and b/sync-admin/target/classes/com/lyr/web/controller/system/SysRoleController.class differ
diff --git a/sync-admin/target/classes/com/lyr/web/controller/system/SysUserController.class b/sync-admin/target/classes/com/lyr/web/controller/system/SysUserController.class
index 90107f6..9c546cd 100644
Binary files a/sync-admin/target/classes/com/lyr/web/controller/system/SysUserController.class and b/sync-admin/target/classes/com/lyr/web/controller/system/SysUserController.class differ
diff --git a/sync-common/pom.xml b/sync-common/pom.xml
index 94607dd..a084544 100644
--- a/sync-common/pom.xml
+++ b/sync-common/pom.xml
@@ -35,11 +35,6 @@
spring-boot-starter-security
-
-
- com.github.pagehelper
- pagehelper-spring-boot-starter
-
diff --git a/sync-common/src/main/java/com/lyr/common/core/controller/BaseController.java b/sync-common/src/main/java/com/lyr/common/core/controller/BaseController.java
index a4d6519..3decce2 100644
--- a/sync-common/src/main/java/com/lyr/common/core/controller/BaseController.java
+++ b/sync-common/src/main/java/com/lyr/common/core/controller/BaseController.java
@@ -1,18 +1,12 @@
package com.lyr.common.core.controller;
-import com.github.pagehelper.PageHelper;
-import com.github.pagehelper.PageInfo;
import com.lyr.common.constant.HttpStatus;
import com.lyr.common.core.domain.AjaxResult;
import com.lyr.common.core.domain.model.LoginUser;
-import com.lyr.common.core.page.PageDomain;
import com.lyr.common.core.page.TableDataInfo;
-import com.lyr.common.core.page.TableSupport;
import com.lyr.common.utils.DateUtils;
-import com.lyr.common.utils.PageUtils;
import com.lyr.common.utils.SecurityUtils;
import com.lyr.common.utils.StringUtils;
-import com.lyr.common.utils.sql.SqlUtil;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.WebDataBinder;
@@ -44,31 +38,6 @@ public class BaseController {
});
}
- /**
- * 设置请求分页数据
- */
- protected void startPage() {
- PageUtils.startPage();
- }
-
- /**
- * 设置请求排序数据
- */
- protected void startOrderBy() {
- PageDomain pageDomain = TableSupport.buildPageRequest();
- if (StringUtils.isNotEmpty(pageDomain.getOrderBy())) {
- String orderBy = SqlUtil.escapeOrderBySql(pageDomain.getOrderBy());
- PageHelper.orderBy(orderBy);
- }
- }
-
- /**
- * 清理分页的线程变量
- */
- protected void clearPage() {
- PageUtils.clearPage();
- }
-
/**
* 响应请求分页数据
*/
@@ -78,7 +47,7 @@ public class BaseController {
rspData.setCode(HttpStatus.SUCCESS);
rspData.setMsg("查询成功");
rspData.setRows(list);
- rspData.setTotal(new PageInfo(list).getTotal());
+ // rspData.setTotal(new Page(list).getTotal());
return rspData;
}
diff --git a/sync-common/src/main/java/com/lyr/common/utils/PageUtils.java b/sync-common/src/main/java/com/lyr/common/utils/PageUtils.java
deleted file mode 100644
index 1d53d5a..0000000
--- a/sync-common/src/main/java/com/lyr/common/utils/PageUtils.java
+++ /dev/null
@@ -1,32 +0,0 @@
-package com.lyr.common.utils;
-
-import com.github.pagehelper.PageHelper;
-import com.lyr.common.core.page.PageDomain;
-import com.lyr.common.core.page.TableSupport;
-import com.lyr.common.utils.sql.SqlUtil;
-
-/**
- * 分页工具类
- *
- * @author ruoyi
- */
-public class PageUtils extends PageHelper {
- /**
- * 设置请求分页数据
- */
- public static void startPage() {
- PageDomain pageDomain = TableSupport.buildPageRequest();
- Integer pageNum = pageDomain.getPageNum();
- Integer pageSize = pageDomain.getPageSize();
- String orderBy = SqlUtil.escapeOrderBySql(pageDomain.getOrderBy());
- Boolean reasonable = pageDomain.getReasonable();
- PageHelper.startPage(pageNum, pageSize, orderBy).setReasonable(reasonable);
- }
-
- /**
- * 清理分页的线程变量
- */
- public static void clearPage() {
- PageHelper.clearPage();
- }
-}
diff --git a/sync-common/target/classes/com/lyr/common/core/controller/BaseController$1.class b/sync-common/target/classes/com/lyr/common/core/controller/BaseController$1.class
index c4350f8..264a2dc 100644
Binary files a/sync-common/target/classes/com/lyr/common/core/controller/BaseController$1.class and b/sync-common/target/classes/com/lyr/common/core/controller/BaseController$1.class differ
diff --git a/sync-common/target/classes/com/lyr/common/core/controller/BaseController.class b/sync-common/target/classes/com/lyr/common/core/controller/BaseController.class
index 68df8e1..839b1e7 100644
Binary files a/sync-common/target/classes/com/lyr/common/core/controller/BaseController.class and b/sync-common/target/classes/com/lyr/common/core/controller/BaseController.class differ
diff --git a/sync-common/target/classes/com/lyr/common/core/redis/RedisCache.class b/sync-common/target/classes/com/lyr/common/core/redis/RedisCache.class
index bdc2216..0192864 100644
Binary files a/sync-common/target/classes/com/lyr/common/core/redis/RedisCache.class and b/sync-common/target/classes/com/lyr/common/core/redis/RedisCache.class differ
diff --git a/sync-common/target/classes/com/lyr/common/utils/PageUtils.class b/sync-common/target/classes/com/lyr/common/utils/PageUtils.class
deleted file mode 100644
index c0f2d9a..0000000
Binary files a/sync-common/target/classes/com/lyr/common/utils/PageUtils.class and /dev/null differ
diff --git a/sync-framework/pom.xml b/sync-framework/pom.xml
index 19e8c9c..edf5d4b 100644
--- a/sync-framework/pom.xml
+++ b/sync-framework/pom.xml
@@ -35,6 +35,22 @@
druid-spring-boot-starter
+
+ com.baomidou
+ mybatis-plus-boot-starter
+
+
+
+ com.baomidou
+ mybatis-plus-extension
+
+
+
+ com.microsoft.sqlserver
+ mssql-jdbc
+ 12.8.1.jre8
+
+
pro.fessional
diff --git a/sync-framework/src/main/java/com/lyr/framework/config/DruidConfig.java b/sync-framework/src/main/java/com/lyr/framework/config/DruidConfig.java
index 54009a0..46b4ca5 100644
--- a/sync-framework/src/main/java/com/lyr/framework/config/DruidConfig.java
+++ b/sync-framework/src/main/java/com/lyr/framework/config/DruidConfig.java
@@ -18,7 +18,6 @@ import org.springframework.context.annotation.Primary;
import javax.servlet.*;
import javax.sql.DataSource;
import java.io.IOException;
-import java.util.HashMap;
import java.util.Map;
/**
@@ -46,10 +45,15 @@ public class DruidConfig {
@Bean(name = "dynamicDataSource")
@Primary
public DynamicDataSource dataSource(DataSource masterDataSource) {
- Map
+
+ org.projectlombok
+ lombok
+ provided
+
+
+
+ com.baomidou
+ mybatis-plus-boot-starter
+
\ No newline at end of file
diff --git a/sync-system/src/main/java/com/lyr/system/domain/SysCache.java b/sync-system/src/main/java/com/lyr/system/domain/SysCache.java
index 1d1d450..a2a9bc7 100644
--- a/sync-system/src/main/java/com/lyr/system/domain/SysCache.java
+++ b/sync-system/src/main/java/com/lyr/system/domain/SysCache.java
@@ -1,5 +1,6 @@
package com.lyr.system.domain;
+
import com.lyr.common.utils.StringUtils;
/**
diff --git a/sync-system/src/main/java/com/lyr/system/mapper/SysDeptMapper.java b/sync-system/src/main/java/com/lyr/system/mapper/SysDeptMapper.java
index fff8626..1065bab 100644
--- a/sync-system/src/main/java/com/lyr/system/mapper/SysDeptMapper.java
+++ b/sync-system/src/main/java/com/lyr/system/mapper/SysDeptMapper.java
@@ -1,5 +1,6 @@
package com.lyr.system.mapper;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lyr.common.core.domain.entity.SysDept;
import org.apache.ibatis.annotations.Param;
@@ -10,7 +11,7 @@ import java.util.List;
*
* @author ruoyi
*/
-public interface SysDeptMapper {
+public interface SysDeptMapper extends BaseMapper {
/**
* 查询部门管理数据
*
diff --git a/sync-system/src/main/java/com/lyr/system/service/impl/SysDictDataServiceImpl.java b/sync-system/src/main/java/com/lyr/system/service/impl/SysDictDataServiceImpl.java
index 5016ba6..b16c7c9 100644
--- a/sync-system/src/main/java/com/lyr/system/service/impl/SysDictDataServiceImpl.java
+++ b/sync-system/src/main/java/com/lyr/system/service/impl/SysDictDataServiceImpl.java
@@ -2,6 +2,7 @@ package com.lyr.system.service.impl;
import com.lyr.common.core.domain.entity.SysDictData;
import com.lyr.common.utils.DictUtils;
+import com.lyr.common.utils.spring.SpringUtils;
import com.lyr.system.mapper.SysDictDataMapper;
import com.lyr.system.service.ISysDictDataService;
import org.springframework.beans.factory.annotation.Autowired;
diff --git a/sync-system/src/main/resources/mapper/system/SysDeptMapper.xml b/sync-system/src/main/resources/mapper/system/SysDeptMapper.xml
index 0afc409..e68b16f 100644
--- a/sync-system/src/main/resources/mapper/system/SysDeptMapper.xml
+++ b/sync-system/src/main/resources/mapper/system/SysDeptMapper.xml
@@ -23,8 +23,18 @@
- select d.dept_id, d.parent_id, d.ancestors, d.dept_name, d.order_num, d.leader, d.phone, d.email, d.status,
- d.del_flag, d.create_by, d.create_time
+ select d.dept_id,
+ d.parent_id,
+ d.ancestors,
+ d.dept_name,
+ d.order_num,
+ d.leader,
+ d.phone,
+ d.email,
+ d.status,
+ d.del_flag,
+ d.create_by,
+ d.create_time
from sys_dept d
@@ -61,27 +71,47 @@