From 4a740266928aa7667d1ac1af0a8f2de60de06d35 Mon Sep 17 00:00:00 2001
From: duhe <226547893@qq.com>
Date: 星期二, 15 十月 2024 14:08:57 +0800
Subject: [PATCH] 日志查询不到今天的操作记录问题处理

---
 WebTM/views/系统管理/日志管理/Xt_SystemLogList.html |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git "a/WebTM/views/\347\263\273\347\273\237\347\256\241\347\220\206/\346\227\245\345\277\227\347\256\241\347\220\206/Xt_SystemLogList.html" "b/WebTM/views/\347\263\273\347\273\237\347\256\241\347\220\206/\346\227\245\345\277\227\347\256\241\347\220\206/Xt_SystemLogList.html"
index 02341cf..a3d31ff 100644
--- "a/WebTM/views/\347\263\273\347\273\237\347\256\241\347\220\206/\346\227\245\345\277\227\347\256\241\347\220\206/Xt_SystemLogList.html"
+++ "b/WebTM/views/\347\263\273\347\273\237\347\256\241\347\220\206/\346\227\245\345\277\227\347\256\241\347\220\206/Xt_SystemLogList.html"
@@ -687,10 +687,10 @@
                     HOrgID = $("#HOrgID").val();//缁勭粐
                 }
                 if (HDate) {
-                    sWhere += " and 鏃ユ湡 >= '" + HDate + "'";
+                    sWhere += " and convert(varchar(7),鏃ユ湡,20) >= '" + HDate + "'";
                 }
                 if (HDate1) {
-                    sWhere += " and 鏃ユ湡 <= '" + HDate1 + "'";
+                    sWhere += " and convert(varchar(7),鏃ユ湡,20) <= '" + HDate1 + "'";
                 }
                 if (UserID) {
                     sWhere += " and 鐢ㄦ埛鍚� like '%" + UserID + "%'";

--
Gitblit v1.9.1