|
@ -398,11 +398,11 @@ DELETE FROM dbo.ICSCheck WHERE ID IN ({0}) and WorkPoint ='{1}'", keyValue.Trim |
|
|
} |
|
|
} |
|
|
if (NFine.Code.OperatorProvider.Provider.GetCurrent().RoleEnCode != "admin") |
|
|
if (NFine.Code.OperatorProvider.Provider.GetCurrent().RoleEnCode != "admin") |
|
|
{ |
|
|
{ |
|
|
sql += " and a.WorkPoint='" + NFine.Code.OperatorProvider.Provider.GetCurrent().Location + "'"; |
|
|
|
|
|
|
|
|
sql += " and WorkPoint='" + NFine.Code.OperatorProvider.Provider.GetCurrent().Location + "'"; |
|
|
} |
|
|
} |
|
|
if (NFine.Code.OperatorProvider.Provider.GetCurrent().RoleEnCode == "Vendor") |
|
|
if (NFine.Code.OperatorProvider.Provider.GetCurrent().RoleEnCode == "Vendor") |
|
|
{ |
|
|
{ |
|
|
sql += " and a.VenCode='" + NFine.Code.OperatorProvider.Provider.GetCurrent().UserCode + "'"; |
|
|
|
|
|
|
|
|
sql += " and VenCode='" + NFine.Code.OperatorProvider.Provider.GetCurrent().UserCode + "'"; |
|
|
} |
|
|
} |
|
|
return Repository().FindTablePageBySql(sql.ToString(), parameter.ToArray(), ref jqgridparam); |
|
|
return Repository().FindTablePageBySql(sql.ToString(), parameter.ToArray(), ref jqgridparam); |
|
|
} |
|
|
} |
|
|