This commit is contained in:
2025-05-16 18:18:05 +08:00
parent 2569d4d5fa
commit 1e608129cd
@@ -74,7 +74,7 @@ namespace FineUIPro.Web.HSSE.EduTrain
if (!string.IsNullOrEmpty(txtName.Text.Trim())) if (!string.IsNullOrEmpty(txtName.Text.Trim()))
{ {
strSql += " AND p.PersonName like '%"+ txtName.Text.Trim() + "%'"; strSql += " AND p.PersonName like '%" + txtName.Text.Trim() + "%'";
} }
if (!string.IsNullOrEmpty(this.txtStartDate.Text.Trim())) if (!string.IsNullOrEmpty(this.txtStartDate.Text.Trim()))
{ {
@@ -229,7 +229,8 @@ namespace FineUIPro.Web.HSSE.EduTrain
{ {
return (Convert.ToInt32(time) / 60).ToString(); return (Convert.ToInt32(time) / 60).ToString();
} }
else { else
{
return hours; return hours;
} }