use of com.itrus.portal.db.EvidenceSaveService in project portal by ixinportal.
the class SaveServiceImpl method selectById.
/**
* 得到对应id的数据 (有缓存)
* @param id
* @return
*/
public EvidenceSaveService selectById(Long id) {
EvidenceSaveService evidenceSaveService = null;
evidenceSaveService = CacheCustomer.getEVIDENCE_SAVE_SERVICE_MAP().get(id);
if (evidenceSaveService == null) {
evidenceSaveService = sqlSession.selectOne("com.itrus.portal.db.EvidenceSaveServiceMapper.selectByPrimaryKey", id);
}
return evidenceSaveService;
}
Aggregations