问题描述
我试图更新我的model.js文件并添加公司街道,但是当我尝试获得此值时我没有得到它,并且还尝试继承js文件并加载街道字段但也没有用它。
@RepositoryRestResource(collectionResourceRel = "someThing",path = "someThing")
@PreAuthorize("hasRole('ROLE_ADMIN') OR hasRole('ROLE_USER')")
public interface SomeThingRepository extends PagingAndSortingRepository<SomeThing,Long> {
@Override
@RestResource
Page<Some> findAll(Pageable pageable);
@Override
@RestResource
Optional<Some> findById(Long aLong);
// All other methods are not exposed
}
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)