From 736dd5afb982ce1c19b15633ffd3495f6f8822ec Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期二, 20 二月 2024 16:19:38 +0800
Subject: [PATCH] 工单管理转生产订单、删除,流程卡管理部分查询相关代码

---
 north-glass-erp/src/main/resources/mapper/sd/OrderMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/north-glass-erp/src/main/resources/mapper/sd/OrderMapper.xml b/north-glass-erp/src/main/resources/mapper/sd/OrderMapper.xml
index fcf7a2d..06218d3 100644
--- a/north-glass-erp/src/main/resources/mapper/sd/OrderMapper.xml
+++ b/north-glass-erp/src/main/resources/mapper/sd/OrderMapper.xml
@@ -33,7 +33,7 @@
             *
         from
             `order` as o
-        where  o.create_time>=#{startDate} and o.create_time &lt;= #{endDate}
+        where  date(o.create_time)>=#{startDate} and date(o.create_time) &lt;= #{endDate}
 
           <if test="orderType!= null and orderType != ''">
                and o.create_order = #{orderType}

--
Gitblit v1.8.0