Merge branch 'master' of https://gitee.com/frane-yang/SGGL_SeDin_New
This commit is contained in:
@@ -447,9 +447,9 @@ namespace BLL
|
|||||||
{
|
{
|
||||||
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
|
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
|
||||||
{
|
{
|
||||||
List<string> unitIdList = Funs.GetStrListByStr(unitIds, ',');
|
|
||||||
var getPersons = from x in db.View_SitePerson_Person
|
var getPersons = from x in db.View_SitePerson_Person
|
||||||
where x.ProjectId == projectId && unitIdList.Contains(x.UnitId) && x.States == Const.ProjectPersonStates_1
|
where x.ProjectId == projectId && x.States == Const.ProjectPersonStates_1
|
||||||
select new Model.PersonItem
|
select new Model.PersonItem
|
||||||
{
|
{
|
||||||
SitePersonId = x.SitePersonId,
|
SitePersonId = x.SitePersonId,
|
||||||
@@ -476,6 +476,12 @@ namespace BLL
|
|||||||
PhotoUrl = x.PhotoUrl,
|
PhotoUrl = x.PhotoUrl,
|
||||||
DepartName = x.DepartName,
|
DepartName = x.DepartName,
|
||||||
};
|
};
|
||||||
|
if (!string.IsNullOrEmpty(unitIds))
|
||||||
|
{
|
||||||
|
List<string> unitIdList = Funs.GetStrListByStr(unitIds, ',');
|
||||||
|
getPersons = getPersons.Where(x => unitIdList.Contains(x.UnitId));
|
||||||
|
}
|
||||||
|
|
||||||
if (!string.IsNullOrEmpty(workPostIds))
|
if (!string.IsNullOrEmpty(workPostIds))
|
||||||
{
|
{
|
||||||
List<string> workPostIdList = Funs.GetStrListByStr(workPostIds, ',');
|
List<string> workPostIdList = Funs.GetStrListByStr(workPostIds, ',');
|
||||||
|
|||||||
@@ -1,11 +1 @@
|
|||||||
|
|
||||||
错误信息开始=====>
|
|
||||||
错误类型:FormatException
|
|
||||||
错误信息:输入字符串的格式不正确。
|
|
||||||
错误堆栈:
|
|
||||||
在 System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
|
|
||||||
在 System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
|
|
||||||
在 BLL.Funs.GetNewInt(String value) 位置 E:\SEDIN\SGGL_SeDin_New\SGGL\BLL\Common\Funs.cs:行号 507
|
|
||||||
出错时间:06/13/2023 14:34:59
|
|
||||||
出错时间:06/13/2023 14:34:59
|
|
||||||
|
|
||||||
|
|||||||
@@ -362,7 +362,7 @@
|
|||||||
<AutoAssignPort>True</AutoAssignPort>
|
<AutoAssignPort>True</AutoAssignPort>
|
||||||
<DevelopmentServerPort>0</DevelopmentServerPort>
|
<DevelopmentServerPort>0</DevelopmentServerPort>
|
||||||
<DevelopmentServerVPath>/</DevelopmentServerVPath>
|
<DevelopmentServerVPath>/</DevelopmentServerVPath>
|
||||||
<IISUrl>http://localhost:9192/</IISUrl>
|
<IISUrl>http://localhost:14920/</IISUrl>
|
||||||
<NTLMAuthentication>False</NTLMAuthentication>
|
<NTLMAuthentication>False</NTLMAuthentication>
|
||||||
<UseCustomServer>False</UseCustomServer>
|
<UseCustomServer>False</UseCustomServer>
|
||||||
<CustomServerUrl>
|
<CustomServerUrl>
|
||||||
|
|||||||
Reference in New Issue
Block a user