From 9706f8e78a4c246e4180dc2c6f4de9f1e2a5ebb6 Mon Sep 17 00:00:00 2001 From: xyiege Date: Wed, 20 Jul 2022 15:51:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E7=94=A8=E4=BE=8B=E4=B8=8D?= =?UTF-8?q?=E6=89=93=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 1 + src/test/java/cn/chjyj/szwh/mapper/OrderMapperTest.java | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 542bfab..06b9769 100644 --- a/pom.xml +++ b/pom.xml @@ -16,6 +16,7 @@ 深圳文化交易所api系统 1.8 + true diff --git a/src/test/java/cn/chjyj/szwh/mapper/OrderMapperTest.java b/src/test/java/cn/chjyj/szwh/mapper/OrderMapperTest.java index 455c88c..5009831 100644 --- a/src/test/java/cn/chjyj/szwh/mapper/OrderMapperTest.java +++ b/src/test/java/cn/chjyj/szwh/mapper/OrderMapperTest.java @@ -101,8 +101,8 @@ public class OrderMapperTest { @Test public void mapSumTest(){ - String starttime ="'2022-05-18 00:00:00'"; - String endtime="'2022-05-18 23:59:59'"; + String starttime ="'2022-05-18T00:00:00'"; + String endtime="'2022-05-18T23:59:59'"; String swhere ="(paymenttime between "+starttime+" and "+endtime+") " + "and pay_status=2"; Map xmap =new HashMap();