@Service @Scope(proxyMode=TARGET_CLASS) public class DatadictService extends BaseService<DataDict>
| 构造器和说明 |
|---|
DatadictService() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
add(DataDict model) |
void |
addRefreshJob() |
void |
delete(DataDict model) |
void |
delete(int id) |
protected DataDict |
fillOtherFields(DataDict model) |
DatadictDao |
getDao() |
void |
init() |
Pagination<DataDict> |
list(int pageNo,
int pageSize,
DataDict model,
String sort) |
void |
refreshCache() |
void |
update(DataDict model) |
void |
updateShowable(Integer id,
boolean showable) |
actionLogEnable, beforeUpdate, fillOtherFields, get, getByCode, getByCodeList@PostConstruct public void init()
public DatadictDao getDao()
getDao 在类中 BaseService<DataDict>public Pagination<DataDict> list(int pageNo, int pageSize, DataDict model, String sort)
list 在类中 BaseService<DataDict>pageNo - starts from 1sort - default is ID DESC for empty sortpublic void delete(DataDict model)
delete 在类中 BaseService<DataDict>public void delete(int id)
delete 在类中 BaseService<DataDict>public void add(DataDict model)
add 在类中 BaseService<DataDict>public void update(DataDict model)
update 在类中 BaseService<DataDict>public void updateShowable(Integer id, boolean showable)
protected DataDict fillOtherFields(DataDict model)
fillOtherFields 在类中 BaseService<DataDict>model - 注意判断nullpublic void refreshCache()
public void addRefreshJob()
Copyright © 2022. All rights reserved.