This commit is contained in:
ray
2024-08-27 07:58:28 +08:00
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
<div align="center">
<img alt="logo" width="100" height="80" src="https://foruda.gitee.com/images/1723523431330022522/d29e7354_716974.png">
<img alt="logo" width="100" height="100" src="https://foruda.gitee.com/images/1724259461244885014/4de96569_716974.png">
<h2>youlai-boot</h2>
<img alt="有来技术" src="https://img.shields.io/badge/Java -17-brightgreen.svg"/>
<img alt="有来技术" src="https://img.shields.io/badge/SpringBoot-3.3.0-green.svg"/>

View File

@@ -31,7 +31,7 @@ public interface DictItemConverter {
List<DictForm.DictItem> toDictItem(List<SysDictItem> entities);
@Mappings({
@Mapping(target = "value", source = "id"),
@Mapping(target = "value", source = "value"),
@Mapping(target = "label", source = "name")
})
Option<Long> toOption(SysDictItem dictItem);