Merge branch 'master' of https://gitee.com/frane-yang/SGGL_SeDin_New
This commit is contained in:
commit
efe036aaff
|
|
@ -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">
|
||||
<HintPath>..\FineUIPro\Reference BLL\ThoughtWorks.QRCode.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="ThoughtWorks.QRCode.Fakes">
|
||||
<HintPath>..\FineUIPro\Reference BLL\ThoughtWorks.QRCode.Fakes.dll</HintPath>
|
||||
</Reference>
|
||||
<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>
|
||||
<Compile Include="API\APIBaseInfoService.cs" />
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@ namespace BLL
|
|||
newWPQ.WPQCode = WPQ.WPQCode;
|
||||
newWPQ.ProjectId = WPQ.ProjectId;
|
||||
newWPQ.UnitId = WPQ.UnitId;
|
||||
newWPQ.CompileMan = WPQ.CompileMan;
|
||||
newWPQ.CompileDate = WPQ.CompileDate;
|
||||
newWPQ.MaterialId1 = WPQ.MaterialId1;
|
||||
newWPQ.MaterialId2 = WPQ.MaterialId2;
|
||||
|
|
|
|||
|
|
@ -145,16 +145,19 @@ namespace BLL
|
|||
};
|
||||
|
||||
AddPersonItem(newPersonItem);
|
||||
var getOtherPersons = db.SitePerson_Person.Where(x => x.IdentityCard == sitePerson.IdentityCard && x.ProjectId != sitePerson.ProjectId && x.States == Const.ProjectPersonStates_1);
|
||||
if (getOtherPersons.Count() > 0)
|
||||
if (!getPersons.MultiProject.HasValue || getPersons.MultiProject == false)
|
||||
{
|
||||
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;
|
||||
item.States = Const.ProjectPersonStates_2;
|
||||
item.OutResult = item.OutResult;
|
||||
db.SubmitChanges();
|
||||
foreach (var item in getOtherPersons)
|
||||
|
||||
{
|
||||
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))
|
||||
{
|
||||
///未离场项目 先离场
|
||||
OutPersonItem(newitem.PersonId, null, DateTime.Now);
|
||||
var getPerson = Person_PersonsService.GetPerson_PersonsById(newitem.PersonId);
|
||||
if (getPerson != null)
|
||||
{
|
||||
newitem.PersonName = getPerson.PersonName;
|
||||
newitem.IdentityCard = getPerson.IdentityCard;
|
||||
}
|
||||
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
|
||||
if (!getPerson.MultiProject.HasValue || getPerson.MultiProject == false)
|
||||
{
|
||||
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;
|
||||
///未离场项目 先离场
|
||||
OutPersonItem(newitem.PersonId, null, DateTime.Now);
|
||||
}
|
||||
|
||||
db.SitePerson_PersonItem.InsertOnSubmit(newPersonItem);
|
||||
db.SubmitChanges();
|
||||
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,
|
||||
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,
|
||||
RetirementDate = person.RetirementDate,
|
||||
RelativeName = person.RelativeName,
|
||||
RelativeTel = person.RelativeTel,
|
||||
};
|
||||
RelativeTel = person.RelativeTel,
|
||||
MultiProject = person.MultiProject,
|
||||
};
|
||||
|
||||
if (string.IsNullOrEmpty(person.QRCodeAttachUrl))
|
||||
{
|
||||
|
|
@ -779,6 +780,7 @@ namespace BLL
|
|||
newPerson.RetirementDate = person.RetirementDate;
|
||||
newPerson.RelativeName = person.RelativeName;
|
||||
newPerson.RelativeTel = person.RelativeTel;
|
||||
newPerson.MultiProject = person.MultiProject;
|
||||
|
||||
newPerson.IsCardNoOK = IDCardValid.CheckIDCard(person.IdentityCard);
|
||||
if (string.IsNullOrEmpty(person.QRCodeAttachUrl))
|
||||
|
|
|
|||
|
|
@ -37,19 +37,19 @@
|
|||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtWeldingMethod" runat="server" Label="焊接方法" LabelWidth="160px" Enabled="false"></f:TextBox>
|
||||
<f:TextBox ID="txtMaterialType" 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" ></f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtWeldingLocation" runat="server" Label="焊接位置" LabelWidth="160px" Enabled="false"></f:TextBox>
|
||||
<f:TextBox ID="txtWeldType" 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" ></f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<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="机动化程度"
|
||||
LabelAlign="Right">
|
||||
</f:DropDownList>
|
||||
|
|
@ -64,14 +64,14 @@
|
|||
<Rows>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtThicknessMin" runat="server" Label="壁厚覆盖范围(最小值)" Enabled="false" LabelWidth="200px" Readonly="true"></f:TextBox>
|
||||
<f:TextBox ID="txtThicknessMax" 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="壁厚覆盖范围(最大值)" LabelWidth="200px" ></f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtSizesMin" runat="server" Label="管径覆盖范围(最小值)" Enabled="false" LabelWidth="200px" Readonly="true"></f:TextBox>
|
||||
<f:TextBox ID="txtSizesMax" 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="管径覆盖范围(最大值)" LabelWidth="200px" ></f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
|
|
@ -89,14 +89,14 @@
|
|||
<Rows>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtThicknessMin2" runat="server" Label="壁厚覆盖范围(最小值)" Enabled="false" LabelWidth="200px" Readonly="true"></f:TextBox>
|
||||
<f:TextBox ID="txtThicknessMax2" 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="壁厚覆盖范围(最大值)" LabelWidth="200px" ></f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtSizesMin2" runat="server" Label="管径覆盖范围(最小值)" Enabled="false" LabelWidth="200px" Readonly="true"></f:TextBox>
|
||||
<f:TextBox ID="txtSizesMax2" 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="管径覆盖范围(最大值)" LabelWidth="200px" ></f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
|
|
|
|||
|
|
@ -67,6 +67,23 @@ namespace FineUIPro.Web.CQMS.PersonManage
|
|||
{
|
||||
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);
|
||||
|
|
|
|||
|
|
@ -99,9 +99,6 @@
|
|||
<HintPath>..\FineUIPro\Reference BLL\Interop.WIA.dll</HintPath>
|
||||
</Reference>
|
||||
<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">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
</Reference>
|
||||
|
|
@ -12219,6 +12216,35 @@
|
|||
<ItemGroup>
|
||||
<WCFMetadata Include="Service References\" />
|
||||
</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="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" />
|
||||
<ProjectExtensions>
|
||||
|
|
|
|||
|
|
@ -37,19 +37,19 @@
|
|||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtWeldingMethod" runat="server" Label="焊接方法" LabelWidth="160px" Enabled="false"></f:TextBox>
|
||||
<f:TextBox ID="txtMaterialType" 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" ></f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtWeldingLocation" runat="server" Label="焊接位置" LabelWidth="160px" Enabled="false"></f:TextBox>
|
||||
<f:TextBox ID="txtWeldType" 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" ></f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<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="机动化程度"
|
||||
LabelAlign="Right">
|
||||
</f:DropDownList>
|
||||
|
|
@ -64,14 +64,14 @@
|
|||
<Rows>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtThicknessMin" runat="server" Label="壁厚覆盖范围(最小值)" Enabled="false" LabelWidth="200px" Readonly="true"></f:TextBox>
|
||||
<f:TextBox ID="txtThicknessMax" 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="壁厚覆盖范围(最大值)" LabelWidth="200px" ></f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtSizesMin" runat="server" Label="管径覆盖范围(最小值)" Enabled="false" LabelWidth="200px" Readonly="true"></f:TextBox>
|
||||
<f:TextBox ID="txtSizesMax" 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="管径覆盖范围(最大值)" LabelWidth="200px" ></f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
|
|
@ -89,14 +89,14 @@
|
|||
<Rows>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtThicknessMin2" runat="server" Label="壁厚覆盖范围(最小值)" Enabled="false" LabelWidth="200px" Readonly="true"></f:TextBox>
|
||||
<f:TextBox ID="txtThicknessMax2" 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="壁厚覆盖范围(最大值)" LabelWidth="200px" ></f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtSizesMin2" runat="server" Label="管径覆盖范围(最小值)" Enabled="false" LabelWidth="200px" Readonly="true"></f:TextBox>
|
||||
<f:TextBox ID="txtSizesMax2" 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="管径覆盖范围(最大值)" LabelWidth="200px" ></f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
|
|
|
|||
|
|
@ -67,6 +67,23 @@ namespace FineUIPro.Web.HJGL.PersonManage
|
|||
{
|
||||
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);
|
||||
|
|
|
|||
|
|
@ -216,9 +216,6 @@
|
|||
Icon="Delete" ConfirmText="删除选中行?" ConfirmTarget="Top"
|
||||
runat="server" Text="删除">
|
||||
</f:MenuButton>
|
||||
<f:MenuButton ID="btnView" OnClick="btnView_Click" Icon="Find" EnablePostBack="true"
|
||||
runat="server" Text="查看">
|
||||
</f:MenuButton>
|
||||
</f:Menu>
|
||||
</form>
|
||||
<script type="text/javascript">
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ namespace FineUIPro.Web.HJGL.PersonManage
|
|||
{
|
||||
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)
|
||||
{
|
||||
this.btnEdit.Hidden = false;
|
||||
|
|
|
|||
|
|
@ -308,14 +308,5 @@ namespace FineUIPro.Web.HJGL.PersonManage {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
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);
|
||||
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);
|
||||
ShowNotify("提交成功!", MessageBoxIcon.Success);
|
||||
PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
|
||||
|
|
@ -352,7 +357,7 @@ namespace FineUIPro.Web.HJGL.WPQ
|
|||
{
|
||||
string newId = SQLHelper.GetNewID(typeof(Model.WPQ_WPQList));
|
||||
wpq.WPQId = newId;
|
||||
|
||||
wpq.CompileMan = this.CurrUser.PersonId;
|
||||
if (type == BLL.Const.BtnSubmit)
|
||||
{
|
||||
if (this.drpPerson.SelectedValue == BLL.Const._Null)
|
||||
|
|
@ -506,18 +511,14 @@ namespace FineUIPro.Web.HJGL.WPQ
|
|||
Model.WPQ_WPQList wpq = BLL.WPQListServiceService.GetWPQById(WPQId);
|
||||
if (wpq != null)
|
||||
{
|
||||
Model.WPQ_WPQListFlowOperate flowOperate = Funs.DB.WPQ_WPQListFlowOperate.FirstOrDefault(x => x.WPQId == WPQId && x.OperateName == "施工单位编制");
|
||||
if (flowOperate != null)
|
||||
Model.Person_Persons user = BLL.Person_PersonsService.GetPerson_PersonsById(wpq.CompileMan);
|
||||
if (user != null)
|
||||
{
|
||||
Model.Person_Persons user = BLL.Person_PersonsService.GetPerson_PersonsById(flowOperate.OperateManId);
|
||||
if (user != null)
|
||||
{
|
||||
ListItem[] list = new ListItem[1];
|
||||
list[0] = new ListItem(user.PersonName ?? "", user.PersonId.ToString());
|
||||
drpPerson.DataSource = list;
|
||||
drpPerson.DataBind();
|
||||
drpPerson.SelectedValue = user.PersonId;
|
||||
}
|
||||
ListItem[] list = new ListItem[1];
|
||||
list[0] = new ListItem(user.PersonName ?? "", user.PersonId.ToString());
|
||||
drpPerson.DataSource = list;
|
||||
drpPerson.DataBind();
|
||||
drpPerson.SelectedValue = user.PersonId;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -127,7 +127,7 @@
|
|||
</f:DatePicker>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow ColumnWidths="25% 25% 50%">
|
||||
<f:FormRow ColumnWidths="20% 15% 15% 50%">
|
||||
<Items>
|
||||
<f:RadioButtonList ID="rblSex" runat="server" Label="性别">
|
||||
<f:RadioItem Value="1" Text="男" Selected="true" />
|
||||
|
|
@ -135,6 +135,8 @@
|
|||
</f:RadioButtonList>
|
||||
<f:CheckBox runat="server" ID="ckIsPost" Label="在职" Checked="true"
|
||||
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>
|
||||
</Items>
|
||||
|
|
|
|||
|
|
@ -92,6 +92,7 @@ namespace FineUIPro.Web.Person
|
|||
this.txtJobNum.Text = person.JobNum;
|
||||
this.drpUnit.SelectedValue = person.UnitId;
|
||||
this.ckIsPost.Checked = person.IsPost ?? true;
|
||||
this.ckIsMultiProject.Checked = person.MultiProject ?? false;
|
||||
if (!string.IsNullOrEmpty(person.DepartId))
|
||||
{
|
||||
this.drpDepart.SelectedValue = person.DepartId;
|
||||
|
|
@ -528,6 +529,7 @@ namespace FineUIPro.Web.Person
|
|||
Address = this.txtAddress.Text.Trim(),
|
||||
SignatureUrl = this.SignatureUrl,
|
||||
IsPost = this.ckIsPost.Checked,
|
||||
MultiProject=this.ckIsMultiProject.Checked,
|
||||
};
|
||||
|
||||
newPerson.RoleIds = Funs.GetStringByArray(this.drpRole.SelectedValueArray);
|
||||
|
|
@ -1087,5 +1089,18 @@ namespace FineUIPro.Web.Person
|
|||
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>
|
||||
protected global::FineUIPro.CheckBox ckIsPost;
|
||||
|
||||
/// <summary>
|
||||
/// ckIsMultiProject 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.CheckBox ckIsMultiProject;
|
||||
|
||||
/// <summary>
|
||||
/// txtBirthday 控件。
|
||||
/// </summary>
|
||||
|
|
|
|||
|
|
@ -20,6 +20,8 @@ namespace FineUIPro.Web.Person
|
|||
this.GetButtonPower();
|
||||
this.btnNew.OnClientClick = Window1.GetShowReference("ProjectPersonEdit.aspx") + "return false;";
|
||||
ProjectService.InitProjectShortNameDropDownList(this.drpProject, false);
|
||||
this.drpProject.SelectedIndex= 0;
|
||||
|
||||
Funs.FineUIPleaseSelect(drpProject, "按项目查询");
|
||||
Funs.FineUIPleaseSelect(drpUnit, "按单位查询");
|
||||
WorkPostService.InitWorkPostDropDownList(this.drpWorkPost, false);
|
||||
|
|
|
|||
|
|
@ -281,7 +281,11 @@ namespace FineUIPro.Web.Person
|
|||
var getProjectPerson = SitePerson_PersonService.GetSitePersonById(this.SitePersonId);
|
||||
if (getProjectPerson != null)
|
||||
{
|
||||
this.txtIdentityCard.Text = getProjectPerson.IdentityCard;
|
||||
if (!string.IsNullOrEmpty(getProjectPerson.IdentityCard))
|
||||
{
|
||||
this.txtIdentityCard.Text = getProjectPerson.IdentityCard;
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(getProjectPerson.PersonName))
|
||||
{
|
||||
this.txtPersonName.Text = getProjectPerson.PersonName;
|
||||
|
|
@ -302,7 +306,7 @@ namespace FineUIPro.Web.Person
|
|||
{
|
||||
this.btnOut.Hidden = false;
|
||||
}
|
||||
|
||||
|
||||
this.drpProject.SelectedValue = getProjectPerson.ProjectId;
|
||||
InitDropDownListProject();
|
||||
this.drpUnit.SelectedValue = getProjectPerson.UnitId;
|
||||
|
|
|
|||
|
|
@ -347,6 +347,12 @@ namespace Model
|
|||
partial void InsertCheck_TechnicalContactListApprove(Check_TechnicalContactListApprove instance);
|
||||
partial void UpdateCheck_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 UpdateCostGoods_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
|
||||
{
|
||||
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")]
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
get
|
||||
|
|
@ -116316,6 +116726,8 @@ namespace Model
|
|||
|
||||
private string _PersonType;
|
||||
|
||||
private System.Nullable<bool> _MultiProject;
|
||||
|
||||
private EntitySet<Accident_AccidentHandle> _Accident_AccidentHandle;
|
||||
|
||||
private EntitySet<Accident_AccidentPersonRecord> _Accident_AccidentPersonRecord;
|
||||
|
|
@ -116908,6 +117320,8 @@ namespace Model
|
|||
partial void OnCertificateIdChanged();
|
||||
partial void OnPersonTypeChanging(string value);
|
||||
partial void OnPersonTypeChanged();
|
||||
partial void OnMultiProjectChanging(System.Nullable<bool> value);
|
||||
partial void OnMultiProjectChanged();
|
||||
#endregion
|
||||
|
||||
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")]
|
||||
public EntitySet<Accident_AccidentHandle> Accident_AccidentHandle
|
||||
{
|
||||
|
|
@ -234458,6 +234892,8 @@ namespace Model
|
|||
|
||||
private string _ProjectId;
|
||||
|
||||
private string _CompileMan;
|
||||
|
||||
private EntitySet<HJGL_WeldJoint> _HJGL_WeldJoint;
|
||||
|
||||
private EntityRef<Base_Material> _Base_Material;
|
||||
|
|
@ -234566,6 +235002,8 @@ namespace Model
|
|||
partial void OnProtectionGasIdChanged();
|
||||
partial void OnProjectIdChanging(string value);
|
||||
partial void OnProjectIdChanged();
|
||||
partial void OnCompileManChanging(string value);
|
||||
partial void OnCompileManChanged();
|
||||
#endregion
|
||||
|
||||
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")]
|
||||
public EntitySet<HJGL_WeldJoint> HJGL_WeldJoint
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue