说明 自定义一个类继承TagHelper,注意自定义类的 必须以TagHelper结尾,这个有点类是属性 Attribute的写法 protected TagHelper(); // // 摘要: // When a set of Microsoft.AspNetCore.Razor.TagHelpers.ITagHelpers are executed, // their Microsoft.AspNetCore.Razor.TagHelpers.TagHelper.Init(Microsof
public Page<Recorded> getRecordeds(Integer page, Integer size, Recorded recorded) { if (page<1){ page=1; } Sort sort = new Sort(Sort.Direction.DESC,"createTime"); Pageable pageable = new PageRequest(page-1,size,sort); Query query = new