From 00a557fe972da438d853e43fc90d595196d6aa40 Mon Sep 17 00:00:00 2001 From: Chengliang <1546584672@qq.com> Date: Thu, 5 Jun 2025 13:52:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E7=BE=8E=E5=85=89=E8=80=83=E5=8B=A4?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE=20=E5=A4=9C=E7=8F=AD=E6=AC=A1=E6=95=B0?= =?UTF-8?q?=E5=88=A4=E6=96=AD=E8=B7=A8=E5=A4=A9=20=E4=B8=8B=E7=8F=AD?= =?UTF-8?q?=E6=89=93=E5=8D=A1=E6=97=A5=E6=9C=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/com/engine/xmgsecond/util/KqCalulateUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/engine/xmgsecond/util/KqCalulateUtil.java b/src/com/engine/xmgsecond/util/KqCalulateUtil.java index 9fb1d5f..ff7ad79 100644 --- a/src/com/engine/xmgsecond/util/KqCalulateUtil.java +++ b/src/com/engine/xmgsecond/util/KqCalulateUtil.java @@ -150,7 +150,7 @@ public class KqCalulateUtil { public static boolean calculateClockTime(String resourceId,String kqDate,int serialid){ RecordSet rs = new RecordSet(); - rs.executeQuery("select resourceid,kqdate,signintime,signouttime from kq_format_detail where kqdate = '"+kqDate+"' and resourceid = ? and serialid = ? \n" + + rs.executeQuery("select resourceid,kqdate,signintime,signouttime from kq_format_detail where kqdate = '"+kqDate+"' and signoutdate > '"+kqDate+"' and resourceid = ? and serialid = ? \n" + " and signintime >= '18:00:00' and signintime <= '20:30:00' and signouttime >= '05:30:00'",resourceId,serialid); return rs.getCounts() > 0; }