From 84fd23e5e865bd5529441a0c318809a00362f44c Mon Sep 17 00:00:00 2001
From: wjli <591616088@qq.com>
Date: 星期一, 18 三月 2024 16:15:03 +0800
Subject: [PATCH] 添加签收图片对比功能

---
 xboot-modules/xboot-your/src/main/resources/mapper/SignCountMapper.xml |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/xboot-modules/xboot-your/src/main/resources/mapper/SignCountMapper.xml b/xboot-modules/xboot-your/src/main/resources/mapper/SignCountMapper.xml
index 4dddfd3..e2d22d7 100644
--- a/xboot-modules/xboot-your/src/main/resources/mapper/SignCountMapper.xml
+++ b/xboot-modules/xboot-your/src/main/resources/mapper/SignCountMapper.xml
@@ -119,7 +119,7 @@
                 AND send_date >= #{bo.sendDateStart}
             </if>
             <if test="bo.sendDateEnd != null and bo.sendDateEnd != ''">
-                AND send_date &lt;= #{bo.sendDateEnd}
+                AND send_date &lt;= #{bo.sendDateEnd} + ' 23:59:59'
             </if>
         </where>
         GROUP BY
@@ -204,7 +204,8 @@
         FROM
         t_sign
         <where>
-            1=1
+            1=1 AND
+            car_name is not NULL
             <if test="bo.line != null and bo.line != ''" >
                 AND  line like  CONCAT ('%', #{bo.line},'%')
             </if>
@@ -248,7 +249,8 @@
         FROM
         t_sign
         <where>
-            1=1
+            1=1 AND
+            car_name is not NULL
             <if test="bo.line != null and bo.line != ''" >
                 AND  line like  CONCAT ('%', #{bo.line},'%')
             </if>
@@ -283,7 +285,8 @@
     FROM
     t_sign
     <where>
-        1=1
+        1=1 AND
+        car_name is not NULL
         <if test="bo.line != null and bo.line != ''" >
             AND  line like  CONCAT ('%', #{bo.line},'%')
         </if>

--
Gitblit v1.9.1