Search in sources :

Example 1 with ChargingFailExample

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

the class ChargingFailServiceImpl method geChargingFails.

/**
 * 返回所有未成功计费的实名认证计费记录
 * @return
 */
public List<ChargingFail> geChargingFails() {
    ChargingFailExample chargingFailExample = new ChargingFailExample();
    ChargingFailExample.Criteria criteria = chargingFailExample.or();
    criteria.andIsValidityEqualTo(true);
    // 设置计费类型为实名认证计费
    criteria.andTransInfoTypeEqualTo(1L);
    List<ChargingFail> chargingFails = sqlSession.selectList("com.itrus.portal.db.ChargingFailMapper.selectByExample", chargingFailExample);
    return chargingFails;
}
Also used : ChargingFail(com.itrus.portal.db.ChargingFail) ChargingFailExample(com.itrus.portal.db.ChargingFailExample)

Aggregations

ChargingFail (com.itrus.portal.db.ChargingFail)1 ChargingFailExample (com.itrus.portal.db.ChargingFailExample)1