Commit 973ada41 by 高晓磊

接驳手机端排除修正记录

parent f5ea721a
......@@ -104,6 +104,7 @@ public class DischargingDaoImpl extends AbstractBaseDao implements DischargingDa
if (null != endDate) {
detachedCriteria.add(Restrictions.le("dischargingTime", endDate));
}
detachedCriteria.add(Restrictions.eq("type", 0));
detachedCriteria.addOrder(Order.desc("createTime"));
int offset = page.getPageSize() * (page.getPageNo() - 1);
page.setTotal(template.findByCriteria(detachedCriteria).size());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment