Commit 601ac13a by 丁伟峰

Merge branch 'feature-dingwf-0715' into develop

2 parents f7427bee 528a3fe4
......@@ -6,5 +6,5 @@ import org.springframework.data.jpa.repository.JpaRepository;
import java.util.List;
public interface SkillInfoDao extends JpaRepository<SkillInfoEntity, Long> {
List<SkillInfoEntity> getAll();
List<SkillInfoEntity> findAll();
}
......@@ -51,7 +51,7 @@ public class PublicServiceImpl implements PublicService {
@Override
public Result<?> getSkillTree() {
List<PublicSkillTreeDTO.Content> contents = skillInfoDao.getAll().stream().map(entity -> {
List<PublicSkillTreeDTO.Content> contents = skillInfoDao.findAll().stream().map(entity -> {
return new PublicSkillTreeDTO.Content()
.setBrand(entity.getBrand())
.setType(entity.getType())
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!