1
This commit is contained in:
@@ -9,7 +9,7 @@ namespace BLL
|
||||
public static class HotProessManageService
|
||||
{
|
||||
|
||||
public static Model.CNPCDB db = Funs.DB;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 记录数
|
||||
@@ -33,6 +33,7 @@ namespace BLL
|
||||
/// <returns></returns>
|
||||
public static IEnumerable GetListData(string projectId, string pipelineManageCode,string jointInfoCode, string hotProessReportCode, string hotHardManageCode, int startRowIndex, int maximumRows)
|
||||
{
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
IQueryable<Model.ProcessControl_HotProessManage> q = from x in db.ProcessControl_HotProessManage
|
||||
where x.ProjectId == projectId
|
||||
orderby x.HotHardManageCode descending
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace BLL
|
||||
{
|
||||
public class InspectionManagementDetailService
|
||||
{
|
||||
public static Model.CNPCDB db = Funs.DB;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 获取共检记录明细
|
||||
@@ -19,6 +19,7 @@ namespace BLL
|
||||
/// <returns></returns>
|
||||
public static IEnumerable getListData(string InspectionId)
|
||||
{
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
return from x in db.ProcessControl_InspectionManagementDetail
|
||||
where x.InspectionId == InspectionId
|
||||
select new
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace BLL
|
||||
/// </summary>
|
||||
public static class InspectionManagementService
|
||||
{
|
||||
public static Model.CNPCDB db = Funs.DB;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 记录数
|
||||
@@ -36,6 +36,7 @@ namespace BLL
|
||||
/// <returns></returns>
|
||||
public static IEnumerable GetListData(string projectId, string UnitWorkId, string cNProfessionalId, string startDate, string endDate, int startRowIndex, int maximumRows)
|
||||
{
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
IQueryable<Model.ProcessControl_InspectionManagement> q = from x in db.ProcessControl_InspectionManagement
|
||||
where x.ProjectId == projectId && x.FileType == null
|
||||
orderby x.InspectionDate descending
|
||||
@@ -80,6 +81,7 @@ namespace BLL
|
||||
}
|
||||
public static IEnumerable GetListDataForDataType(string controlPointType, string projectId, string UnitWorkId, string cNProfessionalId, string startDate, string endDate, int startRowIndex, int maximumRows)
|
||||
{
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
IQueryable<Model.ProcessControl_InspectionManagement> q = from x in db.ProcessControl_InspectionManagement
|
||||
where x.ProjectId == projectId && x.FileType == null
|
||||
orderby x.InspectionDate descending
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace BLL
|
||||
/// </summary>
|
||||
public static class NondestructiveTestService
|
||||
{
|
||||
public static Model.CNPCDB db = Funs.DB;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 记录数
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace BLL
|
||||
/// </summary>
|
||||
public static class TestPackageManagementService
|
||||
{
|
||||
public static Model.CNPCDB db = Funs.DB;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 记录数
|
||||
@@ -33,6 +33,7 @@ namespace BLL
|
||||
/// <returns></returns>
|
||||
public static IEnumerable GetListData(string projectId, string UnitWorkId, string completedState, int startRowIndex, int maximumRows)
|
||||
{
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
IQueryable<Model.ProcessControl_TestPackageManagement> q = from x in db.ProcessControl_TestPackageManagement
|
||||
where x.ProjectId == projectId
|
||||
orderby x.TestPackageManagementCode descending
|
||||
|
||||
Reference in New Issue
Block a user