增加项目使用情况汇总
This commit is contained in:
@@ -808,6 +808,7 @@
|
||||
<Compile Include="ZHGL\Information\MillionsMonthlyReportService.cs" />
|
||||
<Compile Include="ZHGL\Information\SafetyQuarterlyReportService.cs" />
|
||||
<Compile Include="ZHGL\Information\WorkSummaryReportService.cs" />
|
||||
<Compile Include="ZHGL\InspectionSummary\InspectionSummaryService.cs" />
|
||||
<Compile Include="ZHGL\Meeting\CompanySafetyMeetingService.cs" />
|
||||
<Compile Include="ZHGL\Meeting\CompanySpecialMeetingService.cs" />
|
||||
<Compile Include="ZHGL\Person\CompanyBranchPersonService.cs" />
|
||||
|
||||
@@ -0,0 +1,58 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
/// <summary>
|
||||
/// 各项目巡查汇总
|
||||
/// </summary>
|
||||
namespace BLL
|
||||
{
|
||||
public class InspectionSummaryService
|
||||
{
|
||||
public static Model.SGGLDB db = Funs.DB;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 批量添加
|
||||
/// </summary>
|
||||
/// <param name="model"></param>
|
||||
public static void AddAll(List<Model.Inspection_Summary> list)
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
db.Inspection_Summary.InsertAllOnSubmit(list);
|
||||
db.SubmitChanges();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 修改(暂无)
|
||||
/// </summary>
|
||||
/// <param name="model"></param>
|
||||
public static void Update(Model.Inspection_Summary model)
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.Inspection_Summary newmodel = db.Inspection_Summary.FirstOrDefault(e => e.InspectionSummaryId == model.InspectionSummaryId);
|
||||
if (newmodel != null)
|
||||
{
|
||||
|
||||
db.SubmitChanges();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 根据年月删除
|
||||
/// </summary>
|
||||
/// <param name="CompileDateMonth"></param>
|
||||
public static void Delete(string CompileDateMonth)
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
List<Model.Inspection_Summary> list = db.Inspection_Summary.Where(e => e.CompileDateMonth == CompileDateMonth).ToList();
|
||||
if (list.Count>0)
|
||||
{
|
||||
///删除编码表记录
|
||||
db.Inspection_Summary.DeleteAllOnSubmit(list);
|
||||
db.SubmitChanges();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -2401,3 +2401,256 @@
|
||||
出错时间:08/24/2023 15:20:00
|
||||
出错时间:08/24/2023 15:20:00
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/30/2023 10:54:21
|
||||
出错时间:08/30/2023 10:54:21
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/30/2023 10:54:21
|
||||
出错时间:08/30/2023 10:54:21
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/30/2023 10:54:22
|
||||
出错时间:08/30/2023 10:54:22
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/30/2023 10:54:22
|
||||
出错时间:08/30/2023 10:54:22
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/30/2023 10:54:22
|
||||
出错时间:08/30/2023 10:54:22
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/30/2023 10:54:23
|
||||
出错时间:08/30/2023 10:54:23
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/30/2023 10:54:23
|
||||
出错时间:08/30/2023 10:54:23
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/30/2023 10:54:23
|
||||
出错时间:08/30/2023 10:54:23
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/30/2023 10:54:24
|
||||
出错时间:08/30/2023 10:54:24
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/30/2023 10:54:24
|
||||
出错时间:08/30/2023 10:54:24
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/30/2023 10:54:24
|
||||
出错时间:08/30/2023 10:54:24
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/30/2023 10:54:24
|
||||
出错时间:08/30/2023 10:54:24
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/30/2023 10:54:24
|
||||
出错时间:08/30/2023 10:54:24
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/30/2023 10:54:24
|
||||
出错时间:08/30/2023 10:54:24
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/30/2023 10:54:25
|
||||
出错时间:08/30/2023 10:54:25
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/30/2023 10:54:25
|
||||
出错时间:08/30/2023 10:54:25
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/30/2023 10:54:25
|
||||
出错时间:08/30/2023 10:54:25
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/30/2023 10:54:25
|
||||
出错时间:08/30/2023 10:54:25
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/30/2023 10:54:26
|
||||
出错时间:08/30/2023 10:54:26
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/30/2023 10:54:26
|
||||
出错时间:08/30/2023 10:54:26
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/30/2023 10:54:27
|
||||
出错时间:08/30/2023 10:54:27
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/30/2023 10:54:28
|
||||
出错时间:08/30/2023 10:54:28
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/30/2023 10:54:28
|
||||
出错时间:08/30/2023 10:54:28
|
||||
|
||||
|
||||
@@ -1859,6 +1859,7 @@
|
||||
<Content Include="ZHGL\Information\SafetyQuarterlyReportEdit.aspx" />
|
||||
<Content Include="ZHGL\Information\WorkSummaryReport.aspx" />
|
||||
<Content Include="ZHGL\Information\WorkSummaryReportEdit.aspx" />
|
||||
<Content Include="ZHGL\InspectionSummary\InspectionSummary.aspx" />
|
||||
<Content Include="ZHGL\ManagementReport\ReportRemind.aspx" />
|
||||
<Content Include="ZHGL\Meeting\CompanySafetyMeeting.aspx" />
|
||||
<Content Include="ZHGL\Meeting\CompanySafetyMeetingEdit.aspx" />
|
||||
@@ -16442,6 +16443,13 @@
|
||||
<Compile Include="ZHGL\Information\WorkSummaryReportEdit.aspx.designer.cs">
|
||||
<DependentUpon>WorkSummaryReportEdit.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="ZHGL\InspectionSummary\InspectionSummary.aspx.cs">
|
||||
<DependentUpon>InspectionSummary.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="ZHGL\InspectionSummary\InspectionSummary.aspx.designer.cs">
|
||||
<DependentUpon>InspectionSummary.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="ZHGL\ManagementReport\ReportRemind.aspx.cs">
|
||||
<DependentUpon>ReportRemind.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
|
||||
@@ -0,0 +1,137 @@
|
||||
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="InspectionSummary.aspx.cs" Inherits="FineUIPro.Web.ZHGL.InspectionSummary.InspectionSummary" %>
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head runat="server">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>各项目巡查汇总</title>
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" OnCustomEvent="PageManager1_CustomEvent" />
|
||||
<f:Panel ID="Panel1" runat="server" Margin="5px" BodyPadding="5px" ShowBorder="false" AutoScroll="true"
|
||||
ShowHeader="false" Layout="VBox" BoxConfigAlign="Stretch">
|
||||
<Items>
|
||||
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="各项目巡查汇总" EnableCollapse="false"
|
||||
runat="server" BoxFlex="1" DataKeyNames="InspectionSummaryId" AllowCellEditing="true"
|
||||
ClicksToEdit="2" DataIDField="InspectionSummaryId" AllowSorting="true" SortField="SortId"
|
||||
SortDirection="DESC" EnableColumnLines="true"
|
||||
AllowPaging="true" IsDatabasePaging="true" PageSize="10" IsFluid="true"
|
||||
EnableRowDoubleClickEvent="true">
|
||||
<Toolbars>
|
||||
<f:Toolbar ID="Toolbar2" Position="Top" runat="server" ToolbarAlign="Left">
|
||||
<Items>
|
||||
|
||||
<f:DatePicker runat="server" DateFormatString="yyyy-MM" EmptyText="请选择年月"
|
||||
ID="drpCompileDateMonth" DisplayType="Month" ShowTodayButton="false" >
|
||||
</f:DatePicker>
|
||||
|
||||
<f:Button ID="btnNew" ToolTip="生成" Hidden="false" Text="生成" Icon="Add" runat="server"
|
||||
OnClick="btnNew_Juge" OnClientClick="refresh();">
|
||||
</f:Button>
|
||||
|
||||
<%-- <f:Button ID="btnGenerate" ToolTip="生成" Hidden="true" Text="生成" Icon="Add" runat="server"
|
||||
OnClick="btnNew_Click" OnClientClick="refresh();">
|
||||
</f:Button>--%>
|
||||
|
||||
<f:Button ID="btnSearch" runat="server" Icon="SystemSearch" ToolTip="查询" OnClientClick="refresh();" OnClick="btnSearch_Click">
|
||||
</f:Button>
|
||||
|
||||
<f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" Text="导出" ToolTip="导出" Icon="FolderUp"
|
||||
EnableAjax="false" DisableControlBeforePostBack="false" >
|
||||
</f:Button>
|
||||
|
||||
|
||||
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
<Columns>
|
||||
<f:RenderField Width="100px" ColumnID="SNumber" DataField="SNumber" SortField="SNumber"
|
||||
FieldType="String" HeaderText="序号" TextAlign="Left" HeaderTextAlign="Center" ID="SNumber" ShowToolTip="true">
|
||||
</f:RenderField>
|
||||
|
||||
<f:RenderField Width="150px" ColumnID="ModuleName" DataField="ModuleName"
|
||||
FieldType="String" HeaderText="模块" TextAlign="Left" HeaderTextAlign="Center">
|
||||
</f:RenderField>
|
||||
|
||||
<f:GroupField Width="200px" HeaderText="功能菜单" TextAlign="Center" >
|
||||
<Columns>
|
||||
<f:BoundField Width="100px" ColumnID="MenuP" DataField="MenuP" HeaderText="菜单" />
|
||||
<f:BoundField Width="100px" DataField="MenuC" ColumnID="MenuC" HeaderText="说明" />
|
||||
</Columns>
|
||||
</f:GroupField>
|
||||
|
||||
|
||||
<%-- <f:GroupField Width="200px" HeaderText="项目1" TextAlign="Center" BoxFlex="1" ExpandUnusedSpace="true" MinWidth="150px">
|
||||
<Columns>
|
||||
<f:BoundField Width="100px" DataField="1" HeaderText="12331" />
|
||||
</Columns>
|
||||
</f:GroupField>--%>
|
||||
</Columns>
|
||||
<Listeners>
|
||||
<f:Listener Event="dataload" Handler="onGridDataLoad" />
|
||||
</Listeners>
|
||||
|
||||
</f:Grid>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
<%--<f:Window ID="Window1" runat="server" Hidden="true" ShowHeader="true"
|
||||
IsModal="true" Target="Parent" EnableMaximize="true" EnableResize="true" OnClose="Window1_Close"
|
||||
Title="编辑安全数据" EnableIFrame="true" Height="650px"
|
||||
Width="1200px">
|
||||
</f:Window>
|
||||
<f:Menu ID="Menu1" runat="server">
|
||||
<f:MenuButton ID="btnMenuEdit" OnClick="btnEdit_Click" EnablePostBack="true"
|
||||
Hidden="true" runat="server" Text="编辑" Icon="TableEdit" >
|
||||
</f:MenuButton>
|
||||
<f:MenuButton ID="btnMenuDelete" OnClick="btnDelete_Click" EnablePostBack="true" Icon="Delete"
|
||||
Hidden="true" ConfirmText="删除选中行?" ConfirmTarget="Parent" runat="server" Text="删除">
|
||||
</f:MenuButton>
|
||||
</f:Menu>--%>
|
||||
</form>
|
||||
<script type="text/javascript">
|
||||
<%-- var menuID = '<%= Menu1.ClientID %>';
|
||||
// 返回false,来阻止浏览器右键菜单
|
||||
function onRowContextMenu(event, rowId) {
|
||||
F(menuID).show(); //showAt(event.pageX, event.pageY);
|
||||
return false;
|
||||
}--%>
|
||||
|
||||
//生成操作
|
||||
function geneRate() {
|
||||
$('[id$="_btnGenerate"]').click();
|
||||
}
|
||||
|
||||
function reloadGrid() {
|
||||
__doPostBack(null, 'reloadGrid');
|
||||
}
|
||||
|
||||
$(function () {
|
||||
console.log($('[id$="_SNumber"]'))
|
||||
})
|
||||
|
||||
var Form1ClientID = '<%= Grid1.ClientID %>';
|
||||
|
||||
|
||||
function refresh() {
|
||||
var form1 = F(Form1ClientID);
|
||||
form1.showLoading();
|
||||
|
||||
}
|
||||
|
||||
function CloseRefresh() {
|
||||
var form1 = F(Form1ClientID);
|
||||
form1.hideLoading();
|
||||
|
||||
}
|
||||
|
||||
function onGridDataLoad(event) {
|
||||
this.mergeColumns(['SNumber']);
|
||||
this.mergeColumns(['ModuleName']);
|
||||
this.mergeColumns(['MenuP']);
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
File diff suppressed because it is too large
Load Diff
+107
@@ -0,0 +1,107 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <自动生成>
|
||||
// 此代码由工具生成。
|
||||
//
|
||||
// 对此文件的更改可能导致不正确的行为,如果
|
||||
// 重新生成代码,则所做更改将丢失。
|
||||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace FineUIPro.Web.ZHGL.InspectionSummary
|
||||
{
|
||||
|
||||
|
||||
public partial class InspectionSummary
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// form1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||
|
||||
/// <summary>
|
||||
/// PageManager1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.PageManager PageManager1;
|
||||
|
||||
/// <summary>
|
||||
/// Panel1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel Panel1;
|
||||
|
||||
/// <summary>
|
||||
/// Grid1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Grid Grid1;
|
||||
|
||||
/// <summary>
|
||||
/// Toolbar2 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Toolbar Toolbar2;
|
||||
|
||||
/// <summary>
|
||||
/// drpCompileDateMonth 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DatePicker drpCompileDateMonth;
|
||||
|
||||
/// <summary>
|
||||
/// btnNew 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnNew;
|
||||
|
||||
/// <summary>
|
||||
/// btnSearch 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnSearch;
|
||||
|
||||
/// <summary>
|
||||
/// btnOut 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnOut;
|
||||
|
||||
/// <summary>
|
||||
/// SNumber 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.RenderField SNumber;
|
||||
}
|
||||
}
|
||||
@@ -692,6 +692,11 @@
|
||||
}
|
||||
|
||||
F.ready(function () {
|
||||
$(".y_row div").click(function () {
|
||||
var $item = $('.f-tabstrip-header')
|
||||
$item.attr('style', ";display:block !important;")
|
||||
});
|
||||
|
||||
$(".item-s li").click(function () {
|
||||
var $item = $('.f-tabstrip-header')
|
||||
$item.attr('style', ";display:block !important;")
|
||||
|
||||
@@ -466,65 +466,89 @@
|
||||
|
||||
function ProjectTGClick() {
|
||||
F(ProjectTGClientID).click();
|
||||
|
||||
}
|
||||
|
||||
function ProjectJGClick() {
|
||||
F(ProjectJGClientID).click();
|
||||
|
||||
}
|
||||
|
||||
function CQMSClick() {
|
||||
parent.removeActiveTab();
|
||||
F(btnCQMSClientID).click();
|
||||
var $item = $('.f-tabstrip-header')
|
||||
$item.attr('style', ";display:block !important;")
|
||||
}
|
||||
|
||||
function HSSEClick() {
|
||||
parent.removeActiveTab();
|
||||
F(btnHSSEClientID).click();
|
||||
var $item = $('.f-tabstrip-header')
|
||||
$item.attr('style', ";display:block !important;")
|
||||
}
|
||||
|
||||
function JDGLClick() {
|
||||
parent.removeActiveTab();
|
||||
F(btnJDGLClientID).click();
|
||||
var $item = $('.f-tabstrip-header')
|
||||
$item.attr('style', ";display:block !important;")
|
||||
}
|
||||
|
||||
function HJGLClick() {
|
||||
parent.removeActiveTab();
|
||||
F(btnHJGLClientID).click();
|
||||
var $item = $('.f-tabstrip-header')
|
||||
$item.attr('style', ";display:block !important;")
|
||||
}
|
||||
|
||||
function CLGLClick() {
|
||||
parent.removeActiveTab();
|
||||
F(btnCLGLClientID).click();
|
||||
var $item = $('.f-tabstrip-header')
|
||||
$item.attr('style', ";display:block !important;")
|
||||
}
|
||||
|
||||
function TestRunClick() {
|
||||
parent.removeActiveTab();
|
||||
F(btnTestRunClientID).click();
|
||||
var $item = $('.f-tabstrip-header')
|
||||
$item.attr('style', ";display:block !important;")
|
||||
}
|
||||
|
||||
function PGJSXClick() {
|
||||
parent.removeActiveTab();
|
||||
F(btnPGJSXClientID).click();
|
||||
var $item = $('.f-tabstrip-header')
|
||||
$item.attr('style', ";display:block !important;")
|
||||
}
|
||||
|
||||
function DigitalSiteClick() {
|
||||
parent.removeActiveTab();
|
||||
F(btnDigitalSiteClientID).click();
|
||||
var $item = $('.f-tabstrip-header')
|
||||
$item.attr('style', ";display:block !important;")
|
||||
}
|
||||
|
||||
function PDigDataClick() {
|
||||
parent.removeActiveTab();
|
||||
F(btnPDigDataClientID).click();
|
||||
var $item = $('.f-tabstrip-header')
|
||||
$item.attr('style', ";display:block !important;")
|
||||
}
|
||||
|
||||
function OpinionClick() {
|
||||
parent.removeActiveTab();
|
||||
F(btnOpinionClientID).click();
|
||||
var $item = $('.f-tabstrip-header')
|
||||
$item.attr('style', ";display:block !important;")
|
||||
}
|
||||
|
||||
function DocClick() {
|
||||
parent.removeActiveTab();
|
||||
F(btnDocClientID).click();
|
||||
F(btnDocClientID).click();
|
||||
var $item = $('.f-tabstrip-header')
|
||||
$item.attr('style', ";display:block !important;")
|
||||
}
|
||||
|
||||
// 展开左侧面板
|
||||
@@ -800,6 +824,15 @@
|
||||
}
|
||||
|
||||
F.ready(function () {
|
||||
$(".y_row div").click(function () {
|
||||
var $item = $('.f-tabstrip-header')
|
||||
$item.attr('style', ";display:block !important;")
|
||||
});
|
||||
|
||||
$(".up-wrap-ul").click(function () {
|
||||
var $item = $('.f-tabstrip-header')
|
||||
$item.attr('style', ";display:block !important;")
|
||||
});
|
||||
$(".up-wrap-ul").click(function () {
|
||||
var $item = $('.f-tabstrip-header')
|
||||
$item.attr('style', ";display:block !important;")
|
||||
@@ -809,7 +842,11 @@
|
||||
var $item = $('.f-tabstrip-header')
|
||||
$item.attr('style', ";display:block !important;")
|
||||
});
|
||||
|
||||
$(".y_title").click(function () {
|
||||
var $item = $('.f-tabstrip-header')
|
||||
$item.attr('style', ";display:none !important;")
|
||||
$(".bgbtn,.bgbtntop").removeClass("activeClick")
|
||||
});
|
||||
$(".item-pbig").click(function () {
|
||||
var $item = $('.f-tabstrip-header')
|
||||
$item.attr('style', ";display:none !important;")
|
||||
|
||||
@@ -1202,6 +1202,12 @@ namespace Model
|
||||
partial void InsertInformationProject_WorkSummaryReport(InformationProject_WorkSummaryReport instance);
|
||||
partial void UpdateInformationProject_WorkSummaryReport(InformationProject_WorkSummaryReport instance);
|
||||
partial void DeleteInformationProject_WorkSummaryReport(InformationProject_WorkSummaryReport instance);
|
||||
partial void InsertInspection_Summary(Inspection_Summary instance);
|
||||
partial void UpdateInspection_Summary(Inspection_Summary instance);
|
||||
partial void DeleteInspection_Summary(Inspection_Summary instance);
|
||||
partial void InsertInspection_SummaryMb(Inspection_SummaryMb instance);
|
||||
partial void UpdateInspection_SummaryMb(Inspection_SummaryMb instance);
|
||||
partial void DeleteInspection_SummaryMb(Inspection_SummaryMb instance);
|
||||
partial void InsertInterFaceLog(InterFaceLog instance);
|
||||
partial void UpdateInterFaceLog(InterFaceLog instance);
|
||||
partial void DeleteInterFaceLog(InterFaceLog instance);
|
||||
@@ -5549,6 +5555,22 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<Inspection_Summary> Inspection_Summary
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.GetTable<Inspection_Summary>();
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<Inspection_SummaryMb> Inspection_SummaryMb
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.GetTable<Inspection_SummaryMb>();
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<InterFaceLog> InterFaceLog
|
||||
{
|
||||
get
|
||||
@@ -197668,6 +197690,370 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Inspection_Summary")]
|
||||
public partial class Inspection_Summary : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
|
||||
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
||||
|
||||
private string _InspectionSummaryId;
|
||||
|
||||
private string _InspectionSummaryMbId;
|
||||
|
||||
private string _ProjectId;
|
||||
|
||||
private string _SummeryResult;
|
||||
|
||||
private System.Nullable<System.DateTime> _CompileDate;
|
||||
|
||||
private string _CompileDateMonth;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
partial void OnCreated();
|
||||
partial void OnInspectionSummaryIdChanging(string value);
|
||||
partial void OnInspectionSummaryIdChanged();
|
||||
partial void OnInspectionSummaryMbIdChanging(string value);
|
||||
partial void OnInspectionSummaryMbIdChanged();
|
||||
partial void OnProjectIdChanging(string value);
|
||||
partial void OnProjectIdChanged();
|
||||
partial void OnSummeryResultChanging(string value);
|
||||
partial void OnSummeryResultChanged();
|
||||
partial void OnCompileDateChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnCompileDateChanged();
|
||||
partial void OnCompileDateMonthChanging(string value);
|
||||
partial void OnCompileDateMonthChanged();
|
||||
#endregion
|
||||
|
||||
public Inspection_Summary()
|
||||
{
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InspectionSummaryId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
||||
public string InspectionSummaryId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._InspectionSummaryId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._InspectionSummaryId != value))
|
||||
{
|
||||
this.OnInspectionSummaryIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._InspectionSummaryId = value;
|
||||
this.SendPropertyChanged("InspectionSummaryId");
|
||||
this.OnInspectionSummaryIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InspectionSummaryMbId", DbType="NVarChar(50)")]
|
||||
public string InspectionSummaryMbId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._InspectionSummaryMbId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._InspectionSummaryMbId != value))
|
||||
{
|
||||
this.OnInspectionSummaryMbIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._InspectionSummaryMbId = value;
|
||||
this.SendPropertyChanged("InspectionSummaryMbId");
|
||||
this.OnInspectionSummaryMbIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")]
|
||||
public string ProjectId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ProjectId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ProjectId != value))
|
||||
{
|
||||
this.OnProjectIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ProjectId = value;
|
||||
this.SendPropertyChanged("ProjectId");
|
||||
this.OnProjectIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SummeryResult", DbType="NVarChar(50)")]
|
||||
public string SummeryResult
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._SummeryResult;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._SummeryResult != value))
|
||||
{
|
||||
this.OnSummeryResultChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._SummeryResult = value;
|
||||
this.SendPropertyChanged("SummeryResult");
|
||||
this.OnSummeryResultChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileDate", DbType="DateTime")]
|
||||
public System.Nullable<System.DateTime> CompileDate
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._CompileDate;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._CompileDate != value))
|
||||
{
|
||||
this.OnCompileDateChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._CompileDate = value;
|
||||
this.SendPropertyChanged("CompileDate");
|
||||
this.OnCompileDateChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileDateMonth", DbType="NVarChar(50)")]
|
||||
public string CompileDateMonth
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._CompileDateMonth;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._CompileDateMonth != value))
|
||||
{
|
||||
this.OnCompileDateMonthChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._CompileDateMonth = value;
|
||||
this.SendPropertyChanged("CompileDateMonth");
|
||||
this.OnCompileDateMonthChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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.Inspection_SummaryMb")]
|
||||
public partial class Inspection_SummaryMb : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
|
||||
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
||||
|
||||
private string _InspectionSummaryMbId;
|
||||
|
||||
private string _SNumber;
|
||||
|
||||
private string _ModuleName;
|
||||
|
||||
private string _MenuP;
|
||||
|
||||
private string _MenuC;
|
||||
|
||||
private System.Nullable<int> _SortId;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
partial void OnCreated();
|
||||
partial void OnInspectionSummaryMbIdChanging(string value);
|
||||
partial void OnInspectionSummaryMbIdChanged();
|
||||
partial void OnSNumberChanging(string value);
|
||||
partial void OnSNumberChanged();
|
||||
partial void OnModuleNameChanging(string value);
|
||||
partial void OnModuleNameChanged();
|
||||
partial void OnMenuPChanging(string value);
|
||||
partial void OnMenuPChanged();
|
||||
partial void OnMenuCChanging(string value);
|
||||
partial void OnMenuCChanged();
|
||||
partial void OnSortIdChanging(System.Nullable<int> value);
|
||||
partial void OnSortIdChanged();
|
||||
#endregion
|
||||
|
||||
public Inspection_SummaryMb()
|
||||
{
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InspectionSummaryMbId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
||||
public string InspectionSummaryMbId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._InspectionSummaryMbId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._InspectionSummaryMbId != value))
|
||||
{
|
||||
this.OnInspectionSummaryMbIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._InspectionSummaryMbId = value;
|
||||
this.SendPropertyChanged("InspectionSummaryMbId");
|
||||
this.OnInspectionSummaryMbIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SNumber", DbType="NVarChar(50)")]
|
||||
public string SNumber
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._SNumber;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._SNumber != value))
|
||||
{
|
||||
this.OnSNumberChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._SNumber = value;
|
||||
this.SendPropertyChanged("SNumber");
|
||||
this.OnSNumberChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ModuleName", DbType="NVarChar(50)")]
|
||||
public string ModuleName
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ModuleName;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ModuleName != value))
|
||||
{
|
||||
this.OnModuleNameChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ModuleName = value;
|
||||
this.SendPropertyChanged("ModuleName");
|
||||
this.OnModuleNameChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MenuP", DbType="NVarChar(50)")]
|
||||
public string MenuP
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._MenuP;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._MenuP != value))
|
||||
{
|
||||
this.OnMenuPChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._MenuP = value;
|
||||
this.SendPropertyChanged("MenuP");
|
||||
this.OnMenuPChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MenuC", DbType="NVarChar(50)")]
|
||||
public string MenuC
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._MenuC;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._MenuC != value))
|
||||
{
|
||||
this.OnMenuCChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._MenuC = value;
|
||||
this.SendPropertyChanged("MenuC");
|
||||
this.OnMenuCChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SortId", DbType="Int")]
|
||||
public System.Nullable<int> SortId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._SortId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._SortId != value))
|
||||
{
|
||||
this.OnSortIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._SortId = value;
|
||||
this.SendPropertyChanged("SortId");
|
||||
this.OnSortIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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.InterFaceLog")]
|
||||
public partial class InterFaceLog : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user