From a27e23a467bcdafa1b815e74121e72825962cbfc Mon Sep 17 00:00:00 2001 From: xjm Date: Mon, 22 Jan 2024 09:21:58 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E7=BB=9F=E8=AE=A1=E5=85=A8?= =?UTF-8?q?=E9=83=A8=E6=95=B0=E6=8D=AE,=E5=8E=BB=E6=8E=89=E9=A2=84?= =?UTF-8?q?=E5=94=AE=E5=8D=95=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/cowr/ssjygl/overall/OverallService.java | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/ssjygl-xsx-common/src/main/java/com/cowr/ssjygl/overall/OverallService.java b/ssjygl-xsx-common/src/main/java/com/cowr/ssjygl/overall/OverallService.java index 46e968e..c51a895 100644 --- a/ssjygl-xsx-common/src/main/java/com/cowr/ssjygl/overall/OverallService.java +++ b/ssjygl-xsx-common/src/main/java/com/cowr/ssjygl/overall/OverallService.java @@ -218,19 +218,24 @@ group by date " ifnull(sum(p.presell_amount), 0) total_price,\n" + " 0 truck_cnt,\n" + " 0 year_total_weight,\n" + - " ifnull(sum(case when p.presell_date >= ? then p.presell_amount end ), 0) year_total_price,\n" + +// " ifnull(sum(case when p.presell_date >= ? then p.presell_amount end ), 0) year_total_price,\n" + + " 0 year_total_price,\n" + " 0 year_truck_cnt,\n" + " 0 month_total_weight,\n" + - " ifnull(sum(case when p.presell_date >= ? then p.presell_amount end ), 0) month_total_price,\n" + +// " ifnull(sum(case when p.presell_date >= ? then p.presell_amount end ), 0) month_total_price,\n" + + " 0 month_total_price,\n" + " 0 month_truck_cnt,\n" + " 0 day_total_weight,\n" + - " ifnull(sum(case when p.presell_date >= ? then p.presell_amount end ), 0) day_total_price,\n" + +// " ifnull(sum(case when p.presell_date >= ? then p.presell_amount end ), 0) day_total_price,\n" + + " 0 day_total_price,\n" + " 0 day_truck_cnt\n" + " from presell_order p\n" + " where p.del = 0\n" + " ) g"; - Record ocout = Db.findFirst(sql_ordercluster, year, year, year, month, month, month, day, day, day, day, year, month, day); + Record ocout = Db.findFirst(sql_ordercluster, year, year, year, month, month, month, day, day, day, day +// , year, month, day + ); out.set("ordercluster", ocout); return out;