DetachedCriteria criteria = getDetachedCriteriaForAllOrder(conditions);
ProjectionList projectionList = Projections.projectionList();
projectionList.add(Projections.distinct(Projections.property("orderId")));
projectionList.add(Projections.property("goodsPackfreshFee"));
projectionList.add(Projections.property("goodsCallFee"));
criteria.setProjection(projectionList);
List countList = getHibernateTemplate().findByCriteria(criteria);