Search in sources :

Example 1 with MobileApplyConfigManageExample

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;
}
Also used : MobileApplyConfigManageExample(com.itrus.portal.db.MobileApplyConfigManageExample) MobileApplyConfigManage(com.itrus.portal.db.MobileApplyConfigManage)

Example 2 with MobileApplyConfigManageExample

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;
}
Also used : MobileApplyConfigManageExample(com.itrus.portal.db.MobileApplyConfigManageExample) MobileApplyConfigManage(com.itrus.portal.db.MobileApplyConfigManage)

Aggregations

MobileApplyConfigManage (com.itrus.portal.db.MobileApplyConfigManage)2 MobileApplyConfigManageExample (com.itrus.portal.db.MobileApplyConfigManageExample)2