use of com.itrus.portal.db.EvidenceCertUserExample in project portal by ixinportal.
the class EvidenceCertUserService method getCertBySn.
// 通过 序列号 得到对应证书
public EvidenceCertUser getCertBySn(String certSn) {
EvidenceCertUserExample certUserExample = new EvidenceCertUserExample();
EvidenceCertUserExample.Criteria criteria = certUserExample.createCriteria();
criteria.andCertSerialnumberEqualTo(certSn);
List<EvidenceCertUser> certUsers = sqlSession.selectList("com.itrus.portal.db.EvidenceCertUserMapper.selectByExample", certUserExample);
if (certUsers != null && !certUsers.isEmpty()) {
return certUsers.get(0);
}
return null;
}
Aggregations