From f01323db056d0994b3b23bc87cc9a2f00c2d70c1 Mon Sep 17 00:00:00 2001 From: gongbiao Date: Wed, 16 Oct 2019 20:18:03 +0800 Subject: [PATCH] =?UTF-8?q?[=E7=BA=BF=E4=B8=8A=E4=BA=A4=E6=98=93][?= =?UTF-8?q?=E4=BF=AE=E6=94=B9][=E6=9F=A5=E8=AF=A2=E8=AE=A2=E5=8D=95?= =?UTF-8?q?=E6=95=B0=E9=87=8F=E5=88=86=E6=9E=90]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/iformall/service/impl/WxOrderServiceImpl.java | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/mallinkService/src/main/java/com/iformall/service/impl/WxOrderServiceImpl.java b/mallinkService/src/main/java/com/iformall/service/impl/WxOrderServiceImpl.java index 4989bc8b0..feeb373ed 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxOrderServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxOrderServiceImpl.java @@ -1417,13 +1417,8 @@ public class WxOrderServiceImpl implements WxOrderService { String thirtyTime = DateUtils.getTimeBefore(29, new Date()); params.put("startdate", thirtyTime + " 00:00:00"); params.put("enddate", systemTime + " 23:59:59"); - params.put("order_status", "1"); - Long allPayOrderCount = wxOrderMapper.queryOrderForCount(params); - params.put("order_status", "4"); - Long allRefundOrderCount = wxOrderMapper.queryOrderForCount(params); - result.put("allRefundOrderCount", allRefundOrderCount); - Long allOrderSummary = allPayOrderCount - allRefundOrderCount; - result.put("allOrderCount", allPayOrderCount); + Long allOrderCount = wxOrderMapper.queryOrderForCount(params); + result.put("allOrderCount", allOrderCount); //今日 params.put("startdate", systemTime + " 00:00:00"); params.put("enddate", systemTime + " 23:59:59"); @@ -1440,7 +1435,6 @@ public class WxOrderServiceImpl implements WxOrderService { params.put("startdate", lastweek + " 00:00:00"); params.put("enddate", lastweek + " 23:59:59"); Long lastweekOrderCount = wxOrderMapper.queryOrderForCount(params); - result.put("lastweekOrderCount", lastweekOrderCount); //订单数日环比 if (yesterdayOrderCount > 0) {