From ef90702eebdc4946fb5ae256af2624c45bf0b210 Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期六, 19 八月 2023 00:09:57 +0800
Subject: [PATCH] 111

---
 server/src/main/resources/mappers/WorkorderExtMapper.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/server/src/main/resources/mappers/WorkorderExtMapper.xml b/server/src/main/resources/mappers/WorkorderExtMapper.xml
index 220473e..8ddc14a 100644
--- a/server/src/main/resources/mappers/WorkorderExtMapper.xml
+++ b/server/src/main/resources/mappers/WorkorderExtMapper.xml
@@ -957,10 +957,10 @@
               </if>
             </otherwise>
           </choose>
-      <if test="startDate != null">
+      <if test="startDate != null and startDate!=''">
         AND `a`.`PLAN_DATE` >= #{startDate}
       </if>
-      <if test="endDate != null">
+      <if test="endDate != null and endDate!=''">
         AND   #{endDate} >= `a`.`PLAN_DATE`
       </if>
       <if test="mixParam != null and mixParam!=''">

--
Gitblit v1.9.3