11
This commit is contained in:
Binary file not shown.
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<ProjectView>ProjectFiles</ProjectView>
|
||||
<ProjectView>ShowAllFiles</ProjectView>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
@@ -252,6 +252,12 @@ namespace BLL
|
||||
{
|
||||
newWeldJoint.Electricity = weldJoint.Electricity;
|
||||
}
|
||||
if (weldJoint.IsPMI != null)
|
||||
{
|
||||
newWeldJoint.IsPMI = weldJoint.IsPMI;
|
||||
}
|
||||
|
||||
|
||||
if (!string.IsNullOrEmpty(weldJoint.Voltage))
|
||||
{
|
||||
newWeldJoint.Voltage = weldJoint.Voltage;
|
||||
|
||||
@@ -4473,6 +4473,7 @@
|
||||
</Compile>
|
||||
<Compile Include="WeldingProcess\PMI\PMIDetectionEntry.aspx.cs">
|
||||
<DependentUpon>PMIDetectionEntry.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WeldingProcess\PMI\PMIDetectionEntry.aspx.designer.cs">
|
||||
<DependentUpon>PMIDetectionEntry.aspx</DependentUpon>
|
||||
@@ -4910,7 +4911,6 @@
|
||||
<Content Include="App_GlobalResources\Lan.resx">
|
||||
<Generator>GlobalResourceProxyGenerator</Generator>
|
||||
<LastGenOutput>Lan.Designer.cs</LastGenOutput>
|
||||
<SubType>Designer</SubType>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
<AutoAssignPort>True</AutoAssignPort>
|
||||
<DevelopmentServerPort>0</DevelopmentServerPort>
|
||||
<DevelopmentServerVPath>/</DevelopmentServerVPath>
|
||||
<IISUrl>http://localhost:57613/</IISUrl>
|
||||
<IISUrl>http://localhost:13960/</IISUrl>
|
||||
<NTLMAuthentication>False</NTLMAuthentication>
|
||||
<UseCustomServer>False</UseCustomServer>
|
||||
<CustomServerUrl>
|
||||
|
||||
@@ -197,7 +197,7 @@ namespace FineUIPro.Web.WeldingProcess.PMI
|
||||
|
||||
ShowNotify(Resources.Lan.SaveSuccessfully, MessageBoxIcon.Success);
|
||||
PageContext.RegisterStartupScript(ActiveWindow.GetWriteBackValueReference(this.PMIDelegationId)
|
||||
+ ActiveWindow.GetHideReference());
|
||||
+ ActiveWindow.GetHidePostBackReference());
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -143,16 +143,25 @@
|
||||
DataField="MaterialCode" SortField="MaterialCode" FieldType="String" HeaderTextAlign="Center"
|
||||
TextAlign="Center" Width="120px">
|
||||
</f:RenderField>
|
||||
<f:RenderField HeaderText="<%$ Resources:Lan,TrustDate %>" ColumnID="CreatedTime"
|
||||
DataField="CreatedTime" SortField="CreatedTime" FieldType="Date" Renderer="Date"
|
||||
HeaderTextAlign="Center" TextAlign="Left" Width="120px">
|
||||
</f:RenderField>
|
||||
|
||||
<f:RenderField HeaderText="<%$ Resources:Lan,QualityNo %>" ColumnID="QualityNo" DataField="QualityNo"
|
||||
FieldType="String" TextAlign="Left" Width="150px">
|
||||
</f:RenderField>
|
||||
<f:RenderField HeaderText="<%$ Resources:Lan,Acceptance %>" ColumnID="Acceptance"
|
||||
DataField="Acceptance" FieldType="String" TextAlign="Left" Width="150px">
|
||||
</f:RenderField>
|
||||
<f:RenderField HeaderText="检测日期" ColumnID="CreatedTime"
|
||||
DataField="CreatedTime" SortField="CreatedTime" FieldType="Date" Renderer="Date"
|
||||
HeaderTextAlign="Center" TextAlign="Left" Width="120px">
|
||||
</f:RenderField>
|
||||
<f:RenderField HeaderText="报告日期" FieldType="String" HeaderTextAlign="Center"
|
||||
TextAlign="Left" Width="100px">
|
||||
</f:RenderField>
|
||||
<f:RenderField HeaderText="报告编号" FieldType="String" HeaderTextAlign="Center"
|
||||
TextAlign="Left" Width="100px">
|
||||
</f:RenderField>
|
||||
|
||||
|
||||
<f:RenderField HeaderText="<%$ Resources:Lan,IsPass %>" ColumnID="StatusText"
|
||||
DataField="StatusText" SortField="status" FieldType="String" HeaderTextAlign="Center"
|
||||
TextAlign="Left" Width="100px">
|
||||
|
||||
@@ -85,12 +85,12 @@ namespace FineUIPro.Web.common
|
||||
string strSql = @"SELECT (WelderName+'('+WelderCode+') 焊工证过期,有效期为:'+CONVERT(VARCHAR(100),CertificateValidity,23))
|
||||
AS QualificationLimit
|
||||
FROM dbo.Welder_Welder
|
||||
WHERE CertificateValidity<=GETDATE()
|
||||
WHERE CertificateValidity<=GETDATE() AND IsOnDuty=1
|
||||
UNION
|
||||
SELECT (WelderName+'('+WelderCode+') 焊工证还有:'+convert(nvarchar(6),DATEDIFF(day,getdate(),CertificateValidity))+ '天到期')
|
||||
AS QualificationLimit
|
||||
FROM dbo.Welder_Welder
|
||||
where DATEADD(m,-1,CertificateValidity)<GETDATE() and CertificateValidity>GETDATE()";
|
||||
where DATEADD(m,-1,CertificateValidity)<GETDATE() and CertificateValidity>GETDATE() AND IsOnDuty=1";
|
||||
DataTable dt = SQLHelper.GetDataTableRunText(strSql, null);
|
||||
GridWelder.DataSource = dt;
|
||||
GridWelder.DataBind();
|
||||
|
||||
+43
-43
@@ -21300,7 +21300,7 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
||||
public string ProjectId
|
||||
{
|
||||
get
|
||||
@@ -21477,10 +21477,10 @@ namespace Model
|
||||
|
||||
private string _Acceptance;
|
||||
|
||||
private System.Nullable<System.DateTime> _CreatedTime;
|
||||
|
||||
private int _Status;
|
||||
|
||||
private System.Nullable<System.DateTime> _CreatedTime;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
@@ -21495,10 +21495,10 @@ namespace Model
|
||||
partial void OnQualityNoChanged();
|
||||
partial void OnAcceptanceChanging(string value);
|
||||
partial void OnAcceptanceChanged();
|
||||
partial void OnCreatedTimeChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnCreatedTimeChanged();
|
||||
partial void OnStatusChanging(int value);
|
||||
partial void OnStatusChanged();
|
||||
partial void OnCreatedTimeChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnCreatedTimeChanged();
|
||||
#endregion
|
||||
|
||||
public PMI_DelegationDetails()
|
||||
@@ -21606,6 +21606,26 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Status", DbType="Int NOT NULL")]
|
||||
public int Status
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Status;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Status != value))
|
||||
{
|
||||
this.OnStatusChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Status = value;
|
||||
this.SendPropertyChanged("Status");
|
||||
this.OnStatusChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatedTime", DbType="DateTime")]
|
||||
public System.Nullable<System.DateTime> CreatedTime
|
||||
{
|
||||
@@ -21626,26 +21646,6 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="status", Storage="_Status", DbType="Int NOT NULL")]
|
||||
public int Status
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Status;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Status != value))
|
||||
{
|
||||
this.OnStatusChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Status = value;
|
||||
this.SendPropertyChanged("Status");
|
||||
this.OnStatusChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public event PropertyChangingEventHandler PropertyChanging;
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
@@ -37266,8 +37266,6 @@ namespace Model
|
||||
|
||||
private string _ProjectId;
|
||||
|
||||
private System.Nullable<bool> _IsPMI;
|
||||
|
||||
private string _PipelineCode;
|
||||
|
||||
private string _PipelineId;
|
||||
@@ -37398,22 +37396,6 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="isPMI", Storage="_IsPMI", DbType="Bit")]
|
||||
public System.Nullable<bool> IsPMI
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._IsPMI;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._IsPMI != value))
|
||||
{
|
||||
this._IsPMI = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PipelineCode", DbType="NVarChar(100)")]
|
||||
public string PipelineCode
|
||||
{
|
||||
@@ -39422,6 +39404,8 @@ namespace Model
|
||||
|
||||
private string _PipingClassCode;
|
||||
|
||||
private string _PIPClassCode;
|
||||
|
||||
private string _WeldingDate;
|
||||
|
||||
private System.Nullable<bool> _IsCancel;
|
||||
@@ -40530,6 +40514,22 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PIPClassCode", DbType="NVarChar(50)")]
|
||||
public string PIPClassCode
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._PIPClassCode;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._PIPClassCode != value))
|
||||
{
|
||||
this._PIPClassCode = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingDate", DbType="VarChar(100)")]
|
||||
public string WeldingDate
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<ProjectView>ProjectFiles</ProjectView>
|
||||
<ProjectView>ShowAllFiles</ProjectView>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
Reference in New Issue
Block a user