From 37bca2ce78816f801697eac6e7bcdb171a74c310 Mon Sep 17 00:00:00 2001 From: alina <1449359159@qq.com> Date: Thu, 6 Oct 2022 16:39:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E8=AE=8A=E8=80=83=E5=8B=A4=E8=A8=98?= =?UTF-8?q?=E9=8C=84=E7=9A=84=E5=AD=97=E9=AB=94=E9=A1=94=E8=89=B2=20?= =?UTF-8?q?=E7=B4=85=E8=89=B2=E8=AE=8A=E8=97=8D=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../OPMS/OT.Web/Page/Hr/AttendanceCheck_Qry.aspx.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/03-程式設計階段/OPMS/OT.Web/Page/Hr/AttendanceCheck_Qry.aspx.cs b/03-程式設計階段/OPMS/OT.Web/Page/Hr/AttendanceCheck_Qry.aspx.cs index b11d9a5..a33b769 100644 --- a/03-程式設計階段/OPMS/OT.Web/Page/Hr/AttendanceCheck_Qry.aspx.cs +++ b/03-程式設計階段/OPMS/OT.Web/Page/Hr/AttendanceCheck_Qry.aspx.cs @@ -242,7 +242,7 @@ namespace OT.Web.Page.HR { if (strSignTime == "---" || (int.Parse(strSignTime.Split(':')[0]) > int.Parse(strTimeS.Split(':')[0])) || (int.Parse(strSignTime.Split(':')[0]) == int.Parse(strTimeS.Split(':')[0]) && int.Parse(strSignTime.Split(':')[1]) > int.Parse(strTimeS.Split(':')[1]))) { - e.Row.Cells[3].Attributes.Add("style", "color:red;"); + e.Row.Cells[3].Attributes.Add("style", "color:blue;"); } } else @@ -254,7 +254,7 @@ namespace OT.Web.Page.HR { if (strSignOutTime == "---" || (int.Parse(strSignOutTime.Split(':')[0]) < int.Parse(strTimeE.Split(':')[0])) || (int.Parse(strSignOutTime.Split(':')[0]) == int.Parse(strTimeE.Split(':')[0]) && int.Parse(strSignOutTime.Split(':')[1]) < int.Parse(strTimeE.Split(':')[1]))) { - e.Row.Cells[5].Attributes.Add("style", "color:red;"); + e.Row.Cells[5].Attributes.Add("style", "color:blue;"); } } else