Compare commits
4 Commits
cc86d5a07e
...
0075a58d42
| Author | SHA1 | Date | |
|---|---|---|---|
| 0075a58d42 | |||
| e0525c4e54 | |||
| 1e608129cd | |||
| 2569d4d5fa |
@@ -68,12 +68,10 @@ namespace FineUIPro.Web.BaseInfo
|
|||||||
{
|
{
|
||||||
rowend = source.Count();
|
rowend = source.Count();
|
||||||
}
|
}
|
||||||
|
|
||||||
for (int i = rowbegin; i < rowend; i++)
|
for (int i = rowbegin; i < rowend; i++)
|
||||||
{
|
{
|
||||||
paged.Add(source[i]);
|
paged.Add(source[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
return paged;
|
return paged;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -71,7 +71,6 @@ namespace FineUIPro.Web.HSSE.EduTrain
|
|||||||
strSql += " AND p.PersonId = @PersonId";
|
strSql += " AND p.PersonId = @PersonId";
|
||||||
listStr.Add(new SqlParameter("@PersonId", this.PersonId));
|
listStr.Add(new SqlParameter("@PersonId", this.PersonId));
|
||||||
}
|
}
|
||||||
|
|
||||||
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() + "%'";
|
||||||
@@ -229,7 +228,8 @@ namespace FineUIPro.Web.HSSE.EduTrain
|
|||||||
{
|
{
|
||||||
return (Convert.ToInt32(time) / 60).ToString();
|
return (Convert.ToInt32(time) / 60).ToString();
|
||||||
}
|
}
|
||||||
else {
|
else
|
||||||
|
{
|
||||||
return hours;
|
return hours;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user