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;
}
Aggregations