Commit 1f4889c68ec7ddce46e0e92b6cc947be7d121237
1 parent
6dcb1277
✨ 全局:将 dict 组件,融合到 excel 组件里,减少 starter
Showing
32 changed files
with
41 additions
and
114 deletions
yudao-dependencies/pom.xml
| @@ -108,11 +108,6 @@ | @@ -108,11 +108,6 @@ | ||
| 108 | </dependency> | 108 | </dependency> |
| 109 | <dependency> | 109 | <dependency> |
| 110 | <groupId>cn.iocoder.boot</groupId> | 110 | <groupId>cn.iocoder.boot</groupId> |
| 111 | - <artifactId>yudao-spring-boot-starter-biz-dict</artifactId> | ||
| 112 | - <version>${revision}</version> | ||
| 113 | - </dependency> | ||
| 114 | - <dependency> | ||
| 115 | - <groupId>cn.iocoder.boot</groupId> | ||
| 116 | <artifactId>yudao-spring-boot-starter-biz-tenant</artifactId> | 111 | <artifactId>yudao-spring-boot-starter-biz-tenant</artifactId> |
| 117 | <version>${revision}</version> | 112 | <version>${revision}</version> |
| 118 | </dependency> | 113 | </dependency> |
yudao-framework/pom.xml
| @@ -26,7 +26,6 @@ | @@ -26,7 +26,6 @@ | ||
| 26 | <module>yudao-spring-boot-starter-test</module> | 26 | <module>yudao-spring-boot-starter-test</module> |
| 27 | 27 | ||
| 28 | <module>yudao-spring-boot-starter-biz-operatelog</module> | 28 | <module>yudao-spring-boot-starter-biz-operatelog</module> |
| 29 | - <module>yudao-spring-boot-starter-biz-dict</module> | ||
| 30 | <module>yudao-spring-boot-starter-biz-tenant</module> | 29 | <module>yudao-spring-boot-starter-biz-tenant</module> |
| 31 | <module>yudao-spring-boot-starter-biz-data-permission</module> | 30 | <module>yudao-spring-boot-starter-biz-data-permission</module> |
| 32 | <module>yudao-spring-boot-starter-biz-ip</module> | 31 | <module>yudao-spring-boot-starter-biz-ip</module> |
yudao-framework/yudao-spring-boot-starter-biz-dict/pom.xml deleted
| 1 | -<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | -<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
| 3 | - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
| 4 | - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
| 5 | - <parent> | ||
| 6 | - <groupId>cn.iocoder.boot</groupId> | ||
| 7 | - <artifactId>yudao-framework</artifactId> | ||
| 8 | - <version>${revision}</version> | ||
| 9 | - </parent> | ||
| 10 | - <modelVersion>4.0.0</modelVersion> | ||
| 11 | - <artifactId>yudao-spring-boot-starter-biz-dict</artifactId> | ||
| 12 | - <packaging>jar</packaging> | ||
| 13 | - | ||
| 14 | - <name>${project.artifactId}</name> | ||
| 15 | - <description>字典类型、数据</description> | ||
| 16 | - <url>https://github.com/YunaiV/ruoyi-vue-pro</url> | ||
| 17 | - | ||
| 18 | - <dependencies> | ||
| 19 | - <dependency> | ||
| 20 | - <groupId>cn.iocoder.boot</groupId> | ||
| 21 | - <artifactId>yudao-common</artifactId> | ||
| 22 | - </dependency> | ||
| 23 | - | ||
| 24 | - <!-- Spring 核心 --> | ||
| 25 | - <dependency> | ||
| 26 | - <groupId>org.springframework.boot</groupId> | ||
| 27 | - <artifactId>spring-boot-starter</artifactId> | ||
| 28 | - </dependency> | ||
| 29 | - | ||
| 30 | - <!-- 业务组件 --> | ||
| 31 | - <dependency> | ||
| 32 | - <groupId>cn.iocoder.boot</groupId> | ||
| 33 | - <artifactId>yudao-module-system-api</artifactId> <!-- 需要使用它,进行 Token 的校验 --> | ||
| 34 | - <version>${revision}</version> | ||
| 35 | - </dependency> | ||
| 36 | - | ||
| 37 | - <!-- 工具类相关 --> | ||
| 38 | - <dependency> | ||
| 39 | - <groupId>com.google.guava</groupId> | ||
| 40 | - <artifactId>guava</artifactId> | ||
| 41 | - </dependency> | ||
| 42 | - | ||
| 43 | - <!-- Test 测试相关 --> | ||
| 44 | - <dependency> | ||
| 45 | - <groupId>cn.iocoder.boot</groupId> | ||
| 46 | - <artifactId>yudao-spring-boot-starter-test</artifactId> | ||
| 47 | - <scope>test</scope> | ||
| 48 | - </dependency> | ||
| 49 | - </dependencies> | ||
| 50 | -</project> |
yudao-framework/yudao-spring-boot-starter-biz-dict/src/main/java/cn/iocoder/yudao/framework/dict/core/package-info.java deleted
yudao-framework/yudao-spring-boot-starter-excel/pom.xml
| @@ -21,11 +21,17 @@ | @@ -21,11 +21,17 @@ | ||
| 21 | <artifactId>yudao-common</artifactId> | 21 | <artifactId>yudao-common</artifactId> |
| 22 | </dependency> | 22 | </dependency> |
| 23 | 23 | ||
| 24 | + <!-- Spring 核心 --> | ||
| 25 | + <dependency> | ||
| 26 | + <groupId>org.springframework.boot</groupId> | ||
| 27 | + <artifactId>spring-boot-starter</artifactId> | ||
| 28 | + </dependency> | ||
| 29 | + | ||
| 24 | <!-- 业务组件 --> | 30 | <!-- 业务组件 --> |
| 25 | <dependency> | 31 | <dependency> |
| 26 | <groupId>cn.iocoder.boot</groupId> | 32 | <groupId>cn.iocoder.boot</groupId> |
| 27 | - <artifactId>yudao-spring-boot-starter-biz-dict</artifactId> | ||
| 28 | - <optional>true</optional> <!-- 如果希望使用 @DictFormat 注解,需要引入该依赖 --> | 33 | + <artifactId>yudao-module-system-api</artifactId> <!-- 需要使用它,进行 Dict 的查询 --> |
| 34 | + <version>${revision}</version> | ||
| 29 | </dependency> | 35 | </dependency> |
| 30 | 36 | ||
| 31 | <!-- Web 相关 --> | 37 | <!-- Web 相关 --> |
| @@ -46,11 +52,24 @@ | @@ -46,11 +52,24 @@ | ||
| 46 | <groupId>com.alibaba</groupId> | 52 | <groupId>com.alibaba</groupId> |
| 47 | <artifactId>easyexcel</artifactId> | 53 | <artifactId>easyexcel</artifactId> |
| 48 | </dependency> | 54 | </dependency> |
| 55 | + | ||
| 56 | + <dependency> | ||
| 57 | + <groupId>com.google.guava</groupId> | ||
| 58 | + <artifactId>guava</artifactId> | ||
| 59 | + </dependency> | ||
| 60 | + | ||
| 49 | <dependency> | 61 | <dependency> |
| 50 | <groupId>cn.iocoder.boot</groupId> | 62 | <groupId>cn.iocoder.boot</groupId> |
| 51 | <artifactId>yudao-spring-boot-starter-biz-ip</artifactId> | 63 | <artifactId>yudao-spring-boot-starter-biz-ip</artifactId> |
| 52 | <optional>true</optional> <!-- 设置为 optional,只有在 AreaConvert 的时候使用 --> | 64 | <optional>true</optional> <!-- 设置为 optional,只有在 AreaConvert 的时候使用 --> |
| 53 | </dependency> | 65 | </dependency> |
| 66 | + | ||
| 67 | + <!-- Test 测试相关 --> | ||
| 68 | + <dependency> | ||
| 69 | + <groupId>cn.iocoder.boot</groupId> | ||
| 70 | + <artifactId>yudao-spring-boot-starter-test</artifactId> | ||
| 71 | + <scope>test</scope> | ||
| 72 | + </dependency> | ||
| 54 | </dependencies> | 73 | </dependencies> |
| 55 | 74 | ||
| 56 | </project> | 75 | </project> |
yudao-framework/yudao-spring-boot-starter-biz-dict/src/main/java/cn/iocoder/yudao/framework/dict/config/YudaoDictAutoConfiguration.java renamed to yudao-framework/yudao-spring-boot-starter-excel/src/main/java/cn/iocoder/yudao/framework/dict/config/YudaoDictAutoConfiguration.java
| 1 | package cn.iocoder.yudao.framework.dict.config; | 1 | package cn.iocoder.yudao.framework.dict.config; |
| 2 | 2 | ||
| 3 | -import cn.iocoder.yudao.framework.dict.core.util.DictFrameworkUtils; | 3 | +import cn.iocoder.yudao.framework.dict.util.DictFrameworkUtils; |
| 4 | import cn.iocoder.yudao.module.system.api.dict.DictDataApi; | 4 | import cn.iocoder.yudao.module.system.api.dict.DictDataApi; |
| 5 | import org.springframework.boot.autoconfigure.AutoConfiguration; | 5 | import org.springframework.boot.autoconfigure.AutoConfiguration; |
| 6 | import org.springframework.context.annotation.Bean; | 6 | import org.springframework.context.annotation.Bean; |
yudao-framework/yudao-spring-boot-starter-biz-dict/src/main/java/cn/iocoder/yudao/framework/dict/package-info.java renamed to yudao-framework/yudao-spring-boot-starter-excel/src/main/java/cn/iocoder/yudao/framework/dict/package-info.java
yudao-framework/yudao-spring-boot-starter-biz-dict/src/main/java/cn/iocoder/yudao/framework/dict/core/util/DictFrameworkUtils.java renamed to yudao-framework/yudao-spring-boot-starter-excel/src/main/java/cn/iocoder/yudao/framework/dict/util/DictFrameworkUtils.java
| 1 | -package cn.iocoder.yudao.framework.dict.core.util; | 1 | +package cn.iocoder.yudao.framework.dict.util; |
| 2 | 2 | ||
| 3 | import cn.hutool.core.util.ObjectUtil; | 3 | import cn.hutool.core.util.ObjectUtil; |
| 4 | import cn.iocoder.yudao.framework.common.core.KeyValue; | 4 | import cn.iocoder.yudao.framework.common.core.KeyValue; |
yudao-framework/yudao-spring-boot-starter-excel/src/main/java/cn/iocoder/yudao/framework/excel/core/convert/DictConvert.java
| 1 | package cn.iocoder.yudao.framework.excel.core.convert; | 1 | package cn.iocoder.yudao.framework.excel.core.convert; |
| 2 | 2 | ||
| 3 | import cn.hutool.core.convert.Convert; | 3 | import cn.hutool.core.convert.Convert; |
| 4 | -import cn.iocoder.yudao.framework.dict.core.util.DictFrameworkUtils; | 4 | +import cn.iocoder.yudao.framework.dict.util.DictFrameworkUtils; |
| 5 | import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat; | 5 | import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat; |
| 6 | import com.alibaba.excel.converters.Converter; | 6 | import com.alibaba.excel.converters.Converter; |
| 7 | import com.alibaba.excel.enums.CellDataTypeEnum; | 7 | import com.alibaba.excel.enums.CellDataTypeEnum; |
yudao-framework/yudao-spring-boot-starter-biz-dict/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports renamed to yudao-framework/yudao-spring-boot-starter-excel/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports
yudao-framework/yudao-spring-boot-starter-biz-dict/src/test/java/cn/iocoder/yudao/framework/dict/core/util/DictFrameworkUtilsTest.java renamed to yudao-framework/yudao-spring-boot-starter-excel/src/test/java/cn/iocoder/yudao/framework/dict/core/util/DictFrameworkUtilsTest.java
| 1 | package cn.iocoder.yudao.framework.dict.core.util; | 1 | package cn.iocoder.yudao.framework.dict.core.util; |
| 2 | 2 | ||
| 3 | import cn.iocoder.yudao.framework.common.enums.CommonStatusEnum; | 3 | import cn.iocoder.yudao.framework.common.enums.CommonStatusEnum; |
| 4 | +import cn.iocoder.yudao.framework.dict.util.DictFrameworkUtils; | ||
| 4 | import cn.iocoder.yudao.framework.test.core.ut.BaseMockitoUnitTest; | 5 | import cn.iocoder.yudao.framework.test.core.ut.BaseMockitoUnitTest; |
| 5 | import cn.iocoder.yudao.module.system.api.dict.DictDataApi; | 6 | import cn.iocoder.yudao.module.system.api.dict.DictDataApi; |
| 6 | import cn.iocoder.yudao.module.system.api.dict.dto.DictDataRespDTO; | 7 | import cn.iocoder.yudao.module.system.api.dict.dto.DictDataRespDTO; |
| @@ -31,6 +32,7 @@ public class DictFrameworkUtilsTest extends BaseMockitoUnitTest { | @@ -31,6 +32,7 @@ public class DictFrameworkUtilsTest extends BaseMockitoUnitTest { | ||
| 31 | DictDataRespDTO dataRespDTO = randomPojo(DictDataRespDTO.class, o -> o.setStatus(CommonStatusEnum.ENABLE.getStatus())); | 32 | DictDataRespDTO dataRespDTO = randomPojo(DictDataRespDTO.class, o -> o.setStatus(CommonStatusEnum.ENABLE.getStatus())); |
| 32 | // mock 方法 | 33 | // mock 方法 |
| 33 | when(dictDataApi.getDictData(dataRespDTO.getDictType(), dataRespDTO.getValue())).thenReturn(dataRespDTO); | 34 | when(dictDataApi.getDictData(dataRespDTO.getDictType(), dataRespDTO.getValue())).thenReturn(dataRespDTO); |
| 35 | + | ||
| 34 | // 断言返回值 | 36 | // 断言返回值 |
| 35 | assertEquals(dataRespDTO.getLabel(), DictFrameworkUtils.getDictDataLabel(dataRespDTO.getDictType(), dataRespDTO.getValue())); | 37 | assertEquals(dataRespDTO.getLabel(), DictFrameworkUtils.getDictDataLabel(dataRespDTO.getDictType(), dataRespDTO.getValue())); |
| 36 | } | 38 | } |
| @@ -41,6 +43,7 @@ public class DictFrameworkUtilsTest extends BaseMockitoUnitTest { | @@ -41,6 +43,7 @@ public class DictFrameworkUtilsTest extends BaseMockitoUnitTest { | ||
| 41 | DictDataRespDTO resp = randomPojo(DictDataRespDTO.class, o -> o.setStatus(CommonStatusEnum.ENABLE.getStatus())); | 43 | DictDataRespDTO resp = randomPojo(DictDataRespDTO.class, o -> o.setStatus(CommonStatusEnum.ENABLE.getStatus())); |
| 42 | // mock 方法 | 44 | // mock 方法 |
| 43 | when(dictDataApi.parseDictData(resp.getDictType(), resp.getLabel())).thenReturn(resp); | 45 | when(dictDataApi.parseDictData(resp.getDictType(), resp.getLabel())).thenReturn(resp); |
| 46 | + | ||
| 44 | // 断言返回值 | 47 | // 断言返回值 |
| 45 | assertEquals(resp.getValue(), DictFrameworkUtils.parseDictDataValue(resp.getDictType(), resp.getLabel())); | 48 | assertEquals(resp.getValue(), DictFrameworkUtils.parseDictDataValue(resp.getDictType(), resp.getLabel())); |
| 46 | } | 49 | } |
yudao-module-crm/yudao-module-crm-biz/pom.xml
| @@ -69,10 +69,6 @@ | @@ -69,10 +69,6 @@ | ||
| 69 | <groupId>cn.iocoder.boot</groupId> | 69 | <groupId>cn.iocoder.boot</groupId> |
| 70 | <artifactId>yudao-spring-boot-starter-excel</artifactId> | 70 | <artifactId>yudao-spring-boot-starter-excel</artifactId> |
| 71 | </dependency> | 71 | </dependency> |
| 72 | - <dependency> | ||
| 73 | - <groupId>cn.iocoder.boot</groupId> | ||
| 74 | - <artifactId>yudao-spring-boot-starter-biz-dict</artifactId> | ||
| 75 | - </dependency> | ||
| 76 | 72 | ||
| 77 | <!-- Test 测试相关 --> | 73 | <!-- Test 测试相关 --> |
| 78 | <dependency> | 74 | <dependency> |
yudao-module-crm/yudao-module-crm-biz/src/main/java/cn/iocoder/yudao/module/crm/framework/operatelog/core/CrmCustomerIndustryParseFunction.java
| 1 | package cn.iocoder.yudao.module.crm.framework.operatelog.core; | 1 | package cn.iocoder.yudao.module.crm.framework.operatelog.core; |
| 2 | 2 | ||
| 3 | import cn.hutool.core.util.StrUtil; | 3 | import cn.hutool.core.util.StrUtil; |
| 4 | -import cn.iocoder.yudao.framework.dict.core.util.DictFrameworkUtils; | 4 | +import cn.iocoder.yudao.framework.dict.util.DictFrameworkUtils; |
| 5 | import com.mzt.logapi.service.IParseFunction; | 5 | import com.mzt.logapi.service.IParseFunction; |
| 6 | import lombok.extern.slf4j.Slf4j; | 6 | import lombok.extern.slf4j.Slf4j; |
| 7 | import org.springframework.stereotype.Component; | 7 | import org.springframework.stereotype.Component; |
yudao-module-crm/yudao-module-crm-biz/src/main/java/cn/iocoder/yudao/module/crm/framework/operatelog/core/CrmCustomerLevelParseFunction.java
| 1 | package cn.iocoder.yudao.module.crm.framework.operatelog.core; | 1 | package cn.iocoder.yudao.module.crm.framework.operatelog.core; |
| 2 | 2 | ||
| 3 | import cn.hutool.core.util.StrUtil; | 3 | import cn.hutool.core.util.StrUtil; |
| 4 | -import cn.iocoder.yudao.framework.dict.core.util.DictFrameworkUtils; | 4 | +import cn.iocoder.yudao.framework.dict.util.DictFrameworkUtils; |
| 5 | import com.mzt.logapi.service.IParseFunction; | 5 | import com.mzt.logapi.service.IParseFunction; |
| 6 | import lombok.extern.slf4j.Slf4j; | 6 | import lombok.extern.slf4j.Slf4j; |
| 7 | import org.springframework.stereotype.Component; | 7 | import org.springframework.stereotype.Component; |
yudao-module-crm/yudao-module-crm-biz/src/main/java/cn/iocoder/yudao/module/crm/framework/operatelog/core/CrmCustomerSourceParseFunction.java
| 1 | package cn.iocoder.yudao.module.crm.framework.operatelog.core; | 1 | package cn.iocoder.yudao.module.crm.framework.operatelog.core; |
| 2 | 2 | ||
| 3 | import cn.hutool.core.util.StrUtil; | 3 | import cn.hutool.core.util.StrUtil; |
| 4 | -import cn.iocoder.yudao.framework.dict.core.util.DictFrameworkUtils; | 4 | +import cn.iocoder.yudao.framework.dict.util.DictFrameworkUtils; |
| 5 | import com.mzt.logapi.service.IParseFunction; | 5 | import com.mzt.logapi.service.IParseFunction; |
| 6 | import lombok.extern.slf4j.Slf4j; | 6 | import lombok.extern.slf4j.Slf4j; |
| 7 | import org.springframework.stereotype.Component; | 7 | import org.springframework.stereotype.Component; |
yudao-module-crm/yudao-module-crm-biz/src/main/java/cn/iocoder/yudao/module/crm/framework/operatelog/core/CrmProductStatusParseFunction.java
| 1 | package cn.iocoder.yudao.module.crm.framework.operatelog.core; | 1 | package cn.iocoder.yudao.module.crm.framework.operatelog.core; |
| 2 | 2 | ||
| 3 | import cn.hutool.core.util.StrUtil; | 3 | import cn.hutool.core.util.StrUtil; |
| 4 | -import cn.iocoder.yudao.framework.dict.core.util.DictFrameworkUtils; | 4 | +import cn.iocoder.yudao.framework.dict.util.DictFrameworkUtils; |
| 5 | import cn.iocoder.yudao.module.crm.enums.DictTypeConstants; | 5 | import cn.iocoder.yudao.module.crm.enums.DictTypeConstants; |
| 6 | import com.mzt.logapi.service.IParseFunction; | 6 | import com.mzt.logapi.service.IParseFunction; |
| 7 | import lombok.extern.slf4j.Slf4j; | 7 | import lombok.extern.slf4j.Slf4j; |
yudao-module-crm/yudao-module-crm-biz/src/main/java/cn/iocoder/yudao/module/crm/framework/operatelog/core/CrmProductUnitParseFunction.java
| 1 | package cn.iocoder.yudao.module.crm.framework.operatelog.core; | 1 | package cn.iocoder.yudao.module.crm.framework.operatelog.core; |
| 2 | 2 | ||
| 3 | import cn.hutool.core.util.StrUtil; | 3 | import cn.hutool.core.util.StrUtil; |
| 4 | -import cn.iocoder.yudao.framework.dict.core.util.DictFrameworkUtils; | 4 | +import cn.iocoder.yudao.framework.dict.util.DictFrameworkUtils; |
| 5 | import cn.iocoder.yudao.module.crm.enums.DictTypeConstants; | 5 | import cn.iocoder.yudao.module.crm.enums.DictTypeConstants; |
| 6 | import com.mzt.logapi.service.IParseFunction; | 6 | import com.mzt.logapi.service.IParseFunction; |
| 7 | import lombok.extern.slf4j.Slf4j; | 7 | import lombok.extern.slf4j.Slf4j; |
yudao-module-crm/yudao-module-crm-biz/src/main/java/cn/iocoder/yudao/module/crm/framework/operatelog/core/CrmReceivableReturnTypeParseFunction.java
| 1 | package cn.iocoder.yudao.module.crm.framework.operatelog.core; | 1 | package cn.iocoder.yudao.module.crm.framework.operatelog.core; |
| 2 | 2 | ||
| 3 | import cn.hutool.core.util.StrUtil; | 3 | import cn.hutool.core.util.StrUtil; |
| 4 | -import cn.iocoder.yudao.framework.dict.core.util.DictFrameworkUtils; | 4 | +import cn.iocoder.yudao.framework.dict.util.DictFrameworkUtils; |
| 5 | import com.mzt.logapi.service.IParseFunction; | 5 | import com.mzt.logapi.service.IParseFunction; |
| 6 | import lombok.extern.slf4j.Slf4j; | 6 | import lombok.extern.slf4j.Slf4j; |
| 7 | import org.springframework.stereotype.Component; | 7 | import org.springframework.stereotype.Component; |
yudao-module-crm/yudao-module-crm-biz/src/main/java/cn/iocoder/yudao/module/crm/framework/operatelog/core/SysBooleanParseFunction.java
| 1 | package cn.iocoder.yudao.module.crm.framework.operatelog.core; | 1 | package cn.iocoder.yudao.module.crm.framework.operatelog.core; |
| 2 | 2 | ||
| 3 | import cn.hutool.core.util.StrUtil; | 3 | import cn.hutool.core.util.StrUtil; |
| 4 | -import cn.iocoder.yudao.framework.dict.core.util.DictFrameworkUtils; | 4 | +import cn.iocoder.yudao.framework.dict.util.DictFrameworkUtils; |
| 5 | import cn.iocoder.yudao.module.infra.enums.DictTypeConstants; | 5 | import cn.iocoder.yudao.module.infra.enums.DictTypeConstants; |
| 6 | import com.mzt.logapi.service.IParseFunction; | 6 | import com.mzt.logapi.service.IParseFunction; |
| 7 | import lombok.extern.slf4j.Slf4j; | 7 | import lombok.extern.slf4j.Slf4j; |
yudao-module-crm/yudao-module-crm-biz/src/main/java/cn/iocoder/yudao/module/crm/framework/operatelog/core/SysSexParseFunction.java
| 1 | package cn.iocoder.yudao.module.crm.framework.operatelog.core; | 1 | package cn.iocoder.yudao.module.crm.framework.operatelog.core; |
| 2 | 2 | ||
| 3 | import cn.hutool.core.util.StrUtil; | 3 | import cn.hutool.core.util.StrUtil; |
| 4 | -import cn.iocoder.yudao.framework.dict.core.util.DictFrameworkUtils; | 4 | +import cn.iocoder.yudao.framework.dict.util.DictFrameworkUtils; |
| 5 | import cn.iocoder.yudao.module.system.enums.DictTypeConstants; | 5 | import cn.iocoder.yudao.module.system.enums.DictTypeConstants; |
| 6 | import com.mzt.logapi.service.IParseFunction; | 6 | import com.mzt.logapi.service.IParseFunction; |
| 7 | import lombok.extern.slf4j.Slf4j; | 7 | import lombok.extern.slf4j.Slf4j; |
yudao-module-erp/yudao-module-erp-biz/pom.xml
| @@ -61,10 +61,6 @@ | @@ -61,10 +61,6 @@ | ||
| 61 | <groupId>cn.iocoder.boot</groupId> | 61 | <groupId>cn.iocoder.boot</groupId> |
| 62 | <artifactId>yudao-spring-boot-starter-excel</artifactId> | 62 | <artifactId>yudao-spring-boot-starter-excel</artifactId> |
| 63 | </dependency> | 63 | </dependency> |
| 64 | - <dependency> | ||
| 65 | - <groupId>cn.iocoder.boot</groupId> | ||
| 66 | - <artifactId>yudao-spring-boot-starter-biz-dict</artifactId> | ||
| 67 | - </dependency> | ||
| 68 | 64 | ||
| 69 | <!-- Test 测试相关 --> | 65 | <!-- Test 测试相关 --> |
| 70 | <dependency> | 66 | <dependency> |
yudao-module-mall/yudao-module-product-biz/pom.xml
| @@ -34,10 +34,6 @@ | @@ -34,10 +34,6 @@ | ||
| 34 | <groupId>cn.iocoder.boot</groupId> | 34 | <groupId>cn.iocoder.boot</groupId> |
| 35 | <artifactId>yudao-spring-boot-starter-biz-operatelog</artifactId> | 35 | <artifactId>yudao-spring-boot-starter-biz-operatelog</artifactId> |
| 36 | </dependency> | 36 | </dependency> |
| 37 | - <dependency> | ||
| 38 | - <groupId>cn.iocoder.boot</groupId> | ||
| 39 | - <artifactId>yudao-spring-boot-starter-biz-dict</artifactId> | ||
| 40 | - </dependency> | ||
| 41 | 37 | ||
| 42 | <!-- Web 相关 --> | 38 | <!-- Web 相关 --> |
| 43 | <dependency> | 39 | <dependency> |
yudao-module-mall/yudao-module-promotion-biz/pom.xml
| @@ -77,10 +77,6 @@ | @@ -77,10 +77,6 @@ | ||
| 77 | <groupId>cn.iocoder.boot</groupId> | 77 | <groupId>cn.iocoder.boot</groupId> |
| 78 | <artifactId>yudao-spring-boot-starter-excel</artifactId> | 78 | <artifactId>yudao-spring-boot-starter-excel</artifactId> |
| 79 | </dependency> | 79 | </dependency> |
| 80 | - <dependency> | ||
| 81 | - <groupId>cn.iocoder.boot</groupId> | ||
| 82 | - <artifactId>yudao-spring-boot-starter-biz-dict</artifactId> | ||
| 83 | - </dependency> | ||
| 84 | </dependencies> | 80 | </dependencies> |
| 85 | 81 | ||
| 86 | </project> | 82 | </project> |
yudao-module-mall/yudao-module-statistics-biz/pom.xml
| @@ -90,10 +90,6 @@ | @@ -90,10 +90,6 @@ | ||
| 90 | <groupId>cn.iocoder.boot</groupId> | 90 | <groupId>cn.iocoder.boot</groupId> |
| 91 | <artifactId>yudao-spring-boot-starter-excel</artifactId> | 91 | <artifactId>yudao-spring-boot-starter-excel</artifactId> |
| 92 | </dependency> | 92 | </dependency> |
| 93 | - <dependency> | ||
| 94 | - <groupId>cn.iocoder.boot</groupId> | ||
| 95 | - <artifactId>yudao-spring-boot-starter-biz-dict</artifactId> | ||
| 96 | - </dependency> | ||
| 97 | </dependencies> | 93 | </dependencies> |
| 98 | 94 | ||
| 99 | </project> | 95 | </project> |
yudao-module-mall/yudao-module-trade-biz/pom.xml
| @@ -96,11 +96,6 @@ | @@ -96,11 +96,6 @@ | ||
| 96 | <groupId>cn.iocoder.boot</groupId> | 96 | <groupId>cn.iocoder.boot</groupId> |
| 97 | <artifactId>yudao-spring-boot-starter-excel</artifactId> | 97 | <artifactId>yudao-spring-boot-starter-excel</artifactId> |
| 98 | </dependency> | 98 | </dependency> |
| 99 | - <dependency> | ||
| 100 | - <groupId>cn.iocoder.boot</groupId> | ||
| 101 | - <artifactId>yudao-spring-boot-starter-biz-dict</artifactId> | ||
| 102 | - </dependency> | ||
| 103 | - | ||
| 104 | </dependencies> | 99 | </dependencies> |
| 105 | 100 | ||
| 106 | </project> | 101 | </project> |
yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/convert/brokerage/BrokerageWithdrawConvert.java
| 1 | package cn.iocoder.yudao.module.trade.convert.brokerage; | 1 | package cn.iocoder.yudao.module.trade.convert.brokerage; |
| 2 | 2 | ||
| 3 | import cn.iocoder.yudao.framework.common.pojo.PageResult; | 3 | import cn.iocoder.yudao.framework.common.pojo.PageResult; |
| 4 | -import cn.iocoder.yudao.framework.dict.core.util.DictFrameworkUtils; | 4 | +import cn.iocoder.yudao.framework.dict.util.DictFrameworkUtils; |
| 5 | import cn.iocoder.yudao.module.member.api.user.dto.MemberUserRespDTO; | 5 | import cn.iocoder.yudao.module.member.api.user.dto.MemberUserRespDTO; |
| 6 | import cn.iocoder.yudao.module.trade.controller.admin.brokerage.vo.withdraw.BrokerageWithdrawPageReqVO; | 6 | import cn.iocoder.yudao.module.trade.controller.admin.brokerage.vo.withdraw.BrokerageWithdrawPageReqVO; |
| 7 | import cn.iocoder.yudao.module.trade.controller.admin.brokerage.vo.withdraw.BrokerageWithdrawRespVO; | 7 | import cn.iocoder.yudao.module.trade.controller.admin.brokerage.vo.withdraw.BrokerageWithdrawRespVO; |
yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/convert/order/TradeOrderConvert.java
| @@ -5,7 +5,7 @@ import cn.hutool.core.util.StrUtil; | @@ -5,7 +5,7 @@ import cn.hutool.core.util.StrUtil; | ||
| 5 | import cn.iocoder.yudao.framework.common.pojo.PageResult; | 5 | import cn.iocoder.yudao.framework.common.pojo.PageResult; |
| 6 | import cn.iocoder.yudao.framework.common.util.collection.CollectionUtils; | 6 | import cn.iocoder.yudao.framework.common.util.collection.CollectionUtils; |
| 7 | import cn.iocoder.yudao.framework.common.util.string.StrUtils; | 7 | import cn.iocoder.yudao.framework.common.util.string.StrUtils; |
| 8 | -import cn.iocoder.yudao.framework.dict.core.util.DictFrameworkUtils; | 8 | +import cn.iocoder.yudao.framework.dict.util.DictFrameworkUtils; |
| 9 | import cn.iocoder.yudao.framework.ip.core.utils.AreaUtils; | 9 | import cn.iocoder.yudao.framework.ip.core.utils.AreaUtils; |
| 10 | import cn.iocoder.yudao.module.member.api.address.dto.MemberAddressRespDTO; | 10 | import cn.iocoder.yudao.module.member.api.address.dto.MemberAddressRespDTO; |
| 11 | import cn.iocoder.yudao.module.member.api.user.dto.MemberUserRespDTO; | 11 | import cn.iocoder.yudao.module.member.api.user.dto.MemberUserRespDTO; |
yudao-module-pay/yudao-module-pay-biz/pom.xml
| @@ -79,11 +79,6 @@ | @@ -79,11 +79,6 @@ | ||
| 79 | <groupId>cn.iocoder.boot</groupId> | 79 | <groupId>cn.iocoder.boot</groupId> |
| 80 | <artifactId>yudao-spring-boot-starter-excel</artifactId> | 80 | <artifactId>yudao-spring-boot-starter-excel</artifactId> |
| 81 | </dependency> | 81 | </dependency> |
| 82 | - <dependency> | ||
| 83 | - <groupId>cn.iocoder.boot</groupId> | ||
| 84 | - <artifactId>yudao-spring-boot-starter-biz-dict</artifactId> | ||
| 85 | - </dependency> | ||
| 86 | - | ||
| 87 | </dependencies> | 82 | </dependencies> |
| 88 | 83 | ||
| 89 | </project> | 84 | </project> |
yudao-module-pay/yudao-module-pay-biz/src/main/java/cn/iocoder/yudao/module/pay/convert/wallet/PayWalletRechargeConvert.java
| 1 | package cn.iocoder.yudao.module.pay.convert.wallet; | 1 | package cn.iocoder.yudao.module.pay.convert.wallet; |
| 2 | 2 | ||
| 3 | -import cn.hutool.core.collection.CollUtil; | ||
| 4 | import cn.iocoder.yudao.framework.common.pojo.PageResult; | 3 | import cn.iocoder.yudao.framework.common.pojo.PageResult; |
| 5 | import cn.iocoder.yudao.framework.common.util.collection.CollectionUtils; | 4 | import cn.iocoder.yudao.framework.common.util.collection.CollectionUtils; |
| 6 | import cn.iocoder.yudao.framework.common.util.collection.MapUtils; | 5 | import cn.iocoder.yudao.framework.common.util.collection.MapUtils; |
| 7 | import cn.iocoder.yudao.framework.common.util.object.BeanUtils; | 6 | import cn.iocoder.yudao.framework.common.util.object.BeanUtils; |
| 8 | -import cn.iocoder.yudao.framework.dict.core.util.DictFrameworkUtils; | 7 | +import cn.iocoder.yudao.framework.dict.util.DictFrameworkUtils; |
| 9 | import cn.iocoder.yudao.module.pay.controller.app.wallet.vo.recharge.AppPayWalletRechargeCreateRespVO; | 8 | import cn.iocoder.yudao.module.pay.controller.app.wallet.vo.recharge.AppPayWalletRechargeCreateRespVO; |
| 10 | import cn.iocoder.yudao.module.pay.controller.app.wallet.vo.recharge.AppPayWalletRechargeRespVO; | 9 | import cn.iocoder.yudao.module.pay.controller.app.wallet.vo.recharge.AppPayWalletRechargeRespVO; |
| 11 | import cn.iocoder.yudao.module.pay.dal.dataobject.order.PayOrderDO; | 10 | import cn.iocoder.yudao.module.pay.dal.dataobject.order.PayOrderDO; |
yudao-module-system/yudao-module-system-biz/pom.xml
| @@ -36,10 +36,6 @@ | @@ -36,10 +36,6 @@ | ||
| 36 | </dependency> | 36 | </dependency> |
| 37 | <dependency> | 37 | <dependency> |
| 38 | <groupId>cn.iocoder.boot</groupId> | 38 | <groupId>cn.iocoder.boot</groupId> |
| 39 | - <artifactId>yudao-spring-boot-starter-biz-dict</artifactId> | ||
| 40 | - </dependency> | ||
| 41 | - <dependency> | ||
| 42 | - <groupId>cn.iocoder.boot</groupId> | ||
| 43 | <artifactId>yudao-spring-boot-starter-biz-data-permission</artifactId> | 39 | <artifactId>yudao-spring-boot-starter-biz-data-permission</artifactId> |
| 44 | </dependency> | 40 | </dependency> |
| 45 | <dependency> | 41 | <dependency> |
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/framework/operatelog/core/BooleanParseFunction.java
| 1 | package cn.iocoder.yudao.module.system.framework.operatelog.core; | 1 | package cn.iocoder.yudao.module.system.framework.operatelog.core; |
| 2 | 2 | ||
| 3 | import cn.hutool.core.util.StrUtil; | 3 | import cn.hutool.core.util.StrUtil; |
| 4 | -import cn.iocoder.yudao.framework.dict.core.util.DictFrameworkUtils; | 4 | +import cn.iocoder.yudao.framework.dict.util.DictFrameworkUtils; |
| 5 | import cn.iocoder.yudao.module.infra.enums.DictTypeConstants; | 5 | import cn.iocoder.yudao.module.infra.enums.DictTypeConstants; |
| 6 | import com.mzt.logapi.service.IParseFunction; | 6 | import com.mzt.logapi.service.IParseFunction; |
| 7 | import lombok.extern.slf4j.Slf4j; | 7 | import lombok.extern.slf4j.Slf4j; |
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/framework/operatelog/core/SexParseFunction.java
| 1 | package cn.iocoder.yudao.module.system.framework.operatelog.core; | 1 | package cn.iocoder.yudao.module.system.framework.operatelog.core; |
| 2 | 2 | ||
| 3 | import cn.hutool.core.util.StrUtil; | 3 | import cn.hutool.core.util.StrUtil; |
| 4 | -import cn.iocoder.yudao.framework.dict.core.util.DictFrameworkUtils; | 4 | +import cn.iocoder.yudao.framework.dict.util.DictFrameworkUtils; |
| 5 | import cn.iocoder.yudao.module.system.enums.DictTypeConstants; | 5 | import cn.iocoder.yudao.module.system.enums.DictTypeConstants; |
| 6 | import com.mzt.logapi.service.IParseFunction; | 6 | import com.mzt.logapi.service.IParseFunction; |
| 7 | import lombok.extern.slf4j.Slf4j; | 7 | import lombok.extern.slf4j.Slf4j; |