This commit is contained in:
夏菊 2025-05-16 18:18:05 +08:00
parent 2569d4d5fa
commit 1e608129cd
1 changed files with 7 additions and 6 deletions

View File

@ -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;
} }