Search in sources :

Example 31 with ApplicationInfoExample

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

Aggregations

ApplicationInfoExample (com.itrus.portal.db.ApplicationInfoExample)31 ApplicationInfo (com.itrus.portal.db.ApplicationInfo)25 HashMap (java.util.HashMap)21 RequestMapping (org.springframework.web.bind.annotation.RequestMapping)12 ResponseBody (org.springframework.web.bind.annotation.ResponseBody)12 JSONObject (com.alibaba.fastjson.JSONObject)10 Map (java.util.Map)8 PostMapping (org.springframework.web.bind.annotation.PostMapping)8 Calendar (java.util.Calendar)7 Bill (com.itrus.portal.db.Bill)6 EvidenceBasicInformation (com.itrus.portal.db.EvidenceBasicInformation)6 Date (java.util.Date)6 UserInfoServiceException (com.itrus.portal.exception.UserInfoServiceException)5 ArrayList (java.util.ArrayList)5 JSONException (org.json.JSONException)5 Enterprise (com.itrus.portal.db.Enterprise)4 UserinfoEnterprise (com.itrus.portal.db.UserinfoEnterprise)4 IOException (java.io.IOException)4 List (java.util.List)4 Agent (com.itrus.portal.db.Agent)3