use of com.itrus.portal.db.ServiceNameExample in project portal by ixinportal.
the class TakeServiceNameServiceImpl method selectListByCertificationChargingId.
public List<ServiceName> selectListByCertificationChargingId(Long CertificationChargingId) {
List<ServiceName> list = new ArrayList<ServiceName>();
ServiceNameExample serviceNameExample = new ServiceNameExample();
ServiceNameExample.Criteria criteria = serviceNameExample.or();
criteria.andCertificationChargingEqualTo(CertificationChargingId);
criteria.andIsValidityEqualTo(true);
list = sqlSession.selectList("com.itrus.portal.db.ServiceNameMapper.selectByExample", serviceNameExample);
return list;
}
use of com.itrus.portal.db.ServiceNameExample in project portal by ixinportal.
the class StoreServiceNameServiceImpl method selectListByCertificationCharging.
/**
* 取出所有属于该计费规则的服务名称
*
* @param certificationCharging
* @return
*/
public List<ServiceName> selectListByCertificationCharging(CertificationCharging certificationChargings) {
List<ServiceName> list = new ArrayList<ServiceName>();
ServiceNameExample serviceNameExample = new ServiceNameExample();
ServiceNameExample.Criteria criteria = serviceNameExample.or();
criteria.andCertificationChargingEqualTo(certificationChargings.getId());
list = sqlSession.selectList("com.itrus.portal.db.ServiceNameMapper.selectByExample", serviceNameExample);
return list;
}
use of com.itrus.portal.db.ServiceNameExample in project portal by ixinportal.
the class ServiceNameServiceImpl method selectListByCertificationChargingId.
public List<ServiceName> selectListByCertificationChargingId(Long CertificationChargingId) {
List<ServiceName> list = new ArrayList<ServiceName>();
ServiceNameExample serviceNameExample = new ServiceNameExample();
ServiceNameExample.Criteria criteria = serviceNameExample.or();
criteria.andCertificationChargingEqualTo(CertificationChargingId);
criteria.andIsValidityEqualTo(true);
list = sqlSession.selectList("com.itrus.portal.db.ServiceNameMapper.selectByExample", serviceNameExample);
return list;
}
use of com.itrus.portal.db.ServiceNameExample in project portal by ixinportal.
the class ServiceNameServiceImpl method selectListByCertificationCharging.
/**
* 取出所有属于该计费规则的服务名称
*
* @param certificationCharging
* @return
*/
public List<ServiceName> selectListByCertificationCharging(CertificationCharging certificationChargings) {
List<ServiceName> list = new ArrayList<ServiceName>();
ServiceNameExample serviceNameExample = new ServiceNameExample();
ServiceNameExample.Criteria criteria = serviceNameExample.or();
criteria.andCertificationChargingEqualTo(certificationChargings.getId());
list = sqlSession.selectList("com.itrus.portal.db.ServiceNameMapper.selectByExample", serviceNameExample);
return list;
}
use of com.itrus.portal.db.ServiceNameExample in project portal by ixinportal.
the class ServiceNameServiceImpl method selectListByCertificationChargings.
/**
* 取出所有属于该计费规则的服务名称
*
* @param certificationCharging
* @return
*/
public List<ServiceName> selectListByCertificationChargings(List<CertificationCharging> certificationChargings) {
List<Long> ccIdList = new ArrayList<Long>();
for (int i = 0; i < certificationChargings.size(); i++) {
ccIdList.add(certificationChargings.get(i).getId());
}
List<ServiceName> list = new ArrayList<ServiceName>();
ServiceNameExample serviceNameExample = new ServiceNameExample();
ServiceNameExample.Criteria criteria = serviceNameExample.or();
criteria.andCertificationChargingIn(ccIdList);
list = sqlSession.selectList("com.itrus.portal.db.ServiceNameMapper.selectByExample", serviceNameExample);
return list;
}
Aggregations