use of com.itrus.portal.db.ReceiptExample in project portal by ixinportal.
the class ReceiptServiceImpl method getReceiptMap.
/**
* 根据开票服务id集合查询 开发服务Map
*
* @param receiptIds
* @return
*/
public Map<Long, Receipt> getReceiptMap(Long[] receiptIds) {
Map<Long, Receipt> receiptMap = new HashMap<Long, Receipt>();
if (null != receiptIds) {
ReceiptExample example = new ReceiptExample();
ReceiptExample.Criteria criteria = example.or();
criteria.andIdIn(Arrays.asList(receiptIds));
receiptMap = sqlSession.selectMap("com.itrus.portal.db.ReceiptMapper.selectByExample", example, "id");
}
return receiptMap;
}
Aggregations