Merge branch 'master' of https://gitee.com/youlaiorg/youlai-boot
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
<div align="center">
|
<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>
|
<h2>youlai-boot</h2>
|
||||||
<img alt="有来技术" src="https://img.shields.io/badge/Java -17-brightgreen.svg"/>
|
<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"/>
|
<img alt="有来技术" src="https://img.shields.io/badge/SpringBoot-3.3.0-green.svg"/>
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ public interface DictItemConverter {
|
|||||||
List<DictForm.DictItem> toDictItem(List<SysDictItem> entities);
|
List<DictForm.DictItem> toDictItem(List<SysDictItem> entities);
|
||||||
|
|
||||||
@Mappings({
|
@Mappings({
|
||||||
@Mapping(target = "value", source = "id"),
|
@Mapping(target = "value", source = "value"),
|
||||||
@Mapping(target = "label", source = "name")
|
@Mapping(target = "label", source = "name")
|
||||||
})
|
})
|
||||||
Option<Long> toOption(SysDictItem dictItem);
|
Option<Long> toOption(SysDictItem dictItem);
|
||||||
|
|||||||
Reference in New Issue
Block a user