From 835dced994df2b5f198555a9f0551a90a0ef2d22 Mon Sep 17 00:00:00 2001
From: Your Name <you@example.com>
Date: 星期二, 25 四月 2023 00:06:43 +0800
Subject: [PATCH] 充电桩充电加入 充电月卡功能
---
java110-db/src/main/resources/mapper/store/ContractServiceDaoImplMapper.xml | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/java110-db/src/main/resources/mapper/store/ContractServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/store/ContractServiceDaoImplMapper.xml
index dd46a1a..269be14 100755
--- a/java110-db/src/main/resources/mapper/store/ContractServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/store/ContractServiceDaoImplMapper.xml
@@ -104,10 +104,10 @@
<if test="endTime !=null ">
and t.end_time <= #{endTime}
</if>
- <if test="queryStartTime !=null">
+ <if test="queryStartTime !=null and queryStartTime != ''">
and t.create_time > #{queryStartTime}
</if>
- <if test="queryEndTime !=null">
+ <if test="queryEndTime !=null and queryEndTime != ''">
and t.create_time < #{queryEndTime}
</if>
<if test="state !=null and state != ''">
@@ -301,10 +301,10 @@
<if test="endTime !=null ">
and t.end_time <= #{endTime}
</if>
- <if test="queryStartTime !=null">
+ <if test="queryStartTime !=null and queryStartTime != ''">
and t.create_time > #{queryStartTime}
</if>
- <if test="queryEndTime !=null">
+ <if test="queryEndTime !=null and queryEndTime != ''">
and t.create_time < #{queryEndTime}
</if>
<if test="state !=null and state != ''">
--
Gitblit v1.8.0