Search in sources :

Example 16 with AppServiceExample

use of com.itrus.portal.db.AppServiceExample in project portal by ixinportal.

the class TakeChargingServiceImpl method getAppServiceByAppServiceId.

/**
 * 根据appServiceId获取AppService
 *
 * @param appServiceId
 * @return
 */
public AppService getAppServiceByAppServiceId(String appServiceId) {
    AppService appService = new AppService();
    AppServiceExample ase = new AppServiceExample();
    AppServiceExample.Criteria criteria = ase.or();
    criteria.andAppServiceIdEqualTo(appServiceId);
    appService = sqlSession.selectOne("com.itrus.portal.db.AppServiceMapper.selectByExample", ase);
    return appService;
}
Also used : AppService(com.itrus.portal.db.AppService) AppServiceExample(com.itrus.portal.db.AppServiceExample)

Example 17 with AppServiceExample

use of com.itrus.portal.db.AppServiceExample in project portal by ixinportal.

the class StoreChargingServiceImpl method getAppServiceByAppServiceId.

/**
 * 根据appServiceId获取AppService
 *
 * @param appServiceId
 * @return
 */
public AppService getAppServiceByAppServiceId(String appServiceId) {
    AppService appService = new AppService();
    AppServiceExample ase = new AppServiceExample();
    AppServiceExample.Criteria criteria = ase.or();
    criteria.andAppServiceIdEqualTo(appServiceId);
    appService = sqlSession.selectOne("com.itrus.portal.db.AppServiceMapper.selectByExample", ase);
    return appService;
}
Also used : AppService(com.itrus.portal.db.AppService) AppServiceExample(com.itrus.portal.db.AppServiceExample)

Aggregations

AppServiceExample (com.itrus.portal.db.AppServiceExample)17 RequestMapping (org.springframework.web.bind.annotation.RequestMapping)13 AppService (com.itrus.portal.db.AppService)10 ResponseBody (org.springframework.web.bind.annotation.ResponseBody)6 ApplicationInfo (com.itrus.portal.db.ApplicationInfo)2 CertificationCharging (com.itrus.portal.db.CertificationCharging)2 ChargingPrice (com.itrus.portal.db.ChargingPrice)2 EvidenceSaveService (com.itrus.portal.db.EvidenceSaveService)2 ServiceName (com.itrus.portal.db.ServiceName)2 CertificationChargingList (com.itrus.portal.entity.CertificationChargingList)2 CertificationChargingWrap (com.itrus.portal.entity.CertificationChargingWrap)2 ChargingPriceList (com.itrus.portal.entity.ChargingPriceList)2 ServiceNameList (com.itrus.portal.entity.ServiceNameList)2 ArrayList (java.util.ArrayList)2 HashMap (java.util.HashMap)1