Commit 9e963834 by 丁伟峰

增加了skillCode的返回

1 parent 6dba2edd
......@@ -16,6 +16,7 @@ public class PublicSkillTreeDTO {
@Data
@Accessors(chain = true)
public static class Content {
private String skillCode;
private String brand;
private String skill;
private String type;
......
......@@ -53,6 +53,7 @@ public class PublicServiceImpl implements PublicService {
public Result<?> getSkillTree() {
List<PublicSkillTreeDTO.Content> contents = skillInfoDao.findAll().stream().map(entity -> {
return new PublicSkillTreeDTO.Content()
.setSkillCode(entity.getSkillCode())
.setBrand(entity.getBrand())
.setType(entity.getType())
.setSkill(entity.getSkill());
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!