Merge branch 'master' of http://47.104.102.122:3000/lpf/CNCEC_SUBQHSE_WUHUAN
This commit is contained in:
commit
73dd18ca2b
|
|
@ -26,7 +26,7 @@ namespace BLL
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 定义变量
|
/// 定义变量
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static IQueryable<Model.Base_InspectionArea> qq = from x in Funs.DB.Base_InspectionArea orderby x.InspectionAreaCode select x;
|
//public static IQueryable<Model.Base_InspectionArea> qq = from x in Funs.DB.Base_InspectionArea orderby x.InspectionAreaCode select x;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取分页列表
|
/// 获取分页列表
|
||||||
|
|
@ -37,7 +37,7 @@ namespace BLL
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public static IEnumerable GetListData(string inspectionAreaName, int startRowIndex, int maximumRows)
|
public static IEnumerable GetListData(string inspectionAreaName, int startRowIndex, int maximumRows)
|
||||||
{
|
{
|
||||||
IQueryable<Model.Base_InspectionArea> q = qq;
|
IQueryable<Model.Base_InspectionArea> q = from x in Funs.DB.Base_InspectionArea orderby x.InspectionAreaCode select x;
|
||||||
if (!string.IsNullOrEmpty(inspectionAreaName))
|
if (!string.IsNullOrEmpty(inspectionAreaName))
|
||||||
{
|
{
|
||||||
q = q.Where(e => e.InspectionAreaName.Contains(inspectionAreaName));
|
q = q.Where(e => e.InspectionAreaName.Contains(inspectionAreaName));
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ namespace BLL
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 定义变量
|
/// 定义变量
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static IQueryable<Model.BS_Welder> qq = from x in Funs.DB.BS_Welder orderby x.WED_Unit, x.WED_Code select x;
|
// public static IQueryable<Model.BS_Welder> qq = from x in Funs.DB.BS_Welder orderby x.WED_Unit, x.WED_Code select x;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取分页列表
|
/// 获取分页列表
|
||||||
|
|
@ -39,7 +39,7 @@ namespace BLL
|
||||||
public static IEnumerable getListData(string project, string drpUnitS, string isOnGuard, string txtCodeS, string txtNameS, string txtWorkCodeS, string txtClassS, int startRowIndex, int maximumRows)
|
public static IEnumerable getListData(string project, string drpUnitS, string isOnGuard, string txtCodeS, string txtNameS, string txtWorkCodeS, string txtClassS, int startRowIndex, int maximumRows)
|
||||||
{
|
{
|
||||||
Model.SGGLDB db = Funs.DB;
|
Model.SGGLDB db = Funs.DB;
|
||||||
IQueryable<Model.BS_Welder> q = qq;
|
IQueryable<Model.BS_Welder> q = from x in Funs.DB.BS_Welder orderby x.WED_Unit, x.WED_Code select x;
|
||||||
if (!string.IsNullOrEmpty(project))
|
if (!string.IsNullOrEmpty(project))
|
||||||
{
|
{
|
||||||
q = q.Where(e => e.ProjectId == project);
|
q = q.Where(e => e.ProjectId == project);
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ namespace BLL
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 定义变量
|
/// 定义变量
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static IQueryable<Model.Check_CheckMonth> qq = from x in Funs.DB.Check_CheckMonth orderby x.Months descending select x;
|
//public static IQueryable<Model.Check_CheckMonth> qq = from x in Funs.DB.Check_CheckMonth orderby x.Months descending select x;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取分页列表
|
/// 获取分页列表
|
||||||
|
|
@ -36,7 +36,7 @@ namespace BLL
|
||||||
public static IEnumerable GetListData(string projectId, int startRowIndex, int maximumRows)
|
public static IEnumerable GetListData(string projectId, int startRowIndex, int maximumRows)
|
||||||
{
|
{
|
||||||
Model.SGGLDB db = Funs.DB;
|
Model.SGGLDB db = Funs.DB;
|
||||||
IQueryable<Model.Check_CheckMonth> q = qq;
|
IQueryable<Model.Check_CheckMonth> q = from x in Funs.DB.Check_CheckMonth orderby x.Months descending select x;
|
||||||
if (!string.IsNullOrEmpty(projectId))
|
if (!string.IsNullOrEmpty(projectId))
|
||||||
{
|
{
|
||||||
q = q.Where(e => e.ProjectId == projectId);
|
q = q.Where(e => e.ProjectId == projectId);
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ namespace BLL
|
||||||
{
|
{
|
||||||
public class AccidentDesciptionCService
|
public class AccidentDesciptionCService
|
||||||
{
|
{
|
||||||
private static Model.SGGLDB db = Funs.DB;
|
// private static Model.SGGLDB db = Funs.DB;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 根据月报Id获取事故说明
|
/// 根据月报Id获取事故说明
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ namespace BLL
|
||||||
{
|
{
|
||||||
public class AccidentDesciptionItemCService
|
public class AccidentDesciptionItemCService
|
||||||
{
|
{
|
||||||
private static Model.SGGLDB db = Funs.DB;
|
//private static Model.SGGLDB db = Funs.DB;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 根据月报Id获取管理绩效数据统计
|
/// 根据月报Id获取管理绩效数据统计
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ namespace BLL
|
||||||
{
|
{
|
||||||
public static class ActivitiesCService
|
public static class ActivitiesCService
|
||||||
{
|
{
|
||||||
private static Model.SGGLDB db = Funs.DB;
|
//private static Model.SGGLDB db = Funs.DB;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 根据月报Id获取HSSE活动
|
/// 根据月报Id获取HSSE活动
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ namespace BLL
|
||||||
{
|
{
|
||||||
public static class CheckCService
|
public static class CheckCService
|
||||||
{
|
{
|
||||||
private static Model.SGGLDB db = Funs.DB;
|
//private static Model.SGGLDB db = Funs.DB;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 根据月报Id获取HSSE检查
|
/// 根据月报Id获取HSSE检查
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ namespace BLL
|
||||||
{
|
{
|
||||||
public static class CostInvestmentPlanCService
|
public static class CostInvestmentPlanCService
|
||||||
{
|
{
|
||||||
private static Model.SGGLDB db = Funs.DB;
|
//private static Model.SGGLDB db = Funs.DB;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 根据月报Id获取HSE费用投入计划
|
/// 根据月报Id获取HSE费用投入计划
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ namespace BLL
|
||||||
{
|
{
|
||||||
public static class EmergencyExercisesCService
|
public static class EmergencyExercisesCService
|
||||||
{
|
{
|
||||||
private static Model.SGGLDB db = Funs.DB;
|
//private static Model.SGGLDB db = Funs.DB;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 根据月报Id获取应急演练活动
|
/// 根据月报Id获取应急演练活动
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ namespace BLL
|
||||||
{
|
{
|
||||||
public static class EmergencyPlanCService
|
public static class EmergencyPlanCService
|
||||||
{
|
{
|
||||||
private static Model.SGGLDB db = Funs.DB;
|
//private static Model.SGGLDB db = Funs.DB;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 根据月报Id获取应急预案修编
|
/// 根据月报Id获取应急预案修编
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ namespace BLL
|
||||||
{
|
{
|
||||||
public class FileManageCService
|
public class FileManageCService
|
||||||
{
|
{
|
||||||
private static Model.SGGLDB db = Funs.DB;
|
//private static Model.SGGLDB db = Funs.DB;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 根据月报Id获取文件管理信息
|
/// 根据月报Id获取文件管理信息
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ namespace BLL
|
||||||
{
|
{
|
||||||
public class FiveExpenseCService
|
public class FiveExpenseCService
|
||||||
{
|
{
|
||||||
private static Model.SGGLDB db = Funs.DB;
|
//private static Model.SGGLDB db = Funs.DB;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 根据月报Id获取五环HSE费用投入
|
/// 根据月报Id获取五环HSE费用投入
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ namespace BLL
|
||||||
{
|
{
|
||||||
public class HazardCService
|
public class HazardCService
|
||||||
{
|
{
|
||||||
private static Model.SGGLDB db = Funs.DB;
|
//private static Model.SGGLDB db = Funs.DB;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 根据月报Id获取危险源动态识别及控制
|
/// 根据月报Id获取危险源动态识别及控制
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ namespace BLL
|
||||||
{
|
{
|
||||||
public static class ManageDocPlanCService
|
public static class ManageDocPlanCService
|
||||||
{
|
{
|
||||||
private static Model.SGGLDB db = Funs.DB;
|
//private static Model.SGGLDB db = Funs.DB;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 根据月报Id获取HSE管理文件/方案修编计划
|
/// 根据月报Id获取HSE管理文件/方案修编计划
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ namespace BLL
|
||||||
{
|
{
|
||||||
public static class MeetingCService
|
public static class MeetingCService
|
||||||
{
|
{
|
||||||
private static Model.SGGLDB db = Funs.DB;
|
//private static Model.SGGLDB db = Funs.DB;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 根据日报Id获取会议
|
/// 根据日报Id获取会议
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ namespace BLL
|
||||||
{
|
{
|
||||||
public class OtherWorkCService
|
public class OtherWorkCService
|
||||||
{
|
{
|
||||||
private static Model.SGGLDB db = Funs.DB;
|
//private static Model.SGGLDB db = Funs.DB;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 根据月报ID获取其他工作情况列表
|
/// 根据月报ID获取其他工作情况列表
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ namespace BLL
|
||||||
{
|
{
|
||||||
public static class OtherWorkPlanCService
|
public static class OtherWorkPlanCService
|
||||||
{
|
{
|
||||||
private static Model.SGGLDB db = Funs.DB;
|
//private static Model.SGGLDB db = Funs.DB;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 根据月报Id获取所有相关其他HSE工作计划
|
/// 根据月报Id获取所有相关其他HSE工作计划
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ namespace BLL
|
||||||
{
|
{
|
||||||
public class ReviewRecordCService
|
public class ReviewRecordCService
|
||||||
{
|
{
|
||||||
private static Model.SGGLDB db = Funs.DB;
|
//private static Model.SGGLDB db = Funs.DB;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 根据月报Id获取详细审查记录
|
/// 根据月报Id获取详细审查记录
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ namespace BLL
|
||||||
{
|
{
|
||||||
public class SubExpenseCService
|
public class SubExpenseCService
|
||||||
{
|
{
|
||||||
private static Model.SGGLDB db = Funs.DB;
|
//private static Model.SGGLDB db = Funs.DB;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 根据月报Id获取所有相关分包商HSE费用投入
|
/// 根据月报Id获取所有相关分包商HSE费用投入
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ namespace BLL
|
||||||
{
|
{
|
||||||
public static class TrainCService
|
public static class TrainCService
|
||||||
{
|
{
|
||||||
private static Model.SGGLDB db = Funs.DB;
|
//private static Model.SGGLDB db = Funs.DB;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 根据月报Id获取HSSE培训
|
/// 根据月报Id获取HSSE培训
|
||||||
|
|
|
||||||
|
|
@ -20498,7 +20498,7 @@
|
||||||
</FlavorProperties>
|
</FlavorProperties>
|
||||||
</VisualStudio>
|
</VisualStudio>
|
||||||
</ProjectExtensions>
|
</ProjectExtensions>
|
||||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v18.0\WebApplications\Microsoft.WebApplication.targets" />
|
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v17.0\WebApplications\Microsoft.WebApplication.targets" />
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
Other similar extension points exist, see Microsoft.Common.targets.
|
Other similar extension points exist, see Microsoft.Common.targets.
|
||||||
<Target Name="BeforeBuild">
|
<Target Name="BeforeBuild">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue