This commit is contained in:
2026-06-10 12:19:53 +08:00
parent c48972cc60
commit ac6777e5f4
2 changed files with 6 additions and 2 deletions
+5 -1
View File
@@ -38,7 +38,11 @@ namespace BLL
/// <returns></returns> /// <returns></returns>
public static IEnumerable getListData(string workPostId, string postTitleId, string name, string certificateId, Grid Grid1) public static IEnumerable getListData(string workPostId, string postTitleId, string name, string certificateId, Grid Grid1)
{ {
IQueryable<Model.Person_Persons> getDataList = getDataLists; IQueryable<Model.Person_Persons> getDataList = from x in Funs.DB.Person_Persons
where x.PersonId != Const.sysglyId && x.PersonId != Const.hfnbdId && x.UnitId == Const.UnitId_SEDIN
&& x.DepartId == Const.Depart_constructionId
&& x.CurrentProjectId == null && (!x.IsOffice.HasValue || x.IsOffice == false)
select x;
if (!string.IsNullOrEmpty(workPostId) && workPostId != Const._Null) if (!string.IsNullOrEmpty(workPostId) && workPostId != Const._Null)
{ {
getDataList = getDataList.Where(e => e.WorkPostId == workPostId); getDataList = getDataList.Where(e => e.WorkPostId == workPostId);
+1 -1
View File
@@ -17182,7 +17182,7 @@
</COMReference> </COMReference>
</ItemGroup> </ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v18.0\WebApplications\Microsoft.WebApplication.targets" /> <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v15.0\WebApplications\Microsoft.WebApplication.targets" />
<ProjectExtensions> <ProjectExtensions>
<VisualStudio> <VisualStudio>
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}"> <FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">