Search in sources :

Example 1 with EreceiptExample

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

the class EReceiptServiceImpl method getEreceiptMap.

/**
 * 根据开票服务id集合查询 开发服务Map
 *
 * @param ereceiptIds
 * @return
 */
public Map<Long, Ereceipt> getEreceiptMap(Long[] ereceiptIds) {
    Map<Long, Ereceipt> ereceiptMap = new HashMap<Long, Ereceipt>();
    if (null != ereceiptIds) {
        EreceiptExample example = new EreceiptExample();
        EreceiptExample.Criteria criteria = example.or();
        criteria.andIdIn(Arrays.asList(ereceiptIds));
        ereceiptMap = sqlSession.selectMap("com.itrus.portal.db.EreceiptMapper.selectByExample", example, "id");
    }
    return ereceiptMap;
}
Also used : Ereceipt(com.itrus.portal.db.Ereceipt) HashMap(java.util.HashMap) EreceiptExample(com.itrus.portal.db.EreceiptExample)

Aggregations

Ereceipt (com.itrus.portal.db.Ereceipt)1 EreceiptExample (com.itrus.portal.db.EreceiptExample)1 HashMap (java.util.HashMap)1