Commit a13fb61359d2aa415fbd9e74f5b995b9e42503bf

Authored by YunaiV
1 parent dc8eb8e3

优化 pom.xml 文件,减少无用的多租户引用

yudao-module-mall/yudao-module-coupon-biz/pom.xml
... ... @@ -30,10 +30,6 @@
30 30 <groupId>cn.iocoder.boot</groupId>
31 31 <artifactId>yudao-spring-boot-starter-biz-operatelog</artifactId>
32 32 </dependency>
33   - <dependency>
34   - <groupId>cn.iocoder.boot</groupId>
35   - <artifactId>yudao-spring-boot-starter-biz-tenant</artifactId>
36   - </dependency>
37 33  
38 34 <!-- Web 相关 -->
39 35 <dependency>
... ... @@ -42,7 +38,7 @@
42 38 </dependency>
43 39 <dependency>
44 40 <groupId>cn.iocoder.boot</groupId>
45   - <artifactId>yudao-spring-boot-starter-excel</artifactId>
  41 + <artifactId>yudao-spring-boot-starter-security</artifactId>
46 42 </dependency>
47 43  
48 44 <!-- DB 相关 -->
... ... @@ -57,6 +53,12 @@
57 53 <artifactId>yudao-spring-boot-starter-test</artifactId>
58 54 </dependency>
59 55  
  56 + <!-- 工具类相关 -->
  57 + <dependency>
  58 + <groupId>cn.iocoder.boot</groupId>
  59 + <artifactId>yudao-spring-boot-starter-excel</artifactId>
  60 + </dependency>
  61 +
60 62 </dependencies>
61 63  
62   -</project>
63 64 \ No newline at end of file
  65 +</project>
... ...
yudao-module-mall/yudao-module-coupon-biz/src/main/java/cn/iocoder/yudao/module/coupon/service/coupon/CouponServiceImpl.java
... ... @@ -4,7 +4,6 @@ import cn.hutool.core.bean.BeanUtil;
4 4 import cn.iocoder.yudao.framework.security.core.util.SecurityFrameworkUtils;
5 5 import cn.iocoder.yudao.module.coupon.dal.dataobject.CouponTemplete.CouponTempleteDO;
6 6 import cn.iocoder.yudao.module.coupon.dal.mysql.CouponTemplete.CouponTempleteMapper;
7   -import io.micrometer.core.instrument.Counter;
8 7 import org.springframework.stereotype.Service;
9 8 import javax.annotation.Resource;
10 9 import org.springframework.validation.annotation.Validated;
... ...
yudao-module-mall/yudao-module-market-biz/pom.xml
... ... @@ -34,16 +34,16 @@
34 34 <groupId>cn.iocoder.boot</groupId>
35 35 <artifactId>yudao-spring-boot-starter-biz-weixin</artifactId>
36 36 </dependency>
37   - <dependency>
38   - <groupId>cn.iocoder.boot</groupId>
39   - <artifactId>yudao-spring-boot-starter-biz-tenant</artifactId>
40   - </dependency>
41 37  
42 38 <!-- Web 相关 -->
43 39 <dependency>
44 40 <groupId>cn.iocoder.boot</groupId>
45 41 <artifactId>yudao-spring-boot-starter-web</artifactId>
46 42 </dependency>
  43 + <dependency>
  44 + <groupId>cn.iocoder.boot</groupId>
  45 + <artifactId>yudao-spring-boot-starter-security</artifactId>
  46 + </dependency>
47 47  
48 48 <!-- DB 相关 -->
49 49 <dependency>
... ... @@ -56,6 +56,12 @@
56 56 <groupId>cn.iocoder.boot</groupId>
57 57 <artifactId>yudao-spring-boot-starter-test</artifactId>
58 58 </dependency>
  59 +
  60 + <!-- 工具类相关 -->
  61 + <dependency>
  62 + <groupId>cn.iocoder.boot</groupId>
  63 + <artifactId>yudao-spring-boot-starter-excel</artifactId>
  64 + </dependency>
59 65 </dependencies>
60 66  
61 67 </project>
... ...
yudao-module-mall/yudao-module-product-biz/pom.xml
... ... @@ -29,10 +29,6 @@
29 29 <groupId>cn.iocoder.boot</groupId>
30 30 <artifactId>yudao-spring-boot-starter-biz-operatelog</artifactId>
31 31 </dependency>
32   - <dependency>
33   - <groupId>cn.iocoder.boot</groupId>
34   - <artifactId>yudao-spring-boot-starter-biz-tenant</artifactId>
35   - </dependency>
36 32  
37 33 <!-- Web 相关 -->
38 34 <dependency>
... ... @@ -41,7 +37,7 @@
41 37 </dependency>
42 38 <dependency>
43 39 <groupId>cn.iocoder.boot</groupId>
44   - <artifactId>yudao-spring-boot-starter-excel</artifactId>
  40 + <artifactId>yudao-spring-boot-starter-security</artifactId>
45 41 </dependency>
46 42  
47 43 <!-- DB 相关 -->
... ... @@ -56,6 +52,11 @@
56 52 <artifactId>yudao-spring-boot-starter-test</artifactId>
57 53 </dependency>
58 54  
  55 + <!-- 工具类相关 -->
  56 + <dependency>
  57 + <groupId>cn.iocoder.boot</groupId>
  58 + <artifactId>yudao-spring-boot-starter-excel</artifactId>
  59 + </dependency>
59 60 </dependencies>
60 61  
61 62 </project>
... ...
yudao-module-mall/yudao-module-trade-biz/pom.xml
... ... @@ -47,10 +47,6 @@
47 47 <groupId>cn.iocoder.boot</groupId>
48 48 <artifactId>yudao-spring-boot-starter-biz-operatelog</artifactId>
49 49 </dependency>
50   - <dependency>
51   - <groupId>cn.iocoder.boot</groupId>
52   - <artifactId>yudao-spring-boot-starter-biz-tenant</artifactId>
53   - </dependency>
54 50  
55 51 <!-- Web 相关 -->
56 52 <dependency>
... ... @@ -59,7 +55,7 @@
59 55 </dependency>
60 56 <dependency>
61 57 <groupId>cn.iocoder.boot</groupId>
62   - <artifactId>yudao-spring-boot-starter-excel</artifactId>
  58 + <artifactId>yudao-spring-boot-starter-security</artifactId>
63 59 </dependency>
64 60  
65 61 <!-- DB 相关 -->
... ... @@ -73,6 +69,12 @@
73 69 <groupId>cn.iocoder.boot</groupId>
74 70 <artifactId>yudao-spring-boot-starter-test</artifactId>
75 71 </dependency>
  72 +
  73 + <!-- 工具类相关 -->
  74 + <dependency>
  75 + <groupId>cn.iocoder.boot</groupId>
  76 + <artifactId>yudao-spring-boot-starter-excel</artifactId>
  77 + </dependency>
76 78 </dependencies>
77 79  
78 80 </project>
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/permission/MenuController.java
... ... @@ -6,7 +6,6 @@ import cn.iocoder.yudao.module.system.controller.admin.permission.vo.menu.*;
6 6 import cn.iocoder.yudao.module.system.convert.permission.MenuConvert;
7 7 import cn.iocoder.yudao.module.system.dal.dataobject.permission.MenuDO;
8 8 import cn.iocoder.yudao.module.system.service.permission.MenuService;
9   -import cn.iocoder.yudao.module.system.service.tenant.TenantService;
10 9 import io.swagger.annotations.Api;
11 10 import io.swagger.annotations.ApiImplicitParam;
12 11 import io.swagger.annotations.ApiOperation;
... ... @@ -29,8 +28,6 @@ public class MenuController {
29 28  
30 29 @Resource
31 30 private MenuService menuService;
32   - @Resource
33   - private TenantService tenantService;
34 31  
35 32 @PostMapping("/create")
36 33 @ApiOperation("创建菜单")
... ...
yudao-ui-admin/src/views/bpm/group/index.vue
... ... @@ -127,7 +127,6 @@ export default {
127 127 pageSize: 10,
128 128 name: null,
129 129 status: null,
130   - tenantId: null,
131 130 createTime: []
132 131 },
133 132 // 表单参数
... ...