From 0b6189c1c208a4f1c4cd4b230dba10b3581d1ff9 Mon Sep 17 00:00:00 2001 From: kongdeqiang <123456> Date: 星期四, 16 五月 2024 16:01:16 +0800 Subject: [PATCH] fix: 获取司机配送员信息接口修改 --- xboot-modules/xboot-your/src/main/resources/mapper/SignCountMapper.xml | 15 +++++++++------ 1 files changed, 9 insertions(+), 6 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 d81a52a..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 <= #{bo.sendDateEnd} + AND send_date <= #{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,9 +249,10 @@ FROM t_sign <where> - 1=1 + 1=1 AND + car_name is not NULL <if test="bo.line != null and bo.line != ''" > - AND line = #{bo.line} + AND line like CONCAT ('%', #{bo.line},'%') </if> <if test="bo.carName != null and bo.carName != ''" > AND car_name like CONCAT ('%',#{bo.carName},'%') @@ -283,9 +285,10 @@ FROM t_sign <where> - 1=1 + 1=1 AND + car_name is not NULL <if test="bo.line != null and bo.line != ''" > - AND line = #{bo.line} + AND line like CONCAT ('%', #{bo.line},'%') </if> <if test="bo.carName != null and bo.carName != ''" > AND car_name like CONCAT ('%',#{bo.carName},'%') -- Gitblit v1.9.1