This commit is contained in:
geh
2026-03-24 11:27:55 +08:00
parent d36cec32ea
commit 9a2dc51922
4 changed files with 1758 additions and 2 deletions
@@ -144,9 +144,9 @@ namespace FineUIPro.Web.JDGL.SGManPower
AND p.UnitId = a.UnitId
AND p.WorkPostId = a.WorkPostId
AND p.PlanDate = a.IntoOutTime
AND (CHARINDEX(',' + p.UnitWorkId + ',', ',' + ISNULL(a.WorkAreaId, '') + ',') > 0 OR (ISNULL(a.WorkAreaId, '') = '' AND ISNULL(p.UnitWorkId, '') = '')) where p.Version = '" + Version + "'";
AND (CHARINDEX(',' + p.UnitWorkId + ',', ',' + ISNULL(a.WorkAreaId, '') + ',') > 0 OR (ISNULL(a.WorkAreaId, '') = '' AND ISNULL(p.UnitWorkId, '') = '')) where p.Version = @Version";
List<SqlParameter> listStr = new List<SqlParameter>();
listStr.Add(new SqlParameter("@Version", Version));
if (!string.IsNullOrEmpty(this.ProjectId))
{
strSql += " AND p.ProjectId = @ProjectId ";