数据库变更CNPC_XJYJ
This commit is contained in:
@@ -14,7 +14,7 @@ namespace FineUIPro.Web.HSSE.EduTrain
|
||||
/// <param name="e"></param>
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
|
||||
using (Model.CNPCDB db = new Model.CNPCDB(Funs.ConnString))
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace FineUIPro.Web.EduTrain
|
||||
/// <param name="e"></param>
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
|
||||
using (Model.CNPCDB db = new Model.CNPCDB(Funs.ConnString))
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
|
||||
@@ -43,7 +43,7 @@ namespace FineUIPro.Web.HSSE.EduTrain
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
|
||||
using (Model.CNPCDB db = new Model.CNPCDB(Funs.ConnString))
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
|
||||
@@ -165,7 +165,7 @@ namespace FineUIPro.Web.HSSE.Epidemic
|
||||
/// </summary>
|
||||
private void BindGrid()
|
||||
{
|
||||
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
|
||||
using (Model.CNPCDB db = new Model.CNPCDB(Funs.ConnString))
|
||||
{
|
||||
if (this.tvProjectAndUnit != null && !string.IsNullOrEmpty(this.tvProjectAndUnit.SelectedNodeID))
|
||||
{
|
||||
|
||||
@@ -85,7 +85,7 @@ namespace FineUIPro.Web.HSSE.Hazard
|
||||
/// <param name="e"></param>
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
|
||||
using (Model.CNPCDB db = new Model.CNPCDB(Funs.ConnString))
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
|
||||
@@ -85,7 +85,7 @@ namespace FineUIPro.Web.HSSE.Hazard
|
||||
/// <param name="e"></param>
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
|
||||
using (Model.CNPCDB db = new Model.CNPCDB(Funs.ConnString))
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
|
||||
@@ -75,7 +75,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// <param name="e"></param>
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
|
||||
using (Model.CNPCDB db = new Model.CNPCDB(Funs.ConnString))
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
@@ -219,7 +219,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// <param name="e"></param>
|
||||
protected void drpUnit_OnSelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
|
||||
using (Model.CNPCDB db = new Model.CNPCDB(Funs.ConnString))
|
||||
{
|
||||
this.drpWorkArea.Items.Clear();
|
||||
this.drpResponsibleMan.Items.Clear();
|
||||
|
||||
@@ -710,7 +710,7 @@ namespace FineUIPro.Web.HSSE.InformationProject
|
||||
/// <param name="endTime"></param>
|
||||
private void GetData(DateTime startTime, DateTime endTime)
|
||||
{
|
||||
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
|
||||
using (Model.CNPCDB db = new Model.CNPCDB(Funs.ConnString))
|
||||
{
|
||||
//死亡事故
|
||||
var accidentReports1 = BLL.AccidentReportService.GetAccidentReportsByAccidentTypeAndTime(startTime, endTime, this.ProjectId, "1");
|
||||
|
||||
@@ -471,7 +471,7 @@ namespace FineUIPro.Web.InformationProject
|
||||
/// <param name="endTime"></param>
|
||||
private void GetData(DateTime startTime, DateTime endTime)
|
||||
{
|
||||
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
|
||||
using (Model.CNPCDB db = new Model.CNPCDB(Funs.ConnString))
|
||||
{
|
||||
int? sumTotalPanhours = 0;
|
||||
|
||||
|
||||
@@ -545,7 +545,7 @@ namespace FineUIPro.Web.HSSE.InformationProject
|
||||
/// <param name="endTime"></param>
|
||||
private void GetData(DateTime startTime, DateTime endTime)
|
||||
{
|
||||
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
|
||||
using (Model.CNPCDB db = new Model.CNPCDB(Funs.ConnString))
|
||||
{
|
||||
decimal sumPersonWorkTimeTotal = 0;
|
||||
//获取当期人工时日报
|
||||
|
||||
@@ -53,7 +53,7 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||
{
|
||||
this.MonthReportId = monthReport.MonthReportId;
|
||||
this.ProjectId = monthReport.ProjectId;
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
var q = from x in db.Manager_PersonSortC
|
||||
where x.MonthReportId == MonthReportId
|
||||
select x;
|
||||
|
||||
@@ -163,7 +163,7 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||
this.MonthReportId = monthReport.MonthReportId;
|
||||
this.ProjectId = monthReport.ProjectId;
|
||||
months = Convert.ToDateTime(monthReport.Months);
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
this.txtMainActivitiesDef.Text = monthReport.MainActivitiesDef;
|
||||
//危险源情况
|
||||
hazardSorts = (from x in db.Manager_HazardSortC where x.MonthReportId == MonthReportId orderby x.SortIndex select x).ToList();
|
||||
|
||||
@@ -96,7 +96,7 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||
this.MonthReportId = monthReport.MonthReportId;
|
||||
this.ProjectId = monthReport.ProjectId;
|
||||
months = Convert.ToDateTime(monthReport.Months);
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
//5.1.2 本月文件、方案修编情况说明
|
||||
plans = (from x in db.Manager_Month_PlanC where x.MonthReportId == MonthReportId orderby x.SortIndex select x).ToList();
|
||||
if (plans.Count > 0)
|
||||
|
||||
@@ -90,7 +90,7 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||
this.MonthReportId = monthReport.MonthReportId;
|
||||
this.ProjectId = monthReport.ProjectId;
|
||||
months = Convert.ToDateTime(monthReport.Months);
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
this.nbMainCost1.Text = (monthReport.MainCost1 ?? 0).ToString();
|
||||
this.nbMainProjectCost1.Text = (monthReport.MainProjectCost1 ?? 0).ToString();
|
||||
this.nbSubCost1.Text = (monthReport.SubCost1 ?? 0).ToString();
|
||||
|
||||
@@ -90,7 +90,7 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||
this.MonthReportId = monthReport.MonthReportId;
|
||||
this.ProjectId = monthReport.ProjectId;
|
||||
months = Convert.ToDateTime(monthReport.Months);
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
//7.1 管理绩效数据统计(表一)
|
||||
accidentDesciptions = (from x in db.Manager_Month_AccidentDesciptionC where x.MonthReportId == MonthReportId orderby x.SortIndex select x).ToList();
|
||||
if (accidentDesciptions.Count > 0)
|
||||
|
||||
@@ -139,7 +139,7 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||
this.ProjectId = monthReport.ProjectId;
|
||||
months = Convert.ToDateTime(monthReport.Months);
|
||||
this.txtNextEmergencyResponse.Text = monthReport.NextEmergencyResponse;
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
//9.1 危险源动态识别及控制
|
||||
hazards = (from x in db.Manager_Month_HazardC where x.MonthReportId == MonthReportId orderby x.SortIndex select x).ToList();
|
||||
if (hazards.Count > 0)
|
||||
|
||||
@@ -99,7 +99,7 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||
{
|
||||
this.lblEndDate.Text = string.Format("{0:yyyy-MM-dd}", project.EndDate);
|
||||
}
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
var q = from x in db.Manager_PersonSortC
|
||||
where x.MonthReportId == MonthReportId
|
||||
select x;
|
||||
|
||||
@@ -55,7 +55,7 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||
{
|
||||
this.MonthReportId = monthReport.MonthReportId;
|
||||
this.ProjectId = monthReport.ProjectId;
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
var q = from x in db.Manager_PersonSortC
|
||||
where x.MonthReportId == MonthReportId
|
||||
select x;
|
||||
|
||||
@@ -162,7 +162,7 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||
this.MonthReportId = monthReport.MonthReportId;
|
||||
this.ProjectId = monthReport.ProjectId;
|
||||
months = Convert.ToDateTime(monthReport.Months);
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
this.txtMainActivitiesDef.Text = monthReport.MainActivitiesDef;
|
||||
//危险源情况
|
||||
hazardSorts = (from x in db.Manager_HazardSortC where x.MonthReportId == MonthReportId orderby x.SortIndex select x).ToList();
|
||||
|
||||
@@ -95,7 +95,7 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||
this.MonthReportId = monthReport.MonthReportId;
|
||||
this.ProjectId = monthReport.ProjectId;
|
||||
months = Convert.ToDateTime(monthReport.Months);
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
//5.1.2 本月文件、方案修编情况说明
|
||||
plans = (from x in db.Manager_Month_PlanC where x.MonthReportId == MonthReportId orderby x.SortIndex select x).ToList();
|
||||
if (plans.Count > 0)
|
||||
|
||||
@@ -89,7 +89,7 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||
this.MonthReportId = monthReport.MonthReportId;
|
||||
this.ProjectId = monthReport.ProjectId;
|
||||
months = Convert.ToDateTime(monthReport.Months);
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
this.nbMainCost1.Text = (monthReport.MainCost1 ?? 0).ToString();
|
||||
this.nbMainProjectCost1.Text = (monthReport.MainProjectCost1 ?? 0).ToString();
|
||||
this.nbSubCost1.Text = (monthReport.SubCost1 ?? 0).ToString();
|
||||
|
||||
@@ -89,7 +89,7 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||
this.MonthReportId = monthReport.MonthReportId;
|
||||
this.ProjectId = monthReport.ProjectId;
|
||||
months = Convert.ToDateTime(monthReport.Months);
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
//7.1 管理绩效数据统计(表一)
|
||||
accidentDesciptions = (from x in db.Manager_Month_AccidentDesciptionC where x.MonthReportId == MonthReportId orderby x.SortIndex select x).ToList();
|
||||
if (accidentDesciptions.Count > 0)
|
||||
|
||||
@@ -128,7 +128,7 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||
this.ProjectId = monthReport.ProjectId;
|
||||
months = Convert.ToDateTime(monthReport.Months);
|
||||
this.txtNextEmergencyResponse.Text = monthReport.NextEmergencyResponse;
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
//9.1 危险源动态识别及控制
|
||||
hazards = (from x in db.Manager_Month_HazardC where x.MonthReportId == MonthReportId orderby x.SortIndex select x).ToList();
|
||||
if (hazards.Count > 0)
|
||||
|
||||
@@ -229,7 +229,7 @@ namespace FineUIPro.Web.HSSE.SitePerson
|
||||
{
|
||||
if (compileDate != null)
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
DateTime date = Convert.ToDateTime(compileDate);
|
||||
var q = from y in db.SitePerson_DayReportDetail
|
||||
where
|
||||
@@ -255,7 +255,7 @@ namespace FineUIPro.Web.HSSE.SitePerson
|
||||
{
|
||||
if (compileDate != null)
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
DateTime date = Convert.ToDateTime(compileDate);
|
||||
var q = from y in db.SitePerson_DayReportDetail where (from z in db.SitePerson_DayReport where z.CompileDate <= date && z.ProjectId == this.CurrUser.LoginProjectId select z.DayReportId).Contains(y.DayReportId) select y;
|
||||
if (q.Count() > 0)
|
||||
|
||||
@@ -76,7 +76,7 @@ namespace FineUIPro.Web.HSSE.SitePerson
|
||||
/// </summary>
|
||||
private void BindGrid()
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
var q = from x in db.SitePerson_DayReportDetail
|
||||
join a in db.SitePerson_DayReport
|
||||
on x.DayReportId equals a.DayReportId
|
||||
|
||||
@@ -134,7 +134,7 @@ namespace FineUIPro.Web.SitePerson
|
||||
/// </summary>
|
||||
private void BindGrid()
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
if (this.nowData == "-1")
|
||||
{
|
||||
var q = (from x in db.SitePerson_DayReportDetail
|
||||
|
||||
@@ -77,7 +77,7 @@ namespace FineUIPro.Web.HSSE.SitePerson
|
||||
/// </summary>
|
||||
private void BindGrid()
|
||||
{
|
||||
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
|
||||
using (Model.CNPCDB db = new Model.CNPCDB(Funs.ConnString))
|
||||
{
|
||||
|
||||
if (!string.IsNullOrWhiteSpace(this.MonthReportId))
|
||||
|
||||
@@ -58,7 +58,7 @@ namespace FineUIPro.Web.HSSE.SitePerson
|
||||
/// </summary>
|
||||
private void BindGrid()
|
||||
{
|
||||
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
|
||||
using (Model.CNPCDB db = new Model.CNPCDB(Funs.ConnString))
|
||||
{
|
||||
string unitId = string.Empty;
|
||||
string projectId = string.Empty;
|
||||
|
||||
@@ -394,7 +394,7 @@ namespace FineUIPro.Web.HSSE.SitePerson
|
||||
/// <param name="e"></param>
|
||||
protected void btnSave_Click(object sender, EventArgs e)
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
var allPersons = from x in db.SitePerson_Person select x;
|
||||
//var persons = db.SitePerson_Person
|
||||
// .GroupBy(x => x.IdentityCard)
|
||||
|
||||
@@ -217,7 +217,7 @@ namespace FineUIPro.Web.HSSE.SitePerson
|
||||
/// </summary>
|
||||
private void BindGrid()
|
||||
{
|
||||
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
|
||||
using (Model.CNPCDB db = new Model.CNPCDB(Funs.ConnString))
|
||||
{
|
||||
if (this.tvProjectAndUnit != null && !string.IsNullOrEmpty(this.tvProjectAndUnit.SelectedNodeID))
|
||||
{
|
||||
|
||||
@@ -154,7 +154,7 @@ namespace FineUIPro.Web.HSSE.SitePerson
|
||||
/// </summary>
|
||||
private void BindGrid()
|
||||
{
|
||||
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
|
||||
using (Model.CNPCDB db = new Model.CNPCDB(Funs.ConnString))
|
||||
{
|
||||
|
||||
string strSql = "select b.ProjectName , a.* from View_SitePerson_PersonList a left join Base_Project b on a.ProjectId = b.ProjectId Where ";
|
||||
|
||||
@@ -241,7 +241,7 @@ namespace FineUIPro.Web.HSSE.SitePerson
|
||||
/// <returns></returns>
|
||||
protected string ConvertTrainResult(object PersonId)
|
||||
{
|
||||
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
|
||||
using (Model.CNPCDB db = new Model.CNPCDB(Funs.ConnString))
|
||||
{
|
||||
string result = string.Empty;
|
||||
if (PersonId != null)
|
||||
|
||||
@@ -170,7 +170,7 @@ namespace FineUIPro.Web.HSSE.SolutionNew
|
||||
rootNode.EnableCheckEvent = true;
|
||||
trOne.Nodes.Add(rootNode);
|
||||
trOne.EnableCheckBox = true;
|
||||
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
|
||||
using (Model.CNPCDB db = new Model.CNPCDB(Funs.ConnString))
|
||||
{
|
||||
var userList = from x in db.Sys_User
|
||||
join y in db.Project_ProjectUnit
|
||||
@@ -201,7 +201,7 @@ namespace FineUIPro.Web.HSSE.SolutionNew
|
||||
rootNode.EnableCheckEvent = true;
|
||||
trTwo.Nodes.Add(rootNode);
|
||||
trTwo.EnableCheckBox = true;
|
||||
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
|
||||
using (Model.CNPCDB db = new Model.CNPCDB(Funs.ConnString))
|
||||
{
|
||||
var userList = from x in db.Sys_User
|
||||
join y in db.Project_ProjectUnit
|
||||
@@ -252,7 +252,7 @@ namespace FineUIPro.Web.HSSE.SolutionNew
|
||||
rootNode.EnableCheckEvent = true;
|
||||
trThree.Nodes.Add(rootNode);
|
||||
trThree.EnableCheckBox = true;
|
||||
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
|
||||
using (Model.CNPCDB db = new Model.CNPCDB(Funs.ConnString))
|
||||
{
|
||||
var userList = from x in db.Sys_User
|
||||
join y in db.Project_ProjectUnit
|
||||
@@ -282,7 +282,7 @@ namespace FineUIPro.Web.HSSE.SolutionNew
|
||||
rootNode.EnableCheckEvent = true;
|
||||
trFour.Nodes.Add(rootNode);
|
||||
trFour.EnableCheckBox = true;
|
||||
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
|
||||
using (Model.CNPCDB db = new Model.CNPCDB(Funs.ConnString))
|
||||
{
|
||||
var userList = from x in db.Sys_User
|
||||
join y in db.Project_ProjectUnit
|
||||
@@ -313,7 +313,7 @@ namespace FineUIPro.Web.HSSE.SolutionNew
|
||||
rootNode.EnableCheckEvent = true;
|
||||
trFive.Nodes.Add(rootNode);
|
||||
trFive.EnableCheckBox = true;
|
||||
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
|
||||
using (Model.CNPCDB db = new Model.CNPCDB(Funs.ConnString))
|
||||
{
|
||||
var userList = from x in db.Sys_User
|
||||
join y in db.Project_ProjectUnit
|
||||
@@ -344,7 +344,7 @@ namespace FineUIPro.Web.HSSE.SolutionNew
|
||||
rootNode.EnableCheckEvent = true;
|
||||
trSixe.Nodes.Add(rootNode);
|
||||
trSixe.EnableCheckBox = true;
|
||||
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
|
||||
using (Model.CNPCDB db = new Model.CNPCDB(Funs.ConnString))
|
||||
{
|
||||
var userList = from x in db.Sys_User
|
||||
join y in db.Project_ProjectUnit
|
||||
|
||||
@@ -1083,7 +1083,7 @@ namespace FineUIPro.Web.HSSE.SolutionNew
|
||||
private void initDropSameGroup(DropDownList drop , string type)
|
||||
{
|
||||
List<Sys_User> users = new List<Sys_User>();
|
||||
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
|
||||
using (Model.CNPCDB db = new Model.CNPCDB(Funs.ConnString))
|
||||
{
|
||||
switch (type)
|
||||
{
|
||||
@@ -1178,7 +1178,7 @@ namespace FineUIPro.Web.HSSE.SolutionNew
|
||||
rootNode.EnableCheckEvent = true;
|
||||
trOne.Nodes.Add(rootNode);
|
||||
trOne.EnableCheckBox = true;
|
||||
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
|
||||
using (Model.CNPCDB db = new Model.CNPCDB(Funs.ConnString))
|
||||
{
|
||||
var userList = from x in db.Sys_User
|
||||
join y in db.Project_ProjectUnit
|
||||
@@ -1209,7 +1209,7 @@ namespace FineUIPro.Web.HSSE.SolutionNew
|
||||
rootNode.EnableCheckEvent = true;
|
||||
trTwo.Nodes.Add(rootNode);
|
||||
trTwo.EnableCheckBox = true;
|
||||
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
|
||||
using (Model.CNPCDB db = new Model.CNPCDB(Funs.ConnString))
|
||||
{
|
||||
var userList = from x in db.Sys_User
|
||||
join y in db.Project_ProjectUnit
|
||||
@@ -1260,7 +1260,7 @@ namespace FineUIPro.Web.HSSE.SolutionNew
|
||||
rootNode.EnableCheckEvent = true;
|
||||
trThree.Nodes.Add(rootNode);
|
||||
trThree.EnableCheckBox = true;
|
||||
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
|
||||
using (Model.CNPCDB db = new Model.CNPCDB(Funs.ConnString))
|
||||
{
|
||||
var userList = from x in db.Sys_User
|
||||
join y in db.Project_ProjectUnit
|
||||
@@ -1290,7 +1290,7 @@ namespace FineUIPro.Web.HSSE.SolutionNew
|
||||
rootNode.EnableCheckEvent = true;
|
||||
trFour.Nodes.Add(rootNode);
|
||||
trFour.EnableCheckBox = true;
|
||||
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
|
||||
using (Model.CNPCDB db = new Model.CNPCDB(Funs.ConnString))
|
||||
{
|
||||
var userList = from x in db.Sys_User
|
||||
join y in db.Project_ProjectUnit
|
||||
@@ -1321,7 +1321,7 @@ namespace FineUIPro.Web.HSSE.SolutionNew
|
||||
rootNode.EnableCheckEvent = true;
|
||||
trFive.Nodes.Add(rootNode);
|
||||
trFive.EnableCheckBox = true;
|
||||
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
|
||||
using (Model.CNPCDB db = new Model.CNPCDB(Funs.ConnString))
|
||||
{
|
||||
var userList = from x in db.Sys_User
|
||||
join y in db.Project_ProjectUnit
|
||||
@@ -1352,7 +1352,7 @@ namespace FineUIPro.Web.HSSE.SolutionNew
|
||||
rootNode.EnableCheckEvent = true;
|
||||
trSixe.Nodes.Add(rootNode);
|
||||
trSixe.EnableCheckBox = true;
|
||||
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
|
||||
using (Model.CNPCDB db = new Model.CNPCDB(Funs.ConnString))
|
||||
{
|
||||
var userList = from x in db.Sys_User
|
||||
join y in db.Project_ProjectUnit
|
||||
|
||||
Reference in New Issue
Block a user