| 程序包 | 说明 |
|---|---|
| cn.ishow.starter.dao |
| 限定符和类型 | 方法和说明 |
|---|---|
Example |
Example.page(long pageNum,
int pageSize)
分页
|
Example |
Example.sort(String column,
boolean asc)
排序
|
| 限定符和类型 | 方法和说明 |
|---|---|
long |
IBaseDao.deleteByExample(Example example)
根据Example条件删除数据
|
List<Entity> |
IBaseDao.findByExample(Example example)
根据Example条件进行查询
|
long |
IBaseDao.updateByExample(Entity entity,
Example example)
根据Example条件更新实体`record`包含的全部属性,null值会被更新
|
long |
IBaseDao.updateByExampleSelective(Entity entity,
Example example)
根据Example条件更新实体`record`包含的不是null的属性值
|
Copyright © 2023. All rights reserved.