use of com.itrus.portal.db.ApplicationInfoExample in project portal by ixinportal.
the class MobileAppserviceChargingService method getApplicationInfoByAppId.
/**
* 根据appid,获取ApplicationInfo
*
* @param appId
* @return
*/
public ApplicationInfo getApplicationInfoByAppId(String appId) {
ApplicationInfo applicationInfo = new ApplicationInfo();
ApplicationInfoExample aie = new ApplicationInfoExample();
ApplicationInfoExample.Criteria criteria = aie.or();
criteria.andAppIdEqualTo(appId);
applicationInfo = sqlSession.selectOne("com.itrus.portal.db.ApplicationInfoMapper.selectByExample", aie);
return applicationInfo;
}
Aggregations