mirror of https://github.com/elunez/eladmin
修复菜单查询数据重复的问题#112
parent
0859790272
commit
76242d4d67
|
@ -1,18 +0,0 @@
|
|||
package me.zhengjie.modules.system.service.dto;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.sql.Timestamp;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author Zheng Jie
|
||||
* @date 2018-12-17
|
||||
*/
|
||||
@Data
|
||||
public class MenuSmallDTO {
|
||||
|
||||
private Long id;
|
||||
|
||||
private String name;
|
||||
}
|
|
@ -1,17 +0,0 @@
|
|||
package me.zhengjie.modules.system.service.mapper;
|
||||
|
||||
import me.zhengjie.mapper.EntityMapper;
|
||||
import me.zhengjie.modules.system.domain.Menu;
|
||||
import me.zhengjie.modules.system.service.dto.MenuDTO;
|
||||
import me.zhengjie.modules.system.service.dto.MenuSmallDTO;
|
||||
import org.mapstruct.Mapper;
|
||||
import org.mapstruct.ReportingPolicy;
|
||||
|
||||
/**
|
||||
* @author Zheng Jie
|
||||
* @date 2018-12-17
|
||||
*/
|
||||
@Mapper(componentModel = "spring",uses = {},unmappedTargetPolicy = ReportingPolicy.IGNORE)
|
||||
public interface MenuSmallMapper extends EntityMapper<MenuSmallDTO, Menu> {
|
||||
|
||||
}
|
Loading…
Reference in New Issue