Search in sources :

Example 6 with MobileAppserviceChargingExample

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

the class MobileAppserviceChargingService method selectListByAppId.

/**
 * 根据输入的信息,查找对实名认证计费的List
 *
 * @param appId
 * @param isValidity
 * @param userGe
 * @return
 */
public List<MobileAppserviceCharging> selectListByAppId(Long app, Long userGe) {
    List<MobileAppserviceCharging> list = new ArrayList<MobileAppserviceCharging>();
    MobileAppserviceChargingExample ace = new MobileAppserviceChargingExample();
    MobileAppserviceChargingExample.Criteria criteria = ace.or();
    if (null != app) {
        criteria.andAppEqualTo(app);
    }
    // criteria.andIsValidityEqualTo(isValidity);
    if (null != userGe) {
        criteria.andUserGeEqualTo(userGe);
    }
    list = sqlSession.selectList("com.itrus.portal.db.MobileAppserviceChargingMapper.selectByExample", ace);
    return list;
}
Also used : MobileAppserviceCharging(com.itrus.portal.db.MobileAppserviceCharging) ArrayList(java.util.ArrayList) MobileAppserviceChargingExample(com.itrus.portal.db.MobileAppserviceChargingExample)

Aggregations

MobileAppserviceCharging (com.itrus.portal.db.MobileAppserviceCharging)6 MobileAppserviceChargingExample (com.itrus.portal.db.MobileAppserviceChargingExample)6 ArrayList (java.util.ArrayList)5 Date (java.util.Date)4 MobileAppserviceName (com.itrus.portal.db.MobileAppserviceName)3 ConcurrentHashMap (java.util.concurrent.ConcurrentHashMap)3 MobileChargingPrice (com.itrus.portal.db.MobileChargingPrice)2 List (java.util.List)2 SysConfig (com.itrus.portal.db.SysConfig)1 AppserviceNameList (com.itrus.portal.mobile.entity.AppserviceNameList)1 InetAddress (java.net.InetAddress)1 UnknownHostException (java.net.UnknownHostException)1 Scheduled (org.springframework.scheduling.annotation.Scheduled)1