20260224 交工资料
This commit is contained in:
parent
dd57620f93
commit
40eab764a1
|
|
@ -391,7 +391,7 @@ namespace FineUIPro.Web.JGZL
|
|||
Dictionary<string, string> keyValuePairs = new Dictionary<string, string>();
|
||||
//keyValuePairs.Add("ProjectName", BLL.Base_ProjectService.GetProjectByProjectId(projectId).ProjectName);
|
||||
BLL.Common.FastReportService.AddFastreportParameter(keyValuePairs);
|
||||
}
|
||||
|
||||
initTemplatePath = "File\\Fastreport\\JGZL\\管道吹扫、清洗检验记录.frx";
|
||||
if (File.Exists(rootPath + initTemplatePath))
|
||||
{
|
||||
|
|
@ -399,6 +399,12 @@ namespace FineUIPro.Web.JGZL
|
|||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop("请先保存数据!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
|
|
|
|||
|
|
@ -371,7 +371,7 @@ namespace FineUIPro.Web.JGZL
|
|||
BLL.Common.FastReportService.ResetData();
|
||||
|
||||
var report = (from x in Funs.DB.JGZL_PressureTestOfPipelineSystemConfirmationRecord where x.ProjectId == projectId select x);
|
||||
if (report != null)
|
||||
if (report.Count() > 0)
|
||||
{
|
||||
Dictionary<string, string> keyValuePairs = new Dictionary<string, string>();
|
||||
keyValuePairs.Add("ProjectName", BLL.Base_ProjectService.GetProjectByProjectId(projectId).ProjectName);
|
||||
|
|
|
|||
|
|
@ -380,7 +380,7 @@ namespace FineUIPro.Web.JGZL
|
|||
keyValuePairs.Add("TestConclusion", report.TestConclusion);
|
||||
keyValuePairs.Add("Remark", report.Remark);
|
||||
BLL.Common.FastReportService.AddFastreportParameter(keyValuePairs);
|
||||
}
|
||||
|
||||
initTemplatePath = "File\\Fastreport\\JGZL\\管道系统压力试验记录.frx";
|
||||
if (File.Exists(rootPath + initTemplatePath))
|
||||
{
|
||||
|
|
@ -388,6 +388,12 @@ namespace FineUIPro.Web.JGZL
|
|||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop("请先保存数据!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in New Issue