20250228 人员导入
This commit is contained in:
parent
eaf3a114a8
commit
d4f02f07fd
|
@ -347,7 +347,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
|
||||||
Model.Comprehensive_InspectionPerson Ins = new Model.Comprehensive_InspectionPerson();
|
Model.Comprehensive_InspectionPerson Ins = new Model.Comprehensive_InspectionPerson();
|
||||||
if (!string.IsNullOrEmpty(tempData.Value1.Trim()))
|
if (!string.IsNullOrEmpty(tempData.Value1.Trim()))
|
||||||
{
|
{
|
||||||
var unit = units.FirstOrDefault(x => x.UnitName == tempData.Value1.Trim());
|
var unit = units.Where(x => x.UnitName == tempData.Value1.Trim()).FirstOrDefault();
|
||||||
if (unit == null)
|
if (unit == null)
|
||||||
{
|
{
|
||||||
errInfo += "报验单位[" + tempData.Value1.Trim() + "]不存在;";
|
errInfo += "报验单位[" + tempData.Value1.Trim() + "]不存在;";
|
||||||
|
@ -415,7 +415,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
|
||||||
}
|
}
|
||||||
if (!string.IsNullOrEmpty(tempData.Value6.Trim()))
|
if (!string.IsNullOrEmpty(tempData.Value6.Trim()))
|
||||||
{
|
{
|
||||||
var post = posts.FirstOrDefault(e => e.PostName == tempData.Value6.Trim());
|
var post = posts.Where(e => e.PostName == tempData.Value6.Trim()).FirstOrDefault();
|
||||||
if (post != null)
|
if (post != null)
|
||||||
{
|
{
|
||||||
Ins.PostId = post.PostId;
|
Ins.PostId = post.PostId;
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
<FineUIPro DebugMode="true" Theme="Cupertino"/>
|
<FineUIPro DebugMode="true" Theme="Cupertino"/>
|
||||||
<appSettings>
|
<appSettings>
|
||||||
<!--连接字符串-->
|
<!--连接字符串-->
|
||||||
<add key="ConnectionString" value="Server=.\MSSQLSERVER01;Database=SGGLDB_WH;Integrated Security=False;User ID=sa;Password=1111;MultipleActiveResultSets=true;Connect Timeout=1200"/>
|
<add key="ConnectionString" value="Server=.\SQL2012;Database=SGGLDB_WH;Integrated Security=False;User ID=sa;Password=1111;MultipleActiveResultSets=true;Connect Timeout=1200"/>
|
||||||
<!--<add key="ConnectionString" value="Server=.\MSSQLSERVER01;Database=SGGLDB_WH;Integrated Security=False;User ID=sa;Password=1111;MultipleActiveResultSets=true;Connect Timeout=1200"/>-->
|
<!--<add key="ConnectionString" value="Server=.\MSSQLSERVER01;Database=SGGLDB_WH;Integrated Security=False;User ID=sa;Password=1111;MultipleActiveResultSets=true;Connect Timeout=1200"/>-->
|
||||||
<!--系统名称-->
|
<!--系统名称-->
|
||||||
<add key="SystemName" value="智慧施工管理信息系统V1.0"/>
|
<add key="SystemName" value="智慧施工管理信息系统V1.0"/>
|
||||||
|
|
Loading…
Reference in New Issue