Merge branch 'master' of https://gitee.com/frane-yang/SGGL_SeDin_New
This commit is contained in:
@@ -0,0 +1,4 @@
|
|||||||
|
ALTER TABLE Person_Persons ADD MultiProject BIT NULL
|
||||||
|
GO
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'¶àÏîÄ¿' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Person_Persons', @level2type=N'COLUMN',@level2name=N'MultiProject'
|
||||||
|
GO
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
--ADD BY YangHongwei 2022-11-30
|
||||||
|
1、项目人员身份证变化事件优化。
|
||||||
|
2、新增人员是否同时在多项目字段。
|
||||||
|
--END
|
||||||
|
|
||||||
|
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
alter table WPQ_WPQList add CompileMan nvarchar(50) null
|
||||||
|
GO
|
||||||
|
|
||||||
@@ -153,7 +153,13 @@
|
|||||||
<Reference Include="ThoughtWorks.QRCode">
|
<Reference Include="ThoughtWorks.QRCode">
|
||||||
<HintPath>..\FineUIPro\Reference BLL\ThoughtWorks.QRCode.dll</HintPath>
|
<HintPath>..\FineUIPro\Reference BLL\ThoughtWorks.QRCode.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
|
<Reference Include="ThoughtWorks.QRCode.Fakes">
|
||||||
|
<HintPath>..\FineUIPro\Reference BLL\ThoughtWorks.QRCode.Fakes.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
<Reference Include="WindowsBase" />
|
<Reference Include="WindowsBase" />
|
||||||
|
<Reference Include="ZKWeb.System.Drawing, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\ZKWeb.System.Drawing.4.0.0\lib\net45\ZKWeb.System.Drawing.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="API\APIBaseInfoService.cs" />
|
<Compile Include="API\APIBaseInfoService.cs" />
|
||||||
|
|||||||
@@ -31,6 +31,7 @@ namespace BLL
|
|||||||
newWPQ.WPQCode = WPQ.WPQCode;
|
newWPQ.WPQCode = WPQ.WPQCode;
|
||||||
newWPQ.ProjectId = WPQ.ProjectId;
|
newWPQ.ProjectId = WPQ.ProjectId;
|
||||||
newWPQ.UnitId = WPQ.UnitId;
|
newWPQ.UnitId = WPQ.UnitId;
|
||||||
|
newWPQ.CompileMan = WPQ.CompileMan;
|
||||||
newWPQ.CompileDate = WPQ.CompileDate;
|
newWPQ.CompileDate = WPQ.CompileDate;
|
||||||
newWPQ.MaterialId1 = WPQ.MaterialId1;
|
newWPQ.MaterialId1 = WPQ.MaterialId1;
|
||||||
newWPQ.MaterialId2 = WPQ.MaterialId2;
|
newWPQ.MaterialId2 = WPQ.MaterialId2;
|
||||||
|
|||||||
@@ -145,16 +145,19 @@ namespace BLL
|
|||||||
};
|
};
|
||||||
|
|
||||||
AddPersonItem(newPersonItem);
|
AddPersonItem(newPersonItem);
|
||||||
var getOtherPersons = db.SitePerson_Person.Where(x => x.IdentityCard == sitePerson.IdentityCard && x.ProjectId != sitePerson.ProjectId && x.States == Const.ProjectPersonStates_1);
|
if (!getPersons.MultiProject.HasValue || getPersons.MultiProject == false)
|
||||||
if (getOtherPersons.Count() > 0)
|
|
||||||
{
|
{
|
||||||
foreach (var item in getOtherPersons)
|
var getOtherPersons = db.SitePerson_Person.Where(x => x.IdentityCard == sitePerson.IdentityCard && x.ProjectId != sitePerson.ProjectId && x.States == Const.ProjectPersonStates_1);
|
||||||
|
if (getOtherPersons.Count() > 0)
|
||||||
{
|
{
|
||||||
item.OutTime = DateTime.Now;
|
foreach (var item in getOtherPersons)
|
||||||
item.States = Const.ProjectPersonStates_2;
|
|
||||||
item.OutResult = item.OutResult;
|
{
|
||||||
db.SubmitChanges();
|
item.OutTime = DateTime.Now;
|
||||||
|
item.States = Const.ProjectPersonStates_2;
|
||||||
|
item.OutResult = item.OutResult;
|
||||||
|
db.SubmitChanges();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -184,86 +187,90 @@ namespace BLL
|
|||||||
{
|
{
|
||||||
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
|
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
|
||||||
{
|
{
|
||||||
///未离场项目 先离场
|
|
||||||
OutPersonItem(newitem.PersonId, null, DateTime.Now);
|
|
||||||
var getPerson = Person_PersonsService.GetPerson_PersonsById(newitem.PersonId);
|
var getPerson = Person_PersonsService.GetPerson_PersonsById(newitem.PersonId);
|
||||||
if (getPerson != null)
|
if (getPerson != null)
|
||||||
{
|
{
|
||||||
newitem.PersonName = getPerson.PersonName;
|
newitem.PersonName = getPerson.PersonName;
|
||||||
newitem.IdentityCard = getPerson.IdentityCard;
|
newitem.IdentityCard = getPerson.IdentityCard;
|
||||||
}
|
if (!getPerson.MultiProject.HasValue || getPerson.MultiProject == false)
|
||||||
var getPersonItem = db.SitePerson_PersonItem.FirstOrDefault(x => x.PersonId == getPerson.PersonId
|
|
||||||
&& x.InTime <= newitem.InTime && (x.OutTime > newitem.InTime || !x.OutTime.HasValue));
|
|
||||||
if (getPersonItem != null)
|
|
||||||
{
|
|
||||||
getPersonItem.OutTime = null;
|
|
||||||
db.SubmitChanges();
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Model.SitePerson_PersonItem newPersonItem = new Model.SitePerson_PersonItem
|
|
||||||
{
|
{
|
||||||
PersonItemId = newitem.PersonItemId,
|
///未离场项目 先离场
|
||||||
PersonId = newitem.PersonId,
|
OutPersonItem(newitem.PersonId, null, DateTime.Now);
|
||||||
PersonName = newitem.PersonName,
|
|
||||||
IdentityCard = newitem.IdentityCard,
|
|
||||||
InTime = newitem.InTime,
|
|
||||||
// OutTime = newitem.OutTime,
|
|
||||||
// OutResult = newitem.OutResult,
|
|
||||||
};
|
|
||||||
if (!string.IsNullOrEmpty(newitem.ProjectId))
|
|
||||||
{
|
|
||||||
newPersonItem.ProjectId = newitem.ProjectId;
|
|
||||||
newPersonItem.ProjectName = ProjectService.GetProjectNameByProjectId(newitem.ProjectId);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
newPersonItem.ProjectId = null;
|
|
||||||
newPersonItem.ProjectName = newitem.ProjectName;
|
|
||||||
}
|
|
||||||
if (!string.IsNullOrEmpty(newitem.UnitId))
|
|
||||||
{
|
|
||||||
newPersonItem.UnitId = newitem.UnitId;
|
|
||||||
newPersonItem.UnitName = UnitService.GetUnitNameByUnitId(newitem.UnitId);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
newPersonItem.UnitId = null;
|
|
||||||
newPersonItem.UnitName = newitem.UnitName;
|
|
||||||
}
|
|
||||||
if (!string.IsNullOrEmpty(newitem.WorkPostId))
|
|
||||||
{
|
|
||||||
newPersonItem.WorkPostId = newitem.WorkPostId;
|
|
||||||
newPersonItem.WorkPostName = WorkPostService.getWorkPostNameById(newitem.WorkPostId);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
newPersonItem.WorkPostId = null;
|
|
||||||
newPersonItem.WorkPostName = newitem.WorkPostName;
|
|
||||||
}
|
|
||||||
if (!string.IsNullOrEmpty(newitem.TeamGroupId))
|
|
||||||
{
|
|
||||||
newPersonItem.TeamGroupId = newitem.TeamGroupId;
|
|
||||||
newPersonItem.TeamGroupName = TeamGroupService.GetTeamGroupNameByTeamGroupId(newitem.TeamGroupId);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
newPersonItem.TeamGroupId = null;
|
|
||||||
newPersonItem.TeamGroupName = newitem.TeamGroupName;
|
|
||||||
}
|
|
||||||
if (!string.IsNullOrEmpty(newitem.RoleId))
|
|
||||||
{
|
|
||||||
newPersonItem.RoleId = newitem.RoleId;
|
|
||||||
newPersonItem.RoleName = RoleService.getRoleNamesRoleIds(newitem.RoleId);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
newPersonItem.RoleId = null;
|
|
||||||
newPersonItem.RoleName = newitem.RoleName;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
db.SitePerson_PersonItem.InsertOnSubmit(newPersonItem);
|
var getPersonItem = db.SitePerson_PersonItem.FirstOrDefault(x => x.PersonId == getPerson.PersonId
|
||||||
db.SubmitChanges();
|
&& x.InTime <= newitem.InTime && (x.OutTime > newitem.InTime || !x.OutTime.HasValue));
|
||||||
|
if (getPersonItem != null)
|
||||||
|
{
|
||||||
|
getPersonItem.OutTime = null;
|
||||||
|
db.SubmitChanges();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Model.SitePerson_PersonItem newPersonItem = new Model.SitePerson_PersonItem
|
||||||
|
{
|
||||||
|
PersonItemId = newitem.PersonItemId,
|
||||||
|
PersonId = newitem.PersonId,
|
||||||
|
PersonName = newitem.PersonName,
|
||||||
|
IdentityCard = newitem.IdentityCard,
|
||||||
|
InTime = newitem.InTime,
|
||||||
|
// OutTime = newitem.OutTime,
|
||||||
|
// OutResult = newitem.OutResult,
|
||||||
|
};
|
||||||
|
if (!string.IsNullOrEmpty(newitem.ProjectId))
|
||||||
|
{
|
||||||
|
newPersonItem.ProjectId = newitem.ProjectId;
|
||||||
|
newPersonItem.ProjectName = ProjectService.GetProjectNameByProjectId(newitem.ProjectId);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
newPersonItem.ProjectId = null;
|
||||||
|
newPersonItem.ProjectName = newitem.ProjectName;
|
||||||
|
}
|
||||||
|
if (!string.IsNullOrEmpty(newitem.UnitId))
|
||||||
|
{
|
||||||
|
newPersonItem.UnitId = newitem.UnitId;
|
||||||
|
newPersonItem.UnitName = UnitService.GetUnitNameByUnitId(newitem.UnitId);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
newPersonItem.UnitId = null;
|
||||||
|
newPersonItem.UnitName = newitem.UnitName;
|
||||||
|
}
|
||||||
|
if (!string.IsNullOrEmpty(newitem.WorkPostId))
|
||||||
|
{
|
||||||
|
newPersonItem.WorkPostId = newitem.WorkPostId;
|
||||||
|
newPersonItem.WorkPostName = WorkPostService.getWorkPostNameById(newitem.WorkPostId);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
newPersonItem.WorkPostId = null;
|
||||||
|
newPersonItem.WorkPostName = newitem.WorkPostName;
|
||||||
|
}
|
||||||
|
if (!string.IsNullOrEmpty(newitem.TeamGroupId))
|
||||||
|
{
|
||||||
|
newPersonItem.TeamGroupId = newitem.TeamGroupId;
|
||||||
|
newPersonItem.TeamGroupName = TeamGroupService.GetTeamGroupNameByTeamGroupId(newitem.TeamGroupId);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
newPersonItem.TeamGroupId = null;
|
||||||
|
newPersonItem.TeamGroupName = newitem.TeamGroupName;
|
||||||
|
}
|
||||||
|
if (!string.IsNullOrEmpty(newitem.RoleId))
|
||||||
|
{
|
||||||
|
newPersonItem.RoleId = newitem.RoleId;
|
||||||
|
newPersonItem.RoleName = RoleService.getRoleNamesRoleIds(newitem.RoleId);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
newPersonItem.RoleId = null;
|
||||||
|
newPersonItem.RoleName = newitem.RoleName;
|
||||||
|
}
|
||||||
|
|
||||||
|
db.SitePerson_PersonItem.InsertOnSubmit(newPersonItem);
|
||||||
|
db.SubmitChanges();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -686,8 +686,9 @@ namespace BLL
|
|||||||
WorkDate = person.WorkDate,
|
WorkDate = person.WorkDate,
|
||||||
RetirementDate = person.RetirementDate,
|
RetirementDate = person.RetirementDate,
|
||||||
RelativeName = person.RelativeName,
|
RelativeName = person.RelativeName,
|
||||||
RelativeTel = person.RelativeTel,
|
RelativeTel = person.RelativeTel,
|
||||||
};
|
MultiProject = person.MultiProject,
|
||||||
|
};
|
||||||
|
|
||||||
if (string.IsNullOrEmpty(person.QRCodeAttachUrl))
|
if (string.IsNullOrEmpty(person.QRCodeAttachUrl))
|
||||||
{
|
{
|
||||||
@@ -779,6 +780,7 @@ namespace BLL
|
|||||||
newPerson.RetirementDate = person.RetirementDate;
|
newPerson.RetirementDate = person.RetirementDate;
|
||||||
newPerson.RelativeName = person.RelativeName;
|
newPerson.RelativeName = person.RelativeName;
|
||||||
newPerson.RelativeTel = person.RelativeTel;
|
newPerson.RelativeTel = person.RelativeTel;
|
||||||
|
newPerson.MultiProject = person.MultiProject;
|
||||||
|
|
||||||
newPerson.IsCardNoOK = IDCardValid.CheckIDCard(person.IdentityCard);
|
newPerson.IsCardNoOK = IDCardValid.CheckIDCard(person.IdentityCard);
|
||||||
if (string.IsNullOrEmpty(person.QRCodeAttachUrl))
|
if (string.IsNullOrEmpty(person.QRCodeAttachUrl))
|
||||||
|
|||||||
@@ -37,19 +37,19 @@
|
|||||||
</f:FormRow>
|
</f:FormRow>
|
||||||
<f:FormRow>
|
<f:FormRow>
|
||||||
<Items>
|
<Items>
|
||||||
<f:TextBox ID="txtWeldingMethod" runat="server" Label="焊接方法" LabelWidth="160px" Enabled="false"></f:TextBox>
|
<f:TextBox ID="txtWeldingMethod" runat="server" Label="焊接方法" LabelWidth="160px" ></f:TextBox>
|
||||||
<f:TextBox ID="txtMaterialType" runat="server" Label="型号、牌号、级别" LabelWidth="160px" Enabled="false"></f:TextBox>
|
<f:TextBox ID="txtMaterialType" runat="server" Label="型号、牌号、级别" LabelWidth="160px" ></f:TextBox>
|
||||||
</Items>
|
</Items>
|
||||||
</f:FormRow>
|
</f:FormRow>
|
||||||
<f:FormRow>
|
<f:FormRow>
|
||||||
<Items>
|
<Items>
|
||||||
<f:TextBox ID="txtWeldingLocation" runat="server" Label="焊接位置" LabelWidth="160px" Enabled="false"></f:TextBox>
|
<f:TextBox ID="txtWeldingLocation" runat="server" Label="焊接位置" LabelWidth="160px" ></f:TextBox>
|
||||||
<f:TextBox ID="txtWeldType" runat="server" Label="可焊焊缝类型" LabelWidth="160px" Enabled="false"></f:TextBox>
|
<f:TextBox ID="txtWeldType" runat="server" Label="可焊焊缝类型" LabelWidth="160px" ></f:TextBox>
|
||||||
</Items>
|
</Items>
|
||||||
</f:FormRow>
|
</f:FormRow>
|
||||||
<f:FormRow>
|
<f:FormRow>
|
||||||
<Items>
|
<Items>
|
||||||
<f:CheckBox ID="ckbIsCanWeldG" runat="server" Label="是否可焊安装口" LabelWidth="160px" Enabled="false"></f:CheckBox>
|
<f:CheckBox ID="ckbIsCanWeldG" runat="server" Label="是否可焊安装口" LabelWidth="160px" ></f:CheckBox>
|
||||||
<f:DropDownList ID="drpWeldingMode" runat="server" Label="机动化程度"
|
<f:DropDownList ID="drpWeldingMode" runat="server" Label="机动化程度"
|
||||||
LabelAlign="Right">
|
LabelAlign="Right">
|
||||||
</f:DropDownList>
|
</f:DropDownList>
|
||||||
@@ -64,14 +64,14 @@
|
|||||||
<Rows>
|
<Rows>
|
||||||
<f:FormRow>
|
<f:FormRow>
|
||||||
<Items>
|
<Items>
|
||||||
<f:TextBox ID="txtThicknessMin" runat="server" Label="壁厚覆盖范围(最小值)" Enabled="false" LabelWidth="200px" Readonly="true"></f:TextBox>
|
<f:TextBox ID="txtThicknessMin" runat="server" Label="壁厚覆盖范围(最小值)" LabelWidth="200px" ></f:TextBox>
|
||||||
<f:TextBox ID="txtThicknessMax" runat="server" Label="壁厚覆盖范围(最大值)" Enabled="false" LabelWidth="200px" Readonly="true"></f:TextBox>
|
<f:TextBox ID="txtThicknessMax" runat="server" Label="壁厚覆盖范围(最大值)" LabelWidth="200px" ></f:TextBox>
|
||||||
</Items>
|
</Items>
|
||||||
</f:FormRow>
|
</f:FormRow>
|
||||||
<f:FormRow>
|
<f:FormRow>
|
||||||
<Items>
|
<Items>
|
||||||
<f:TextBox ID="txtSizesMin" runat="server" Label="管径覆盖范围(最小值)" Enabled="false" LabelWidth="200px" Readonly="true"></f:TextBox>
|
<f:TextBox ID="txtSizesMin" runat="server" Label="管径覆盖范围(最小值)" LabelWidth="200px" ></f:TextBox>
|
||||||
<f:TextBox ID="txtSizesMax" runat="server" Label="管径覆盖范围(最大值)" Enabled="false" LabelWidth="200px" Readonly="true"></f:TextBox>
|
<f:TextBox ID="txtSizesMax" runat="server" Label="管径覆盖范围(最大值)" LabelWidth="200px" ></f:TextBox>
|
||||||
</Items>
|
</Items>
|
||||||
</f:FormRow>
|
</f:FormRow>
|
||||||
</Rows>
|
</Rows>
|
||||||
@@ -89,14 +89,14 @@
|
|||||||
<Rows>
|
<Rows>
|
||||||
<f:FormRow>
|
<f:FormRow>
|
||||||
<Items>
|
<Items>
|
||||||
<f:TextBox ID="txtThicknessMin2" runat="server" Label="壁厚覆盖范围(最小值)" Enabled="false" LabelWidth="200px" Readonly="true"></f:TextBox>
|
<f:TextBox ID="txtThicknessMin2" runat="server" Label="壁厚覆盖范围(最小值)" LabelWidth="200px" ></f:TextBox>
|
||||||
<f:TextBox ID="txtThicknessMax2" runat="server" Label="壁厚覆盖范围(最大值)" Enabled="false" LabelWidth="200px" Readonly="true"></f:TextBox>
|
<f:TextBox ID="txtThicknessMax2" runat="server" Label="壁厚覆盖范围(最大值)" LabelWidth="200px" ></f:TextBox>
|
||||||
</Items>
|
</Items>
|
||||||
</f:FormRow>
|
</f:FormRow>
|
||||||
<f:FormRow>
|
<f:FormRow>
|
||||||
<Items>
|
<Items>
|
||||||
<f:TextBox ID="txtSizesMin2" runat="server" Label="管径覆盖范围(最小值)" Enabled="false" LabelWidth="200px" Readonly="true"></f:TextBox>
|
<f:TextBox ID="txtSizesMin2" runat="server" Label="管径覆盖范围(最小值)" LabelWidth="200px" ></f:TextBox>
|
||||||
<f:TextBox ID="txtSizesMax2" runat="server" Label="管径覆盖范围(最大值)" Enabled="false" LabelWidth="200px" Readonly="true"></f:TextBox>
|
<f:TextBox ID="txtSizesMax2" runat="server" Label="管径覆盖范围(最大值)" LabelWidth="200px" ></f:TextBox>
|
||||||
</Items>
|
</Items>
|
||||||
</f:FormRow>
|
</f:FormRow>
|
||||||
</Rows>
|
</Rows>
|
||||||
|
|||||||
@@ -67,6 +67,23 @@ namespace FineUIPro.Web.CQMS.PersonManage
|
|||||||
{
|
{
|
||||||
this.drpWeldingMode.SelectedValue = welderQualify.WelderMode;
|
this.drpWeldingMode.SelectedValue = welderQualify.WelderMode;
|
||||||
}
|
}
|
||||||
|
if (welderQualify.IsAudit == true)
|
||||||
|
{
|
||||||
|
this.txtQualificationItem.Enabled = false;
|
||||||
|
this.txtWeldingMethod.Enabled = false;
|
||||||
|
this.txtMaterialType.Enabled = false;
|
||||||
|
this.txtWeldingLocation.Enabled = false;
|
||||||
|
this.txtWeldType.Enabled = false;
|
||||||
|
this.ckbIsCanWeldG.Enabled = false;
|
||||||
|
this.txtThicknessMin.Enabled = false;
|
||||||
|
this.txtThicknessMax.Enabled = false;
|
||||||
|
this.txtSizesMin.Enabled = false;
|
||||||
|
this.txtSizesMax.Enabled = false;
|
||||||
|
this.txtThicknessMin2.Enabled = false;
|
||||||
|
this.txtThicknessMax2.Enabled = false;
|
||||||
|
this.txtSizesMin2.Enabled = false;
|
||||||
|
this.txtSizesMax2.Enabled = false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
var w = BLL.SitePerson_PersonService.GetSitePersonByProjectIdPersonId(this.CurrUser.LoginProjectId, this.hdWelderId.Text);
|
var w = BLL.SitePerson_PersonService.GetSitePersonByProjectIdPersonId(this.CurrUser.LoginProjectId, this.hdWelderId.Text);
|
||||||
|
|||||||
@@ -99,9 +99,6 @@
|
|||||||
<HintPath>..\FineUIPro\Reference BLL\Interop.WIA.dll</HintPath>
|
<HintPath>..\FineUIPro\Reference BLL\Interop.WIA.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Microsoft.CSharp" />
|
<Reference Include="Microsoft.CSharp" />
|
||||||
<Reference Include="Microsoft.Office.Interop.Word, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c, processorArchitecture=MSIL">
|
|
||||||
<EmbedInteropTypes>False</EmbedInteropTypes>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="Microsoft.QualityTools.Testing.Fakes, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
<Reference Include="Microsoft.QualityTools.Testing.Fakes, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
</Reference>
|
</Reference>
|
||||||
@@ -12219,6 +12216,35 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<WCFMetadata Include="Service References\" />
|
<WCFMetadata Include="Service References\" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<COMReference Include="Microsoft.Office.Core">
|
||||||
|
<Guid>{2DF8D04C-5BFA-101B-BDE5-00AA0044DE52}</Guid>
|
||||||
|
<VersionMajor>2</VersionMajor>
|
||||||
|
<VersionMinor>4</VersionMinor>
|
||||||
|
<Lcid>0</Lcid>
|
||||||
|
<WrapperTool>primary</WrapperTool>
|
||||||
|
<Isolated>False</Isolated>
|
||||||
|
<EmbedInteropTypes>True</EmbedInteropTypes>
|
||||||
|
</COMReference>
|
||||||
|
<COMReference Include="Microsoft.Office.Interop.Word">
|
||||||
|
<Guid>{00020905-0000-0000-C000-000000000046}</Guid>
|
||||||
|
<VersionMajor>8</VersionMajor>
|
||||||
|
<VersionMinor>4</VersionMinor>
|
||||||
|
<Lcid>0</Lcid>
|
||||||
|
<WrapperTool>primary</WrapperTool>
|
||||||
|
<Isolated>False</Isolated>
|
||||||
|
<EmbedInteropTypes>True</EmbedInteropTypes>
|
||||||
|
</COMReference>
|
||||||
|
<COMReference Include="VBIDE">
|
||||||
|
<Guid>{0002E157-0000-0000-C000-000000000046}</Guid>
|
||||||
|
<VersionMajor>5</VersionMajor>
|
||||||
|
<VersionMinor>3</VersionMinor>
|
||||||
|
<Lcid>0</Lcid>
|
||||||
|
<WrapperTool>primary</WrapperTool>
|
||||||
|
<Isolated>False</Isolated>
|
||||||
|
<EmbedInteropTypes>True</EmbedInteropTypes>
|
||||||
|
</COMReference>
|
||||||
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" />
|
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" />
|
||||||
<ProjectExtensions>
|
<ProjectExtensions>
|
||||||
|
|||||||
@@ -37,19 +37,19 @@
|
|||||||
</f:FormRow>
|
</f:FormRow>
|
||||||
<f:FormRow>
|
<f:FormRow>
|
||||||
<Items>
|
<Items>
|
||||||
<f:TextBox ID="txtWeldingMethod" runat="server" Label="焊接方法" LabelWidth="160px" Enabled="false"></f:TextBox>
|
<f:TextBox ID="txtWeldingMethod" runat="server" Label="焊接方法" LabelWidth="160px" ></f:TextBox>
|
||||||
<f:TextBox ID="txtMaterialType" runat="server" Label="型号、牌号、级别" LabelWidth="160px" Enabled="false"></f:TextBox>
|
<f:TextBox ID="txtMaterialType" runat="server" Label="型号、牌号、级别" LabelWidth="160px" ></f:TextBox>
|
||||||
</Items>
|
</Items>
|
||||||
</f:FormRow>
|
</f:FormRow>
|
||||||
<f:FormRow>
|
<f:FormRow>
|
||||||
<Items>
|
<Items>
|
||||||
<f:TextBox ID="txtWeldingLocation" runat="server" Label="焊接位置" LabelWidth="160px" Enabled="false"></f:TextBox>
|
<f:TextBox ID="txtWeldingLocation" runat="server" Label="焊接位置" LabelWidth="160px" ></f:TextBox>
|
||||||
<f:TextBox ID="txtWeldType" runat="server" Label="可焊焊缝类型" LabelWidth="160px" Enabled="false"></f:TextBox>
|
<f:TextBox ID="txtWeldType" runat="server" Label="可焊焊缝类型" LabelWidth="160px" ></f:TextBox>
|
||||||
</Items>
|
</Items>
|
||||||
</f:FormRow>
|
</f:FormRow>
|
||||||
<f:FormRow>
|
<f:FormRow>
|
||||||
<Items>
|
<Items>
|
||||||
<f:CheckBox ID="ckbIsCanWeldG" runat="server" Label="是否可焊安装口" LabelWidth="160px" Enabled="false"></f:CheckBox>
|
<f:CheckBox ID="ckbIsCanWeldG" runat="server" Label="是否可焊安装口" LabelWidth="160px" ></f:CheckBox>
|
||||||
<f:DropDownList ID="drpWeldingMode" runat="server" Label="机动化程度"
|
<f:DropDownList ID="drpWeldingMode" runat="server" Label="机动化程度"
|
||||||
LabelAlign="Right">
|
LabelAlign="Right">
|
||||||
</f:DropDownList>
|
</f:DropDownList>
|
||||||
@@ -64,14 +64,14 @@
|
|||||||
<Rows>
|
<Rows>
|
||||||
<f:FormRow>
|
<f:FormRow>
|
||||||
<Items>
|
<Items>
|
||||||
<f:TextBox ID="txtThicknessMin" runat="server" Label="壁厚覆盖范围(最小值)" Enabled="false" LabelWidth="200px" Readonly="true"></f:TextBox>
|
<f:TextBox ID="txtThicknessMin" runat="server" Label="壁厚覆盖范围(最小值)" LabelWidth="200px" ></f:TextBox>
|
||||||
<f:TextBox ID="txtThicknessMax" runat="server" Label="壁厚覆盖范围(最大值)" Enabled="false" LabelWidth="200px" Readonly="true"></f:TextBox>
|
<f:TextBox ID="txtThicknessMax" runat="server" Label="壁厚覆盖范围(最大值)" LabelWidth="200px" ></f:TextBox>
|
||||||
</Items>
|
</Items>
|
||||||
</f:FormRow>
|
</f:FormRow>
|
||||||
<f:FormRow>
|
<f:FormRow>
|
||||||
<Items>
|
<Items>
|
||||||
<f:TextBox ID="txtSizesMin" runat="server" Label="管径覆盖范围(最小值)" Enabled="false" LabelWidth="200px" Readonly="true"></f:TextBox>
|
<f:TextBox ID="txtSizesMin" runat="server" Label="管径覆盖范围(最小值)" LabelWidth="200px" ></f:TextBox>
|
||||||
<f:TextBox ID="txtSizesMax" runat="server" Label="管径覆盖范围(最大值)" Enabled="false" LabelWidth="200px" Readonly="true"></f:TextBox>
|
<f:TextBox ID="txtSizesMax" runat="server" Label="管径覆盖范围(最大值)" LabelWidth="200px" ></f:TextBox>
|
||||||
</Items>
|
</Items>
|
||||||
</f:FormRow>
|
</f:FormRow>
|
||||||
</Rows>
|
</Rows>
|
||||||
@@ -89,14 +89,14 @@
|
|||||||
<Rows>
|
<Rows>
|
||||||
<f:FormRow>
|
<f:FormRow>
|
||||||
<Items>
|
<Items>
|
||||||
<f:TextBox ID="txtThicknessMin2" runat="server" Label="壁厚覆盖范围(最小值)" Enabled="false" LabelWidth="200px" Readonly="true"></f:TextBox>
|
<f:TextBox ID="txtThicknessMin2" runat="server" Label="壁厚覆盖范围(最小值)" LabelWidth="200px" ></f:TextBox>
|
||||||
<f:TextBox ID="txtThicknessMax2" runat="server" Label="壁厚覆盖范围(最大值)" Enabled="false" LabelWidth="200px" Readonly="true"></f:TextBox>
|
<f:TextBox ID="txtThicknessMax2" runat="server" Label="壁厚覆盖范围(最大值)" LabelWidth="200px" ></f:TextBox>
|
||||||
</Items>
|
</Items>
|
||||||
</f:FormRow>
|
</f:FormRow>
|
||||||
<f:FormRow>
|
<f:FormRow>
|
||||||
<Items>
|
<Items>
|
||||||
<f:TextBox ID="txtSizesMin2" runat="server" Label="管径覆盖范围(最小值)" Enabled="false" LabelWidth="200px" Readonly="true"></f:TextBox>
|
<f:TextBox ID="txtSizesMin2" runat="server" Label="管径覆盖范围(最小值)" LabelWidth="200px" ></f:TextBox>
|
||||||
<f:TextBox ID="txtSizesMax2" runat="server" Label="管径覆盖范围(最大值)" Enabled="false" LabelWidth="200px" Readonly="true"></f:TextBox>
|
<f:TextBox ID="txtSizesMax2" runat="server" Label="管径覆盖范围(最大值)" LabelWidth="200px" ></f:TextBox>
|
||||||
</Items>
|
</Items>
|
||||||
</f:FormRow>
|
</f:FormRow>
|
||||||
</Rows>
|
</Rows>
|
||||||
|
|||||||
@@ -67,6 +67,23 @@ namespace FineUIPro.Web.HJGL.PersonManage
|
|||||||
{
|
{
|
||||||
this.drpWeldingMode.SelectedValue = welderQualify.WelderMode;
|
this.drpWeldingMode.SelectedValue = welderQualify.WelderMode;
|
||||||
}
|
}
|
||||||
|
if (welderQualify.IsAudit == true)
|
||||||
|
{
|
||||||
|
this.txtQualificationItem.Enabled = false;
|
||||||
|
this.txtWeldingMethod.Enabled = false;
|
||||||
|
this.txtMaterialType.Enabled = false;
|
||||||
|
this.txtWeldingLocation.Enabled = false;
|
||||||
|
this.txtWeldType.Enabled = false;
|
||||||
|
this.ckbIsCanWeldG.Enabled = false;
|
||||||
|
this.txtThicknessMin.Enabled = false;
|
||||||
|
this.txtThicknessMax.Enabled = false;
|
||||||
|
this.txtSizesMin.Enabled = false;
|
||||||
|
this.txtSizesMax.Enabled = false;
|
||||||
|
this.txtThicknessMin2.Enabled = false;
|
||||||
|
this.txtThicknessMax2.Enabled = false;
|
||||||
|
this.txtSizesMin2.Enabled = false;
|
||||||
|
this.txtSizesMax2.Enabled = false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
var w = BLL.SitePerson_PersonService.GetSitePersonById(this.hdWelderId.Text);
|
var w = BLL.SitePerson_PersonService.GetSitePersonById(this.hdWelderId.Text);
|
||||||
|
|||||||
@@ -216,9 +216,6 @@
|
|||||||
Icon="Delete" ConfirmText="删除选中行?" ConfirmTarget="Top"
|
Icon="Delete" ConfirmText="删除选中行?" ConfirmTarget="Top"
|
||||||
runat="server" Text="删除">
|
runat="server" Text="删除">
|
||||||
</f:MenuButton>
|
</f:MenuButton>
|
||||||
<f:MenuButton ID="btnView" OnClick="btnView_Click" Icon="Find" EnablePostBack="true"
|
|
||||||
runat="server" Text="查看">
|
|
||||||
</f:MenuButton>
|
|
||||||
</f:Menu>
|
</f:Menu>
|
||||||
</form>
|
</form>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ namespace FineUIPro.Web.HJGL.PersonManage
|
|||||||
{
|
{
|
||||||
if (!string.IsNullOrEmpty(this.tvControlItem.SelectedNodeID))
|
if (!string.IsNullOrEmpty(this.tvControlItem.SelectedNodeID))
|
||||||
{
|
{
|
||||||
Model.SitePerson_Person welder = BLL.SitePerson_PersonService.GetSitePersonById(this.tvControlItem.SelectedNodeID);
|
Model.SitePerson_Person welder = BLL.SitePerson_PersonService.GetSitePersonByProjectIdPersonId(this.CurrUser.LoginProjectId, this.tvControlItem.SelectedNodeID);
|
||||||
if (welder != null)
|
if (welder != null)
|
||||||
{
|
{
|
||||||
this.btnEdit.Hidden = false;
|
this.btnEdit.Hidden = false;
|
||||||
|
|||||||
@@ -308,14 +308,5 @@ namespace FineUIPro.Web.HJGL.PersonManage {
|
|||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.MenuButton btnMenuDelete;
|
protected global::FineUIPro.MenuButton btnMenuDelete;
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// btnView 控件。
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// 自动生成的字段。
|
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
|
||||||
/// </remarks>
|
|
||||||
protected global::FineUIPro.MenuButton btnView;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -225,6 +225,11 @@ namespace FineUIPro.Web.HJGL.WPQ
|
|||||||
Alert.ShowInTop("焊丝、焊条不能同时为空!", MessageBoxIcon.Warning);
|
Alert.ShowInTop("焊丝、焊条不能同时为空!", MessageBoxIcon.Warning);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (this.rblIsAgree.SelectedValue == "false" && (this.drpPerson.SelectedValue == BLL.Const._Null || string.IsNullOrEmpty(this.drpPerson.SelectedValue)))
|
||||||
|
{
|
||||||
|
Alert.ShowInTop("请选择办理人!", MessageBoxIcon.Warning);
|
||||||
|
return;
|
||||||
|
}
|
||||||
string id = SaveData(BLL.Const.BtnSubmit);
|
string id = SaveData(BLL.Const.BtnSubmit);
|
||||||
ShowNotify("提交成功!", MessageBoxIcon.Success);
|
ShowNotify("提交成功!", MessageBoxIcon.Success);
|
||||||
PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
|
PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
|
||||||
@@ -352,7 +357,7 @@ namespace FineUIPro.Web.HJGL.WPQ
|
|||||||
{
|
{
|
||||||
string newId = SQLHelper.GetNewID(typeof(Model.WPQ_WPQList));
|
string newId = SQLHelper.GetNewID(typeof(Model.WPQ_WPQList));
|
||||||
wpq.WPQId = newId;
|
wpq.WPQId = newId;
|
||||||
|
wpq.CompileMan = this.CurrUser.PersonId;
|
||||||
if (type == BLL.Const.BtnSubmit)
|
if (type == BLL.Const.BtnSubmit)
|
||||||
{
|
{
|
||||||
if (this.drpPerson.SelectedValue == BLL.Const._Null)
|
if (this.drpPerson.SelectedValue == BLL.Const._Null)
|
||||||
@@ -506,18 +511,14 @@ namespace FineUIPro.Web.HJGL.WPQ
|
|||||||
Model.WPQ_WPQList wpq = BLL.WPQListServiceService.GetWPQById(WPQId);
|
Model.WPQ_WPQList wpq = BLL.WPQListServiceService.GetWPQById(WPQId);
|
||||||
if (wpq != null)
|
if (wpq != null)
|
||||||
{
|
{
|
||||||
Model.WPQ_WPQListFlowOperate flowOperate = Funs.DB.WPQ_WPQListFlowOperate.FirstOrDefault(x => x.WPQId == WPQId && x.OperateName == "施工单位编制");
|
Model.Person_Persons user = BLL.Person_PersonsService.GetPerson_PersonsById(wpq.CompileMan);
|
||||||
if (flowOperate != null)
|
if (user != null)
|
||||||
{
|
{
|
||||||
Model.Person_Persons user = BLL.Person_PersonsService.GetPerson_PersonsById(flowOperate.OperateManId);
|
ListItem[] list = new ListItem[1];
|
||||||
if (user != null)
|
list[0] = new ListItem(user.PersonName ?? "", user.PersonId.ToString());
|
||||||
{
|
drpPerson.DataSource = list;
|
||||||
ListItem[] list = new ListItem[1];
|
drpPerson.DataBind();
|
||||||
list[0] = new ListItem(user.PersonName ?? "", user.PersonId.ToString());
|
drpPerson.SelectedValue = user.PersonId;
|
||||||
drpPerson.DataSource = list;
|
|
||||||
drpPerson.DataBind();
|
|
||||||
drpPerson.SelectedValue = user.PersonId;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -127,7 +127,7 @@
|
|||||||
</f:DatePicker>
|
</f:DatePicker>
|
||||||
</Items>
|
</Items>
|
||||||
</f:FormRow>
|
</f:FormRow>
|
||||||
<f:FormRow ColumnWidths="25% 25% 50%">
|
<f:FormRow ColumnWidths="20% 15% 15% 50%">
|
||||||
<Items>
|
<Items>
|
||||||
<f:RadioButtonList ID="rblSex" runat="server" Label="性别">
|
<f:RadioButtonList ID="rblSex" runat="server" Label="性别">
|
||||||
<f:RadioItem Value="1" Text="男" Selected="true" />
|
<f:RadioItem Value="1" Text="男" Selected="true" />
|
||||||
@@ -135,6 +135,8 @@
|
|||||||
</f:RadioButtonList>
|
</f:RadioButtonList>
|
||||||
<f:CheckBox runat="server" ID="ckIsPost" Label="在职" Checked="true"
|
<f:CheckBox runat="server" ID="ckIsPost" Label="在职" Checked="true"
|
||||||
AutoPostBack="true" OnCheckedChanged="ckIsPost_CheckedChanged"></f:CheckBox>
|
AutoPostBack="true" OnCheckedChanged="ckIsPost_CheckedChanged"></f:CheckBox>
|
||||||
|
<f:CheckBox runat="server" ID="ckIsMultiProject" Label="多项目"
|
||||||
|
AutoPostBack="true" OnCheckedChanged="ckIsMultiProject_CheckedChanged"></f:CheckBox>
|
||||||
<f:DatePicker ID="txtBirthday" runat="server" Label="出生日期">
|
<f:DatePicker ID="txtBirthday" runat="server" Label="出生日期">
|
||||||
</f:DatePicker>
|
</f:DatePicker>
|
||||||
</Items>
|
</Items>
|
||||||
|
|||||||
@@ -92,6 +92,7 @@ namespace FineUIPro.Web.Person
|
|||||||
this.txtJobNum.Text = person.JobNum;
|
this.txtJobNum.Text = person.JobNum;
|
||||||
this.drpUnit.SelectedValue = person.UnitId;
|
this.drpUnit.SelectedValue = person.UnitId;
|
||||||
this.ckIsPost.Checked = person.IsPost ?? true;
|
this.ckIsPost.Checked = person.IsPost ?? true;
|
||||||
|
this.ckIsMultiProject.Checked = person.MultiProject ?? false;
|
||||||
if (!string.IsNullOrEmpty(person.DepartId))
|
if (!string.IsNullOrEmpty(person.DepartId))
|
||||||
{
|
{
|
||||||
this.drpDepart.SelectedValue = person.DepartId;
|
this.drpDepart.SelectedValue = person.DepartId;
|
||||||
@@ -528,6 +529,7 @@ namespace FineUIPro.Web.Person
|
|||||||
Address = this.txtAddress.Text.Trim(),
|
Address = this.txtAddress.Text.Trim(),
|
||||||
SignatureUrl = this.SignatureUrl,
|
SignatureUrl = this.SignatureUrl,
|
||||||
IsPost = this.ckIsPost.Checked,
|
IsPost = this.ckIsPost.Checked,
|
||||||
|
MultiProject=this.ckIsMultiProject.Checked,
|
||||||
};
|
};
|
||||||
|
|
||||||
newPerson.RoleIds = Funs.GetStringByArray(this.drpRole.SelectedValueArray);
|
newPerson.RoleIds = Funs.GetStringByArray(this.drpRole.SelectedValueArray);
|
||||||
@@ -1087,5 +1089,18 @@ namespace FineUIPro.Web.Person
|
|||||||
Alert.ShowInParent("人员不在职,则当前人所在的所有项目都将离场!", MessageBoxIcon.Warning);
|
Alert.ShowInParent("人员不在职,则当前人所在的所有项目都将离场!", MessageBoxIcon.Warning);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
///
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
protected void ckIsMultiProject_CheckedChanged(object sender, CheckedEventArgs e)
|
||||||
|
{
|
||||||
|
if (this.ckIsMultiProject.Checked)
|
||||||
|
{
|
||||||
|
Alert.ShowInParent("人员可在多个项目上同时在岗!", MessageBoxIcon.Warning);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -248,6 +248,15 @@ namespace FineUIPro.Web.Person
|
|||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.CheckBox ckIsPost;
|
protected global::FineUIPro.CheckBox ckIsPost;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// ckIsMultiProject 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.CheckBox ckIsMultiProject;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// txtBirthday 控件。
|
/// txtBirthday 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -20,6 +20,8 @@ namespace FineUIPro.Web.Person
|
|||||||
this.GetButtonPower();
|
this.GetButtonPower();
|
||||||
this.btnNew.OnClientClick = Window1.GetShowReference("ProjectPersonEdit.aspx") + "return false;";
|
this.btnNew.OnClientClick = Window1.GetShowReference("ProjectPersonEdit.aspx") + "return false;";
|
||||||
ProjectService.InitProjectShortNameDropDownList(this.drpProject, false);
|
ProjectService.InitProjectShortNameDropDownList(this.drpProject, false);
|
||||||
|
this.drpProject.SelectedIndex= 0;
|
||||||
|
|
||||||
Funs.FineUIPleaseSelect(drpProject, "按项目查询");
|
Funs.FineUIPleaseSelect(drpProject, "按项目查询");
|
||||||
Funs.FineUIPleaseSelect(drpUnit, "按单位查询");
|
Funs.FineUIPleaseSelect(drpUnit, "按单位查询");
|
||||||
WorkPostService.InitWorkPostDropDownList(this.drpWorkPost, false);
|
WorkPostService.InitWorkPostDropDownList(this.drpWorkPost, false);
|
||||||
|
|||||||
@@ -281,7 +281,11 @@ namespace FineUIPro.Web.Person
|
|||||||
var getProjectPerson = SitePerson_PersonService.GetSitePersonById(this.SitePersonId);
|
var getProjectPerson = SitePerson_PersonService.GetSitePersonById(this.SitePersonId);
|
||||||
if (getProjectPerson != null)
|
if (getProjectPerson != null)
|
||||||
{
|
{
|
||||||
this.txtIdentityCard.Text = getProjectPerson.IdentityCard;
|
if (!string.IsNullOrEmpty(getProjectPerson.IdentityCard))
|
||||||
|
{
|
||||||
|
this.txtIdentityCard.Text = getProjectPerson.IdentityCard;
|
||||||
|
}
|
||||||
|
|
||||||
if (!string.IsNullOrEmpty(getProjectPerson.PersonName))
|
if (!string.IsNullOrEmpty(getProjectPerson.PersonName))
|
||||||
{
|
{
|
||||||
this.txtPersonName.Text = getProjectPerson.PersonName;
|
this.txtPersonName.Text = getProjectPerson.PersonName;
|
||||||
@@ -302,7 +306,7 @@ namespace FineUIPro.Web.Person
|
|||||||
{
|
{
|
||||||
this.btnOut.Hidden = false;
|
this.btnOut.Hidden = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.drpProject.SelectedValue = getProjectPerson.ProjectId;
|
this.drpProject.SelectedValue = getProjectPerson.ProjectId;
|
||||||
InitDropDownListProject();
|
InitDropDownListProject();
|
||||||
this.drpUnit.SelectedValue = getProjectPerson.UnitId;
|
this.drpUnit.SelectedValue = getProjectPerson.UnitId;
|
||||||
|
|||||||
+465
-7
@@ -347,6 +347,12 @@ namespace Model
|
|||||||
partial void InsertCheck_TechnicalContactListApprove(Check_TechnicalContactListApprove instance);
|
partial void InsertCheck_TechnicalContactListApprove(Check_TechnicalContactListApprove instance);
|
||||||
partial void UpdateCheck_TechnicalContactListApprove(Check_TechnicalContactListApprove instance);
|
partial void UpdateCheck_TechnicalContactListApprove(Check_TechnicalContactListApprove instance);
|
||||||
partial void DeleteCheck_TechnicalContactListApprove(Check_TechnicalContactListApprove instance);
|
partial void DeleteCheck_TechnicalContactListApprove(Check_TechnicalContactListApprove instance);
|
||||||
|
partial void InsertCommon_FileManage(Common_FileManage instance);
|
||||||
|
partial void UpdateCommon_FileManage(Common_FileManage instance);
|
||||||
|
partial void DeleteCommon_FileManage(Common_FileManage instance);
|
||||||
|
partial void InsertCommon_FileManageType(Common_FileManageType instance);
|
||||||
|
partial void UpdateCommon_FileManageType(Common_FileManageType instance);
|
||||||
|
partial void DeleteCommon_FileManageType(Common_FileManageType instance);
|
||||||
partial void InsertCostGoods_CostManage(CostGoods_CostManage instance);
|
partial void InsertCostGoods_CostManage(CostGoods_CostManage instance);
|
||||||
partial void UpdateCostGoods_CostManage(CostGoods_CostManage instance);
|
partial void UpdateCostGoods_CostManage(CostGoods_CostManage instance);
|
||||||
partial void DeleteCostGoods_CostManage(CostGoods_CostManage instance);
|
partial void DeleteCostGoods_CostManage(CostGoods_CostManage instance);
|
||||||
@@ -2286,6 +2292,22 @@ namespace Model
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public System.Data.Linq.Table<Common_FileManage> Common_FileManage
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this.GetTable<Common_FileManage>();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public System.Data.Linq.Table<Common_FileManageType> Common_FileManageType
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this.GetTable<Common_FileManageType>();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public System.Data.Linq.Table<CostGoods_CostManage> CostGoods_CostManage
|
public System.Data.Linq.Table<CostGoods_CostManage> CostGoods_CostManage
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
@@ -50000,6 +50022,394 @@ namespace Model
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Common_FileManage")]
|
||||||
|
public partial class Common_FileManage : INotifyPropertyChanging, INotifyPropertyChanged
|
||||||
|
{
|
||||||
|
|
||||||
|
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
||||||
|
|
||||||
|
private int _FileId;
|
||||||
|
|
||||||
|
private string _FileCode;
|
||||||
|
|
||||||
|
private string _FileName;
|
||||||
|
|
||||||
|
private string _FileSize;
|
||||||
|
|
||||||
|
private string _FileType;
|
||||||
|
|
||||||
|
private System.Data.Linq.Binary _FileContent;
|
||||||
|
|
||||||
|
private string _BigType;
|
||||||
|
|
||||||
|
private string _SmallType;
|
||||||
|
|
||||||
|
private string _FileCreate;
|
||||||
|
|
||||||
|
private System.Nullable<System.DateTime> _FileDate;
|
||||||
|
|
||||||
|
#region 可扩展性方法定义
|
||||||
|
partial void OnLoaded();
|
||||||
|
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||||
|
partial void OnCreated();
|
||||||
|
partial void OnFileIdChanging(int value);
|
||||||
|
partial void OnFileIdChanged();
|
||||||
|
partial void OnFileCodeChanging(string value);
|
||||||
|
partial void OnFileCodeChanged();
|
||||||
|
partial void OnFileNameChanging(string value);
|
||||||
|
partial void OnFileNameChanged();
|
||||||
|
partial void OnFileSizeChanging(string value);
|
||||||
|
partial void OnFileSizeChanged();
|
||||||
|
partial void OnFileTypeChanging(string value);
|
||||||
|
partial void OnFileTypeChanged();
|
||||||
|
partial void OnFileContentChanging(System.Data.Linq.Binary value);
|
||||||
|
partial void OnFileContentChanged();
|
||||||
|
partial void OnBigTypeChanging(string value);
|
||||||
|
partial void OnBigTypeChanged();
|
||||||
|
partial void OnSmallTypeChanging(string value);
|
||||||
|
partial void OnSmallTypeChanged();
|
||||||
|
partial void OnFileCreateChanging(string value);
|
||||||
|
partial void OnFileCreateChanged();
|
||||||
|
partial void OnFileDateChanging(System.Nullable<System.DateTime> value);
|
||||||
|
partial void OnFileDateChanged();
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
public Common_FileManage()
|
||||||
|
{
|
||||||
|
OnCreated();
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FileId", AutoSync=AutoSync.OnInsert, DbType="Int NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)]
|
||||||
|
public int FileId
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._FileId;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._FileId != value))
|
||||||
|
{
|
||||||
|
this.OnFileIdChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._FileId = value;
|
||||||
|
this.SendPropertyChanged("FileId");
|
||||||
|
this.OnFileIdChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FileCode", DbType="NVarChar(50)")]
|
||||||
|
public string FileCode
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._FileCode;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._FileCode != value))
|
||||||
|
{
|
||||||
|
this.OnFileCodeChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._FileCode = value;
|
||||||
|
this.SendPropertyChanged("FileCode");
|
||||||
|
this.OnFileCodeChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FileName", DbType="NVarChar(100)")]
|
||||||
|
public string FileName
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._FileName;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._FileName != value))
|
||||||
|
{
|
||||||
|
this.OnFileNameChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._FileName = value;
|
||||||
|
this.SendPropertyChanged("FileName");
|
||||||
|
this.OnFileNameChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FileSize", DbType="NVarChar(50)")]
|
||||||
|
public string FileSize
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._FileSize;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._FileSize != value))
|
||||||
|
{
|
||||||
|
this.OnFileSizeChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._FileSize = value;
|
||||||
|
this.SendPropertyChanged("FileSize");
|
||||||
|
this.OnFileSizeChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FileType", DbType="NVarChar(50)")]
|
||||||
|
public string FileType
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._FileType;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._FileType != value))
|
||||||
|
{
|
||||||
|
this.OnFileTypeChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._FileType = value;
|
||||||
|
this.SendPropertyChanged("FileType");
|
||||||
|
this.OnFileTypeChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FileContent", DbType="Image", CanBeNull=true, UpdateCheck=UpdateCheck.Never)]
|
||||||
|
public System.Data.Linq.Binary FileContent
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._FileContent;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._FileContent != value))
|
||||||
|
{
|
||||||
|
this.OnFileContentChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._FileContent = value;
|
||||||
|
this.SendPropertyChanged("FileContent");
|
||||||
|
this.OnFileContentChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BigType", DbType="NVarChar(50)")]
|
||||||
|
public string BigType
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._BigType;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._BigType != value))
|
||||||
|
{
|
||||||
|
this.OnBigTypeChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._BigType = value;
|
||||||
|
this.SendPropertyChanged("BigType");
|
||||||
|
this.OnBigTypeChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SmallType", DbType="NVarChar(50)")]
|
||||||
|
public string SmallType
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._SmallType;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._SmallType != value))
|
||||||
|
{
|
||||||
|
this.OnSmallTypeChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._SmallType = value;
|
||||||
|
this.SendPropertyChanged("SmallType");
|
||||||
|
this.OnSmallTypeChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FileCreate", DbType="NVarChar(50)")]
|
||||||
|
public string FileCreate
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._FileCreate;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._FileCreate != value))
|
||||||
|
{
|
||||||
|
this.OnFileCreateChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._FileCreate = value;
|
||||||
|
this.SendPropertyChanged("FileCreate");
|
||||||
|
this.OnFileCreateChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FileDate", DbType="DateTime")]
|
||||||
|
public System.Nullable<System.DateTime> FileDate
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._FileDate;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._FileDate != value))
|
||||||
|
{
|
||||||
|
this.OnFileDateChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._FileDate = value;
|
||||||
|
this.SendPropertyChanged("FileDate");
|
||||||
|
this.OnFileDateChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public event PropertyChangingEventHandler PropertyChanging;
|
||||||
|
|
||||||
|
public event PropertyChangedEventHandler PropertyChanged;
|
||||||
|
|
||||||
|
protected virtual void SendPropertyChanging()
|
||||||
|
{
|
||||||
|
if ((this.PropertyChanging != null))
|
||||||
|
{
|
||||||
|
this.PropertyChanging(this, emptyChangingEventArgs);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
protected virtual void SendPropertyChanged(String propertyName)
|
||||||
|
{
|
||||||
|
if ((this.PropertyChanged != null))
|
||||||
|
{
|
||||||
|
this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Common_FileManageType")]
|
||||||
|
public partial class Common_FileManageType : INotifyPropertyChanging, INotifyPropertyChanged
|
||||||
|
{
|
||||||
|
|
||||||
|
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
||||||
|
|
||||||
|
private string _FileCode;
|
||||||
|
|
||||||
|
private string _FileType;
|
||||||
|
|
||||||
|
private System.Nullable<int> _SortIndex;
|
||||||
|
|
||||||
|
#region 可扩展性方法定义
|
||||||
|
partial void OnLoaded();
|
||||||
|
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||||
|
partial void OnCreated();
|
||||||
|
partial void OnFileCodeChanging(string value);
|
||||||
|
partial void OnFileCodeChanged();
|
||||||
|
partial void OnFileTypeChanging(string value);
|
||||||
|
partial void OnFileTypeChanged();
|
||||||
|
partial void OnSortIndexChanging(System.Nullable<int> value);
|
||||||
|
partial void OnSortIndexChanged();
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
public Common_FileManageType()
|
||||||
|
{
|
||||||
|
OnCreated();
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FileCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
||||||
|
public string FileCode
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._FileCode;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._FileCode != value))
|
||||||
|
{
|
||||||
|
this.OnFileCodeChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._FileCode = value;
|
||||||
|
this.SendPropertyChanged("FileCode");
|
||||||
|
this.OnFileCodeChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FileType", DbType="NVarChar(50)")]
|
||||||
|
public string FileType
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._FileType;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._FileType != value))
|
||||||
|
{
|
||||||
|
this.OnFileTypeChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._FileType = value;
|
||||||
|
this.SendPropertyChanged("FileType");
|
||||||
|
this.OnFileTypeChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SortIndex", DbType="Int")]
|
||||||
|
public System.Nullable<int> SortIndex
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._SortIndex;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._SortIndex != value))
|
||||||
|
{
|
||||||
|
this.OnSortIndexChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._SortIndex = value;
|
||||||
|
this.SendPropertyChanged("SortIndex");
|
||||||
|
this.OnSortIndexChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public event PropertyChangingEventHandler PropertyChanging;
|
||||||
|
|
||||||
|
public event PropertyChangedEventHandler PropertyChanged;
|
||||||
|
|
||||||
|
protected virtual void SendPropertyChanging()
|
||||||
|
{
|
||||||
|
if ((this.PropertyChanging != null))
|
||||||
|
{
|
||||||
|
this.PropertyChanging(this, emptyChangingEventArgs);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
protected virtual void SendPropertyChanged(String propertyName)
|
||||||
|
{
|
||||||
|
if ((this.PropertyChanged != null))
|
||||||
|
{
|
||||||
|
this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.CostGoods_CostManage")]
|
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.CostGoods_CostManage")]
|
||||||
public partial class CostGoods_CostManage : INotifyPropertyChanging, INotifyPropertyChanged
|
public partial class CostGoods_CostManage : INotifyPropertyChanging, INotifyPropertyChanged
|
||||||
{
|
{
|
||||||
@@ -70769,7 +71179,7 @@ namespace Model
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialName", DbType="NVarChar(30)")]
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialName", DbType="NVarChar(300)")]
|
||||||
public string MaterialName
|
public string MaterialName
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
@@ -70789,7 +71199,7 @@ namespace Model
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialSpec", DbType="NVarChar(20)")]
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialSpec", DbType="NVarChar(300)")]
|
||||||
public string MaterialSpec
|
public string MaterialSpec
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
@@ -70809,7 +71219,7 @@ namespace Model
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialMade", DbType="NVarChar(200)")]
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialMade", DbType="NVarChar(300)")]
|
||||||
public string MaterialMade
|
public string MaterialMade
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
@@ -70829,7 +71239,7 @@ namespace Model
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialDef", DbType="NVarChar(300)")]
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialDef", DbType="NVarChar(3000)")]
|
||||||
public string MaterialDef
|
public string MaterialDef
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
@@ -70849,7 +71259,7 @@ namespace Model
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PipeGrade", DbType="NVarChar(50)")]
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PipeGrade", DbType="NVarChar(300)")]
|
||||||
public string PipeGrade
|
public string PipeGrade
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
@@ -70869,7 +71279,7 @@ namespace Model
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialUnit", DbType="NVarChar(10)")]
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialUnit", DbType="NVarChar(300)")]
|
||||||
public string MaterialUnit
|
public string MaterialUnit
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
@@ -71191,7 +71601,7 @@ namespace Model
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SpecificationAndModel", DbType="NVarChar(50)")]
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SpecificationAndModel", DbType="NVarChar(1000)")]
|
||||||
public string SpecificationAndModel
|
public string SpecificationAndModel
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
@@ -116316,6 +116726,8 @@ namespace Model
|
|||||||
|
|
||||||
private string _PersonType;
|
private string _PersonType;
|
||||||
|
|
||||||
|
private System.Nullable<bool> _MultiProject;
|
||||||
|
|
||||||
private EntitySet<Accident_AccidentHandle> _Accident_AccidentHandle;
|
private EntitySet<Accident_AccidentHandle> _Accident_AccidentHandle;
|
||||||
|
|
||||||
private EntitySet<Accident_AccidentPersonRecord> _Accident_AccidentPersonRecord;
|
private EntitySet<Accident_AccidentPersonRecord> _Accident_AccidentPersonRecord;
|
||||||
@@ -116908,6 +117320,8 @@ namespace Model
|
|||||||
partial void OnCertificateIdChanged();
|
partial void OnCertificateIdChanged();
|
||||||
partial void OnPersonTypeChanging(string value);
|
partial void OnPersonTypeChanging(string value);
|
||||||
partial void OnPersonTypeChanged();
|
partial void OnPersonTypeChanged();
|
||||||
|
partial void OnMultiProjectChanging(System.Nullable<bool> value);
|
||||||
|
partial void OnMultiProjectChanged();
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
public Person_Persons()
|
public Person_Persons()
|
||||||
@@ -118365,6 +118779,26 @@ namespace Model
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MultiProject", DbType="Bit")]
|
||||||
|
public System.Nullable<bool> MultiProject
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._MultiProject;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._MultiProject != value))
|
||||||
|
{
|
||||||
|
this.OnMultiProjectChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._MultiProject = value;
|
||||||
|
this.SendPropertyChanged("MultiProject");
|
||||||
|
this.OnMultiProjectChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Accident_AccidentHandle_Person_Persons", Storage="_Accident_AccidentHandle", ThisKey="PersonId", OtherKey="CompileMan", DeleteRule="NO ACTION")]
|
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Accident_AccidentHandle_Person_Persons", Storage="_Accident_AccidentHandle", ThisKey="PersonId", OtherKey="CompileMan", DeleteRule="NO ACTION")]
|
||||||
public EntitySet<Accident_AccidentHandle> Accident_AccidentHandle
|
public EntitySet<Accident_AccidentHandle> Accident_AccidentHandle
|
||||||
{
|
{
|
||||||
@@ -234458,6 +234892,8 @@ namespace Model
|
|||||||
|
|
||||||
private string _ProjectId;
|
private string _ProjectId;
|
||||||
|
|
||||||
|
private string _CompileMan;
|
||||||
|
|
||||||
private EntitySet<HJGL_WeldJoint> _HJGL_WeldJoint;
|
private EntitySet<HJGL_WeldJoint> _HJGL_WeldJoint;
|
||||||
|
|
||||||
private EntityRef<Base_Material> _Base_Material;
|
private EntityRef<Base_Material> _Base_Material;
|
||||||
@@ -234566,6 +235002,8 @@ namespace Model
|
|||||||
partial void OnProtectionGasIdChanged();
|
partial void OnProtectionGasIdChanged();
|
||||||
partial void OnProjectIdChanging(string value);
|
partial void OnProjectIdChanging(string value);
|
||||||
partial void OnProjectIdChanged();
|
partial void OnProjectIdChanged();
|
||||||
|
partial void OnCompileManChanging(string value);
|
||||||
|
partial void OnCompileManChanged();
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
public WPQ_WPQList()
|
public WPQ_WPQList()
|
||||||
@@ -235500,6 +235938,26 @@ namespace Model
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileMan", DbType="NVarChar(50)")]
|
||||||
|
public string CompileMan
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._CompileMan;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._CompileMan != value))
|
||||||
|
{
|
||||||
|
this.OnCompileManChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._CompileMan = value;
|
||||||
|
this.SendPropertyChanged("CompileMan");
|
||||||
|
this.OnCompileManChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_WeldJoint_WPQ_WPQList", Storage="_HJGL_WeldJoint", ThisKey="WPQId", OtherKey="WPQId", DeleteRule="NO ACTION")]
|
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_WeldJoint_WPQ_WPQList", Storage="_HJGL_WeldJoint", ThisKey="WPQId", OtherKey="WPQId", DeleteRule="NO ACTION")]
|
||||||
public EntitySet<HJGL_WeldJoint> HJGL_WeldJoint
|
public EntitySet<HJGL_WeldJoint> HJGL_WeldJoint
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user