public {{entity.codeName}}SearchContext set{{pascalCasefield.codeName}}{{formitem.valueOP}}({{#if(or(eqformitem.valueOP"IN")(eqformitem.valueOP"ISNULL")(eqformitem.valueOP"ISNOTNULL"))}}String{{else}}{{field.type.java}}{{/if}}{{camelCasefield.codeName}}{{formitem.valueOP}}) {
public {{entity.codeName}}SearchContext set{{pascalCasefield.codeName}}{{formitem.valueOP}}({{#if(or(eqformitem.valueOP"IN")(eqformitem.valueOP"ISNULL")(eqformitem.valueOP"ISNOTNULL"))}}String{{else}}{{field.type.java}}{{/if}}{{camelCasefield.codeName}}{{formitem.valueOP}}) {
return new PageImpl<{{entity.codeName}}>(com.alibaba.fastjson.JSON.parseArray(com.alibaba.fastjson.JSON.toJSONString(pages.getRecords()),{{entity.codeName}}.class), context.getPageable(), pages.getTotal());
}
public List<{{entity.codeName}}> list{{pascalCasecodeName}}({{entity.codeName}}SearchContext context) {
public class {{apiDto.codeName}} extends {{#eqapiDto.apiEntity.entity.psSubSysServiceAPI.serviceType"MIDDLEPLATFORM"}}DTOClient{{else}}DTOBase{{/eq}} implements Serializable {
public class {{apiEntity.codeName}}DTO extends {{#eqapiEntity.entity.psSubSysServiceAPI.serviceType"MIDDLEPLATFORM"}}DTOClient{{else}}DTOBase{{/eq}} implements Serializable {