public abstract class ModelUpdateWrapper<M extends Model,R extends Function<M,?>> extends Object implements Serializable
| 构造器和说明 |
|---|
ModelUpdateWrapper() |
protected Model model()
public ModelUpdateWrapper<M,R> eq(R function, Object val)
public ModelUpdateWrapper<M,R> neq(R function, Object val)
public ModelUpdateWrapper<M,R> gt(R function, Object val)
public ModelUpdateWrapper<M,R> gte(R function, Object val)
public ModelUpdateWrapper<M,R> lt(R function, Object val)
public ModelUpdateWrapper<M,R> lte(R function, Object val)
public ModelUpdateWrapper<M,R> in(R function, Object... args)
public ModelUpdateWrapper<M,R> notIn(R function, Object... args)
public ModelUpdateWrapper<M,R> isNull(R function)
public ModelUpdateWrapper<M,R> isNotNull(R function)
public ModelUpdateWrapper<M,R> order(R function, boolean desc)
public ModelUpdateWrapper<M,R> order(R function)
public ModelUpdateWrapper<M,R> limit(int index, int count)
public ModelUpdateWrapper<M,R> limit(int count)
public ModelUpdateWrapper<M,R> page(int page)
public ModelUpdateWrapper<M,R> page(int page, int pageSize)
public ModelUpdateWrapper<M,R> group(String fields)
public ModelUpdateWrapper<M,R> having(String fields)
public ModelUpdateWrapper<M,R> union(String sql)
public ModelUpdateWrapper<M,R> union(String[] sqlArr)
public ModelUpdateWrapper<M,R> distinct(boolean distinct)
public ModelUpdateWrapper<M,R> lock(boolean lock)
public ModelUpdateWrapper<M,R> with(R func)
public M insert()
public int delete()
public M update()
public M find()
public Pagination<M> pagination(int page, int pageSize)
public Pagination<M> pagination()
Copyright © 2023. All rights reserved.