public Object data(@Param("name") String name,
@Param("simple") String simple,
@Param("iphone") String iphone,
@Param("delFlag") String delFlag,
@Param("length") int length, @Param("start") int start, @Param("draw") int draw,
@Param("::order") List<DataTableOrder> order, @Param("::columns") List<DataTableColumn> columns) {
Cnd cnd = Cnd.NEW();
if (name != null&&!"".equals(name)) {
cnd.and("name", "like", "%"+name+"%");
}
if (simple != null&&!"".equals(simple)) {
cnd.and("simple", "like", "%"+simple+"%");
}
if (iphone != null&&!"".equals(iphone)) {
cnd.and("iphone", "like", "%"+iphone+"%");
}
cnd.and("delFlag","=",false).desc("opAt");
return tCompanyService.data(length, start, draw, order, columns, cnd, "^opName$");
}
7 回复
添加回复
请先登陆