@@ -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