use of com.itrus.portal.db.EvidenceSaveServiceCopyExample in project portal by ixinportal.
the class SaveServiceImpl method selectByEvidenceSaveServiceCopy.
/**
* 得到对应存证服务的第二条数据
* @param id
* @return
*/
public EvidenceSaveServiceCopy selectByEvidenceSaveServiceCopy(Long id) {
EvidenceSaveServiceCopyExample ece = new EvidenceSaveServiceCopyExample();
EvidenceSaveServiceCopyExample.Criteria ecec = ece.createCriteria();
ecec.andAppServiceEqualTo(id);
List<EvidenceSaveServiceCopy> ecList = sqlSession.selectList("com.itrus.portal.db.EvidenceSaveServiceCopyMapper.selectByExample", ece);
if (ecList == null || ecList.isEmpty()) {
return null;
}
return ecList.get(0);
}
Aggregations