use of com.itrus.portal.db.Courier in project portal by ixinportal.
the class CourierServiceImpl method getCourierMap.
/**
* 根据配送服务id集合,查询所有配送服务Map
*
* @param courierIds
* @return
*/
public Map<Long, Courier> getCourierMap(Long[] courierIds) {
Map<Long, Courier> courierMap = new HashMap<Long, Courier>();
if (null != courierIds) {
CourierExample example = new CourierExample();
CourierExample.Criteria criteria = example.or();
criteria.andIdIn(Arrays.asList(courierIds));
courierMap = sqlSession.selectMap("com.itrus.portal.db.CourierMapper.selectByExample", example, "id");
}
return courierMap;
}
Aggregations