Commit 62bb7860 by zhengxj

finish 修正安装单总量统计 on 20190322 by zhengxj

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@18806 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 33c81872
...@@ -522,7 +522,7 @@ public class OrderServiceImpl implements IOrderService { ...@@ -522,7 +522,7 @@ public class OrderServiceImpl implements IOrderService {
} }
totalOrders = orderDao.countByExample(example); totalOrders = orderDao.countByExample(example);
// 业务总量 // 业务总量 :在账号权限内,统计状态为已完成的安装单数量;
finishedOrders.setOrderNumber(totalOrders); finishedOrders.setOrderNumber(totalOrders);
...@@ -1127,12 +1127,13 @@ public class OrderServiceImpl implements IOrderService { ...@@ -1127,12 +1127,13 @@ public class OrderServiceImpl implements IOrderService {
criteria.andShopIdIn(dataRight); criteria.andShopIdIn(dataRight);
} }
criteria.andActiveStatusNotEqualTo((byte) 9).andCanceledEqualTo((byte) 1); criteria.andActiveStatusNotEqualTo((byte) 9).andCanceledEqualTo((byte) 1);
beginDate = DateUtil.getPastMonthFirstDay(i); beginDate = new Date();
beginDate.setMonth(i);
beginDate.setHours(0); beginDate.setHours(0);
beginDate.setMinutes(0); beginDate.setMinutes(0);
beginDate.setSeconds(0); beginDate.setSeconds(0);
endDate = DateUtil.getPastMonthLastDay(i); endDate = DateUtil.getPastMonthLastDay(currentMonth-i);
if (i < currentMonth) { if (i < currentMonth) {
endDate.setHours(23); endDate.setHours(23);
endDate.setMinutes(59); endDate.setMinutes(59);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!