类 SysRecordListDirective

所有已实现的接口:
Directive, HttpDirective, freemarker.template.TemplateDirectiveModel, freemarker.template.TemplateModel

@Component public class SysRecordListDirective extends AbstractTemplateDirective
sysRecordList 自定义记录列表查询指令

参数列表

parameter list

パラメータリスト

  • code:编码
  • startCreateDate:起始创建日期,【2020-01-01 23:59:59】,【2020-01-01】
  • endCreateDate:终止创建日期,高级选项禁用时不能超过现在,【2020-01-01 23:59:59】,【2020-01-01】
  • orderField:排序字段,【updateDate:更新日期】默认创建日期倒序
  • orderType:排序类型,【asc:正序,desc:倒序】,默认为倒序
  • pageIndex:页码
  • pageSize:每页条数

返回结果

return result

戻り値

  • list:List类型 查询结果实体列表 SysRecord

使用示例

usage example

使用例

<@sys.recordList><#list list as a>${a.data}<#sep>,</#list></@sys.recordList>

 <script>
  $.getJSON('${site.dynamicPath}api/directive/sys/recordList?appToken=接口访问授权Token', function(data){
    console.log(data);
  });
  </script>
 
  • 字段详细资料

  • 构造器详细资料

    • SysRecordListDirective

      public SysRecordListDirective()
  • 方法详细资料