use of com.itrus.portal.db.MobileApplyConfigManageExample in project portal by ixinportal.
the class MobileCertificateService method selectByMobileApplyConfigId.
// 根据对应的应用配置id得到相对的应用配置
public MobileApplyConfigManage selectByMobileApplyConfigId(Long id) {
MobileApplyConfigManageExample applyConfigManageExample = new MobileApplyConfigManageExample();
MobileApplyConfigManageExample.Criteria criteria = applyConfigManageExample.createCriteria();
criteria.andIdEqualTo(id);
MobileApplyConfigManage configManage = sqlSession.selectOne("com.itrus.portal.db.MobileApplyConfigManageMapper.selectByExample", applyConfigManageExample);
return configManage;
}
use of com.itrus.portal.db.MobileApplyConfigManageExample in project portal by ixinportal.
the class MobileApplyConfigService method selectByappId.
/*
根据应用配置里的appid获得对应的应用配置
*/
public MobileApplyConfigManage selectByappId(String appId) {
MobileApplyConfigManageExample applyConfigManageExample = new MobileApplyConfigManageExample();
MobileApplyConfigManageExample.Criteria criteria = applyConfigManageExample.createCriteria();
if (appId != null) {
criteria.andApIdEqualTo(appId);
MobileApplyConfigManage applyConfigManage = sqlSession.selectOne("com.itrus.portal.db.MobileApplyConfigManageMapper.selectByExample", applyConfigManageExample);
return applyConfigManage;
}
return null;
}
Aggregations