public class BaseProjectModel<M extends com.jfinal.plugin.activerecord.Model<M>> extends BaseModel<M>
| Constructor and Description |
|---|
BaseProjectModel() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
delete() |
boolean |
deleteById(Object id) |
com.jfinal.plugin.activerecord.Page<M> |
paginate(Paginator paginator,
String select,
String sqlExceptSelect,
Object... paras)
重写分页 解决 当前页数 大于 总页数时 的bug
|
boolean |
save()
加入公共日志
|
protected void |
saveLog(String tableName,
Integer primaryId,
String operType) |
boolean |
update() |
clearCache, findByWhere, findByWhereAndColumns, findCache, findFirstByWhere, findFirstByWhereAndColumns, findFirstCache, getAttrs, getAttrValues, getInt, getTable, paginateCache, removeCache_getAttrNames, _getAttrsEntrySet, _getAttrValues, _setAttrs, _setAttrs, clear, dao, deleteById, equals, filter, find, find, find, findByCache, findByCache, findById, findById, findByIdLoadColumns, findByIdLoadColumns, findFirst, findFirst, findFirst, findFirstByCache, findFirstByCache, get, get, getBigDecimal, getBigInteger, getBoolean, getBytes, getConfig, getDate, getDouble, getFloat, getLong, getNumber, getSql, getSql, getSql, getSqlPara, getSqlPara, getSqlPara, getStr, getTime, getTimestamp, hashCode, keep, keep, paginate, paginate, paginate, paginateByCache, paginateByCache, paginateByCache, put, put, put, put, remove, remove, removeNullValueAttrs, set, toJson, toRecord, toString, usepublic boolean save()
public boolean delete()
public boolean deleteById(Object id)
public boolean update()
Copyright © 2018. All rights reserved.