20220606 修改遗漏 赛鼎公司名称字样

This commit is contained in:
杨红卫 2022-06-06 09:20:51 +08:00
parent 31a7840cda
commit 5352c4784f
30 changed files with 975 additions and 911 deletions

View File

@ -0,0 +1,4 @@
--ADD BY Yanghongwei 2022-06-01
1、修改Global页面调用定时器方法、修改现场考勤导入列表及导入方法。
2、人员考试计划新增单独获取考生ID、考生姓名集合。
--END

View File

@ -5,13 +5,13 @@ using System;
namespace BLL
{
/// <summary>
/// 赛鼎月报
/// 中国五环月报
/// </summary>
public static class APISeDinMonthReportService
{
#region
#region
/// <summary>
/// 获取赛鼎月报列表信息
/// 获取中国五环月报列表信息
/// </summary>
/// <param name="projectId"></param>
/// <returns></returns>
@ -56,10 +56,10 @@ namespace BLL
}
#endregion
#region
#region --0
#region
#region --0
/// <summary>
/// 获取赛鼎月报初始化页面 --封面
/// 获取中国五环月报初始化页面 --封面
/// </summary>
/// <param name="projectId"></param>
/// <returns></returns>
@ -81,9 +81,9 @@ namespace BLL
return newItem;
}
#endregion
#region --1
#region --1
/// <summary>
/// 获取赛鼎月报初始化页面 --1、项目信息
/// 获取中国五环月报初始化页面 --1、项目信息
/// </summary>
/// <param name="projectId"></param>
/// <returns></returns>
@ -124,9 +124,9 @@ namespace BLL
}
}
#endregion
#region --2
#region --2
/// <summary>
/// 获取赛鼎月报初始化页面 --2、项目安全工时统计
/// 获取中国五环月报初始化页面 --2、项目安全工时统计
/// </summary>
/// <param name="projectId"></param>
/// <returns></returns>
@ -203,9 +203,9 @@ namespace BLL
}
}
#endregion
#region --3HSE事故
#region --3HSE事故
/// <summary>
/// 获取赛鼎月报初始化页面 --3、项目HSE事故、事件统计
/// 获取中国五环月报初始化页面 --3、项目HSE事故、事件统计
/// </summary>
/// <param name="projectId"></param>
/// <returns></returns>
@ -266,9 +266,9 @@ namespace BLL
}
}
#endregion
#region --4
#region --4
/// <summary>
/// 获取赛鼎月报初始化页面 --4、本月人员投入情况
/// 获取中国五环月报初始化页面 --4、本月人员投入情况
/// </summary>
/// <param name="projectId"></param>
/// <returns></returns>
@ -358,7 +358,7 @@ namespace BLL
#endregion
/// <summary>
/// 获取赛鼎公司人员信息统计
/// 获取中国五环公司人员信息统计
/// </summary>
/// <param name="projectId"></param>
/// <param name="month"></param>
@ -390,9 +390,9 @@ namespace BLL
}
}
#endregion
#region --5
#region --5
/// <summary>
/// 获取赛鼎月报初始化页面 --5、本月大型、特种设备投入情况
/// 获取中国五环月报初始化页面 --5、本月大型、特种设备投入情况
/// </summary>
/// <param name="projectId"></param>
/// <returns></returns>
@ -451,9 +451,9 @@ namespace BLL
}
}
#endregion
#region --6
#region --6
/// <summary>
/// 获取赛鼎月报初始化页面 --6、安全生产费用投入情况
/// 获取中国五环月报初始化页面 --6、安全生产费用投入情况
/// </summary>
/// <param name="projectId"></param>
/// <returns></returns>
@ -486,9 +486,9 @@ namespace BLL
return getLists;
}
#endregion
#region --7HSE培训统计
#region --7HSE培训统计
/// <summary>
/// 获取赛鼎月报初始化页面 --7、项目HSE培训统计
/// 获取中国五环月报初始化页面 --7、项目HSE培训统计
/// </summary>
/// <param name="projectId"></param>
/// <returns></returns>
@ -537,9 +537,9 @@ namespace BLL
}
}
#endregion
#region --8HSE会议统计
#region --8HSE会议统计
/// <summary>
/// 获取赛鼎月报初始化页面 --8、项目HSE会议统计
/// 获取中国五环月报初始化页面 --8、项目HSE会议统计
/// </summary>
/// <param name="projectId"></param>
/// <returns></returns>
@ -628,9 +628,9 @@ namespace BLL
}
}
#endregion
#region --9HSE检查统计
#region --9HSE检查统计
/// <summary>
/// 获取赛鼎月报初始化页面 --9、项目HSE检查统计
/// 获取中国五环月报初始化页面 --9、项目HSE检查统计
/// </summary>
/// <param name="projectId"></param>
/// <returns></returns>
@ -802,9 +802,9 @@ namespace BLL
}
}
#endregion
#region --10
#region --10
/// <summary>
/// 获取赛鼎月报初始化页面 --10、项目奖惩情况统计
/// 获取中国五环月报初始化页面 --10、项目奖惩情况统计
/// </summary>
/// <param name="projectId"></param>
/// <returns></returns>
@ -865,9 +865,9 @@ namespace BLL
}
}
#endregion
#region --11
#region --11
/// <summary>
/// 获取赛鼎月报初始化页面 --11、项目危大工程施工情况
/// 获取中国五环月报初始化页面 --11、项目危大工程施工情况
/// </summary>
/// <param name="projectId"></param>
/// <returns></returns>
@ -898,9 +898,9 @@ namespace BLL
}
}
#endregion
#region --12
#region --12
/// <summary>
/// 获取赛鼎月报初始化页面 --12、项目应急演练情况
/// 获取中国五环月报初始化页面 --12、项目应急演练情况
/// </summary>
/// <param name="projectId"></param>
/// <returns></returns>
@ -936,10 +936,10 @@ namespace BLL
#endregion
#endregion
#region
#region --0
#region
#region --0
/// <summary>
/// 获取赛鼎月报详细
/// 获取中国五环月报详细
/// </summary>
/// <param name="projectId"></param>
/// <param name="month"></param>
@ -980,9 +980,9 @@ namespace BLL
}
}
#endregion
#region --1
#region --1
/// <summary>
/// 获取赛鼎月报详细 --1、项目信息
/// 获取中国五环月报详细 --1、项目信息
/// </summary>
/// <param name="projectId"></param>
/// <param name="month"></param>
@ -1018,9 +1018,9 @@ namespace BLL
}
}
#endregion
#region --2
#region --2
/// <summary>
/// 获取赛鼎月报详细 --2、项目安全工时统计
/// 获取中国五环月报详细 --2、项目安全工时统计
/// </summary>
/// <param name="projectId"></param>
/// <param name="month"></param>
@ -1055,9 +1055,9 @@ namespace BLL
}
}
#endregion
#region --3HSE事故
#region --3HSE事故
/// <summary>
/// 获取赛鼎月报详细
/// 获取中国五环月报详细
/// </summary>
/// <param name="projectId"></param>
/// <param name="month"></param>
@ -1113,9 +1113,9 @@ namespace BLL
}
}
#endregion
#region --4
#region --4
/// <summary>
/// 获取赛鼎月报详细 --4、本月人员投入情况
/// 获取中国五环月报详细 --4、本月人员投入情况
/// </summary>
/// <param name="projectId"></param>
/// <param name="month"></param>
@ -1149,7 +1149,7 @@ namespace BLL
}
/// <summary>
/// 获取赛鼎月报详细 --4、赛鼎公司人员信息统计
/// 获取中国五环月报详细 --4、中国五环公司人员信息统计
/// </summary>
/// <param name="projectId"></param>
/// <param name="month"></param>
@ -1182,9 +1182,9 @@ namespace BLL
}
}
#endregion
#region --5
#region --5
/// <summary>
/// 获取赛鼎月报详细 --5、本月大型、特种设备投入情况
/// 获取中国五环月报详细 --5、本月大型、特种设备投入情况
/// </summary>
/// <param name="projectId"></param>
/// <param name="month"></param>
@ -1225,9 +1225,9 @@ namespace BLL
}
}
#endregion
#region --6
#region --6
/// <summary>
/// 获取赛鼎月报详细 --6、安全生产费用投入情况
/// 获取中国五环月报详细 --6、安全生产费用投入情况
/// </summary>
/// <param name="projectId"></param>
/// <param name="month"></param>
@ -1272,9 +1272,9 @@ namespace BLL
}
}
#endregion
#region --7HSE培训统计
#region --7HSE培训统计
/// <summary>
/// 获取赛鼎月报详细 --7、项目HSE培训统计
/// 获取中国五环月报详细 --7、项目HSE培训统计
/// </summary>
/// <param name="projectId"></param>
/// <param name="month"></param>
@ -1312,9 +1312,9 @@ namespace BLL
}
}
#endregion
#region --8HSE会议统计
#region --8HSE会议统计
/// <summary>
/// 获取赛鼎月报初始化页面 --8、项目HSE会议统计
/// 获取中国五环月报初始化页面 --8、项目HSE会议统计
/// </summary>
/// <param name="projectId"></param>
/// <returns></returns>
@ -1373,9 +1373,9 @@ namespace BLL
}
}
#endregion
#region --9HSE检查统计
#region --9HSE检查统计
/// <summary>
/// 获取赛鼎月报初始化页面 --9、项目HSE检查统计
/// 获取中国五环月报初始化页面 --9、项目HSE检查统计
/// </summary>
/// <param name="projectId"></param>
/// <returns></returns>
@ -1495,9 +1495,9 @@ namespace BLL
}
}
#endregion
#region --10HSE培训统计
#region --10HSE培训统计
/// <summary>
/// 获取赛鼎月报详细 --10、项目HSE培训统计
/// 获取中国五环月报详细 --10、项目HSE培训统计
/// </summary>
/// <param name="projectId"></param>
/// <param name="month"></param>
@ -1547,9 +1547,9 @@ namespace BLL
}
}
#endregion
#region --11
#region --11
/// <summary>
/// 获取赛鼎月报详细 --11、项目危大工程施工情况
/// 获取中国五环月报详细 --11、项目危大工程施工情况
/// </summary>
/// <param name="projectId"></param>
/// <param name="month"></param>
@ -1581,9 +1581,9 @@ namespace BLL
}
}
#endregion
#region --12
#region --12
/// <summary>
/// 获取赛鼎月报详细 --12、项目应急演练情况
/// 获取中国五环月报详细 --12、项目应急演练情况
/// </summary>
/// <param name="projectId"></param>
/// <param name="month"></param>
@ -1629,9 +1629,9 @@ namespace BLL
}
}
#endregion
#region --1314HSE活动综述HSE工作计划
#region --1314HSE活动综述HSE工作计划
/// <summary>
/// 获取赛鼎月报详细
/// 获取中国五环月报详细
/// </summary>
/// <param name="projectId"></param>
/// <param name="month"></param>
@ -1669,7 +1669,7 @@ namespace BLL
/// <summary>
/// 保存SeDin_MonthReport
/// </summary>
/// <param name="newItem">赛鼎月报</param>
/// <param name="newItem">中国五环月报</param>
/// <returns></returns>
public static string SaveSeDinMonthReport0(Model.SeDinMonthReportItem newItem)
{
@ -1759,7 +1759,7 @@ namespace BLL
/// <summary>
/// 保存SeDin_MonthReport
/// </summary>
/// <param name="newItem">赛鼎月报</param>
/// <param name="newItem">中国五环月报</param>
/// <returns></returns>
public static string SaveSeDinMonthReport1(Model.SeDinMonthReport1Item newItem)
{
@ -1809,7 +1809,7 @@ namespace BLL
/// <summary>
/// 保存SeDin_MonthReport
/// </summary>
/// <param name="newItem">赛鼎月报</param>
/// <param name="newItem">中国五环月报</param>
/// <returns></returns>
public static string SaveSeDinMonthReport2(Model.SeDinMonthReport2Item newItem)
{
@ -1857,7 +1857,7 @@ namespace BLL
/// <summary>
/// 保存SeDin_MonthReport
/// </summary>
/// <param name="newItem">赛鼎月报</param>
/// <param name="newItem">中国五环月报</param>
/// <returns></returns>
public static string SaveSeDinMonthReport3(Model.SeDinMonthReportItem newItem)
{
@ -1914,7 +1914,7 @@ namespace BLL
/// <summary>
/// 保存SeDin_MonthReport
/// </summary>
/// <param name="newItem">赛鼎月报</param>
/// <param name="newItem">中国五环月报</param>
/// <returns></returns>
public static string SaveSeDinMonthReport4(Model.SeDinMonthReportItem newItem)
{
@ -1959,9 +1959,9 @@ namespace BLL
}
/// <summary>
/// 保存SeDin_MonthReport 赛鼎公司人员信息统计
/// 保存SeDin_MonthReport 中国五环公司人员信息统计
/// </summary>
/// <param name="newItem">赛鼎月报</param>
/// <param name="newItem">中国五环月报</param>
/// <returns></returns>
public static string SaveSeDinMonthReport4Other(Model.SeDinMonthReport4OtherItem newItem)
{
@ -1998,7 +1998,7 @@ namespace BLL
/// <summary>
/// 保存SeDin_MonthReport
/// </summary>
/// <param name="newItem">赛鼎月报</param>
/// <param name="newItem">中国五环月报</param>
/// <returns></returns>
public static string SaveSeDinMonthReport5(Model.SeDinMonthReportItem newItem)
{
@ -2053,7 +2053,7 @@ namespace BLL
/// <summary>
/// 保存SeDin_MonthReport
/// </summary>
/// <param name="newItem">赛鼎月报</param>
/// <param name="newItem">中国五环月报</param>
/// <returns></returns>
public static string SaveSeDinMonthReport6(Model.SeDinMonthReport6Item newItem)
{
@ -2102,7 +2102,7 @@ namespace BLL
/// <summary>
/// 保存SeDin_MonthReport
/// </summary>
/// <param name="newItem">赛鼎月报</param>
/// <param name="newItem">中国五环月报</param>
/// <returns></returns>
public static string SaveSeDinMonthReport7(Model.SeDinMonthReport7Item newItem)
{
@ -2143,7 +2143,7 @@ namespace BLL
/// <summary>
/// 保存SeDin_MonthReport
/// </summary>
/// <param name="newItem">赛鼎月报</param>
/// <param name="newItem">中国五环月报</param>
/// <returns></returns>
public static string SaveSeDinMonthReport8(Model.SeDinMonthReport8Item newItem)
{
@ -2208,7 +2208,7 @@ namespace BLL
/// <summary>
/// 保存SeDin_MonthReport
/// </summary>
/// <param name="newItem">赛鼎月报</param>
/// <param name="newItem">中国五环月报</param>
/// <returns></returns>
public static string SaveSeDinMonthReport9(Model.SeDinMonthReport9Item newItem)
{
@ -2339,7 +2339,7 @@ namespace BLL
/// <summary>
/// 保存SeDin_MonthReport
/// </summary>
/// <param name="newItem">赛鼎月报</param>
/// <param name="newItem">中国五环月报</param>
/// <returns></returns>
public static string SaveSeDinMonthReport10(Model.SeDinMonthReport10Item newItem)
{
@ -2393,7 +2393,7 @@ namespace BLL
/// <summary>
/// 保存SeDin_MonthReport
/// </summary>
/// <param name="newItem">赛鼎月报</param>
/// <param name="newItem">中国五环月报</param>
/// <returns></returns>
public static string SaveSeDinMonthReport11(Model.SeDinMonthReport11Item newItem)
{
@ -2435,7 +2435,7 @@ namespace BLL
/// <summary>
/// 保存SeDin_MonthReport
/// </summary>
/// <param name="newItem">赛鼎月报</param>
/// <param name="newItem">中国五环月报</param>
/// <returns></returns>
public static string SaveSeDinMonthReport12(Model.SeDinMonthReport12Item newItem)
{
@ -2505,7 +2505,7 @@ namespace BLL
/// <summary>
/// 保存SeDin_MonthReport
/// </summary>
/// <param name="newItem">赛鼎月报</param>
/// <param name="newItem">中国五环月报</param>
/// <returns></returns>
public static string SaveSeDinMonthReport13(Model.SeDinMonthReportItem newItem)
{

View File

@ -40,7 +40,7 @@ namespace BLL
return getDataLists;
}
}
/// <summary>
/// 根据TestPlanId获取考试人员列表
/// </summary>
@ -51,14 +51,43 @@ namespace BLL
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
{
string name = string.Empty;
var getManList = db.Training_TestRecord.Where(x => x.TestPlanId == testPlanId).Select(x => x.TestManId).Distinct();
var getManList = db.Training_TestRecord.Where(x => x.TestPlanId == testPlanId).Select(x => x.TestManId);
if (getManList.Count() > 0)
{
name = PersonService.getPersonsPersonIds(getManList.ToList());
}
return name;
}
}
/// <summary>
/// 根据TestPlanId获取考试人员列表
/// </summary>
/// <param name="testPlanId"></param>
/// <returns>考试人员</returns>
public static List<Model.PersonItem> getTestRecordTestManListByTestPlanId(string testPlanId)
{
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
{
string name = string.Empty;
var getManList = db.Training_TestRecord.Where(x => x.TestPlanId == testPlanId).Select(x => x.TestManId);
if (getManList.Count() > 0)
{
return (from x in getManList
join y in db.SitePerson_Person on x equals y.PersonId
select new Model.PersonItem
{
PersonId=y.PersonId,
PersonName=y.PersonName,
}).ToList();
}
else
{
return null;
}
}
}
#endregion
#region ID获取试卷记录详细

View File

@ -1904,7 +1904,7 @@ namespace BLL
/// </summary>
public const string ProjectRectifyNoticeMenuId = "0038D764-D628-46F0-94FF-D0A22C3C45A3";
/// <summary>
/// 隐患整改单(赛鼎)
/// 隐患整改单(中国五环)
/// </summary>
public const string ProjectRectifyNoticesMenuId = "C3B6B222-44DC-46F3-B783-B1FC0F743C48";
/// <summary>
@ -2232,7 +2232,7 @@ namespace BLL
public const string ProjectManagerWeekMenuId = "AE118E9C-C309-43B7-A198-8CA90A8D98EB";
/// <summary>
/// 月报(赛鼎)
/// 月报(中国五环)
/// </summary>
public const string ProjectManagerMonth_SeDinMenuId = "D0EC3002-E1FA-457D-AC3B-4C7B2D71DD82";
/// <summary>

View File

@ -730,11 +730,11 @@
sb.Append("</table>");
}
#endregion
#region 4
#region 4
sb.Append("<table width=\"100% \" cellspacing=\"0\" rules=\"all\" border=\"1\" style=\"border-collapse:collapse;font-size: 10.5pt;\">");
sb.Append("<tr style=\"height: 20px\">");
sb.AppendFormat("<td align=\"center\" colspan=\"5\" style=\"width: 100%;border-bottom: none;border-top: none;\">{0}</td> "
, "赛鼎公司人员信息统计");
, "中国五环公司人员信息统计");
sb.Append("</tr>");
sb.Append("<tr style=\"height: 20px\">");
@ -1412,7 +1412,7 @@
sb.Append("<meta http-equiv=\"content-type\" content=\"application/word; charset=UTF-8\"/>");
sb.Append("<table width=\"100% \" cellspacing=\"0\" rules=\"all\" border=\"0\" style=\"border-collapse:collapse;font-size: 12pt;\">");
sb.Append("<tr style=\"height: 35px\">");
sb.AppendFormat("<td align=\"center\" style=\"width: 100%; font-size: 12pt; font-weight: bold;\">{0}</td> ", "赛鼎工程有限公司" + ProjectService.GetProjectNameByProjectId(getTestRecord.ProjectId));
sb.AppendFormat("<td align=\"center\" style=\"width: 100%; font-size: 12pt; font-weight: bold;\">{0}</td> ", "中国五环工程有限公司" + ProjectService.GetProjectNameByProjectId(getTestRecord.ProjectId));
sb.Append("</tr>");
sb.Append("<tr style=\"height:35px\">");
var getTrainTypeName = (from x in db.Training_TestPlan
@ -1675,7 +1675,7 @@
sb.Append("<table width=\"100% \" cellspacing=\"0\" rules=\"all\" border=\"0\" style=\"border-collapse:collapse;\">");
sb.Append("<tr style=\"height: 40px\">");
sb.AppendFormat("<td align=\"center\" style=\"width: 25%;\" rowspan=\"2\">{0}</td> ", imgStrUrl);
sb.AppendFormat("<td align=\"center\" style=\"width: 50%;font-size: 11pt;font-weight: bold;\">{0}</td> ", "赛鼎工程有限公司");
sb.AppendFormat("<td align=\"center\" style=\"width: 50%;font-size: 11pt;font-weight: bold;\">{0}</td> ", "中国五环工程有限公司");
string imgStrQRUrl1 = "<img width='60' height='50' src='" + (Funs.SGGLUrl + QRUrl1).Replace('\\', '/') + "'></img>";
sb.AppendFormat("<td align=\"center\" style=\"width: 25%;\" rowspan=\"2\">{0}</td> ", imgStrQRUrl1);
sb.Append("</tr>");
@ -1718,7 +1718,7 @@
sb.Append("<table width=\"100% \" cellspacing=\"0\" rules=\"all\" border=\"0\" style=\"border-collapse:collapse;\">");
sb.Append("<tr style=\"height: 40px\">");
sb.AppendFormat("<td align=\"center\" style=\"width: 25%;\" rowspan=\"2\">{0}</td> ", imgStrUrl);
sb.AppendFormat("<td align=\"center\" style=\"width: 50%;font-size: 11pt;font-weight: bold;\">{0}</td> ", "赛鼎工程有限公司");
sb.AppendFormat("<td align=\"center\" style=\"width: 50%;font-size: 11pt;font-weight: bold;\">{0}</td> ", "中国五环工程有限公司");
string imgStrQRUrl2 = "<img width='60' height='50' src='" + (Funs.SGGLUrl + QRUrl2).Replace('\\', '/') + "'></img>";
sb.AppendFormat("<td align=\"center\" style=\"width: 25%;\" rowspan=\"2\">{0}</td> ", imgStrQRUrl2);
sb.Append("</tr>");

View File

@ -58,16 +58,13 @@ namespace BLL
{
foreach (var item in getRProjects)
{
var getSynchroSet = Funs.DB.RealName_SynchroSet.FirstOrDefault(x => x.ProCode == item.JTproCode);
var getSynchroSet = Funs.DB.RealName_SynchroSet.FirstOrDefault(x => x.ProCode == item.ProCode);
if (getSynchroSet != null && !string.IsNullOrEmpty(item.JTproCode))
{
SynchroSetService.PushProCollCompany(item.JTproCode);
//SynchroSetService.PushCollTeam(item.ProCode);
//SynchroSetService.getCollTeam(item.ProCode);
//SynchroSetService.PushPersons(Const.BtnAdd, item.JTproCode, null);
//SynchroSetService.PushPersons(Const.BtnModify, item.JTproCode, null);
SynchroSetService.PushAttendance(item.JTproCode);
SynchroSetService.updatePersonsExitTime(item.JTproCode);
SynchroSetService.InsertRealNamePushLog(null, item.ProCode, "实名制定时器", "sucess", "200", item.ProName, "成功", null);
SynchroSetService.PushProCollCompany(item.ProCode);
SynchroSetService.PushAttendance(item.ProCode);
SynchroSetService.updatePersonsExitTime(item.ProCode);
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -624,9 +624,9 @@ namespace FineUIPro.Web.HSSE.Manager
#region
#region MonthReport0
/// <summary>
/// 保存赛鼎月报
/// 保存中国五环月报
/// </summary>
/// <param name="newItem">赛鼎月报</param>
/// <param name="newItem">中国五环月报</param>
/// <returns></returns>
public string SaveSeDinMonthReport0(string type)
{
@ -681,9 +681,9 @@ namespace FineUIPro.Web.HSSE.Manager
#endregion
#region MonthReport1
/// <summary>
/// 保存赛鼎月报
/// 保存中国五环月报
/// </summary>
/// <param name="newItem">赛鼎月报</param>
/// <param name="newItem">中国五环月报</param>
/// <returns></returns>
public void SaveSeDinMonthReport1()
{
@ -706,9 +706,9 @@ namespace FineUIPro.Web.HSSE.Manager
#endregion
#region MonthReport2
/// <summary>
/// 保存赛鼎月报
/// 保存中国五环月报
/// </summary>
/// <param name="newItem">赛鼎月报</param>
/// <param name="newItem">中国五环月报</param>
/// <returns></returns>
public void SaveSeDinMonthReport2()
@ -730,9 +730,9 @@ namespace FineUIPro.Web.HSSE.Manager
#endregion
#region MonthReport3HSE事故
/// <summary>
/// 保存赛鼎月报
/// 保存中国五环月报
/// </summary>
/// <param name="newItem">赛鼎月报</param>
/// <param name="newItem">中国五环月报</param>
/// <returns></returns>
public void SaveSeDinMonthReport3()
{
@ -801,9 +801,9 @@ namespace FineUIPro.Web.HSSE.Manager
#endregion
#region MonthReport4
/// <summary>
/// 保存赛鼎月报
/// 保存中国五环月报
/// </summary>
/// <param name="newItem">赛鼎月报</param>
/// <param name="newItem">中国五环月报</param>
/// <returns></returns>
public void SaveSeDinMonthReport4()
@ -852,9 +852,9 @@ namespace FineUIPro.Web.HSSE.Manager
#endregion
#region MonthReport5
/// <summary>
/// 保存赛鼎月报
/// 保存中国五环月报
/// </summary>
/// <param name="newItem">赛鼎月报</param>
/// <param name="newItem">中国五环月报</param>
/// <returns></returns>
public void SaveSeDinMonthReport5()
{
@ -900,9 +900,9 @@ namespace FineUIPro.Web.HSSE.Manager
#endregion
#region MonthReport6
/// <summary>
/// 保存赛鼎月报
/// 保存中国五环月报
/// </summary>
/// <param name="newItem">赛鼎月报</param>
/// <param name="newItem">中国五环月报</param>
/// <returns></returns>
public void SaveSeDinMonthReport6()
{
@ -934,9 +934,9 @@ namespace FineUIPro.Web.HSSE.Manager
#endregion
#region MonthReport7HSE培训统计
/// <summary>
/// 保存赛鼎月报
/// 保存中国五环月报
/// </summary>
/// <param name="newItem">赛鼎月报</param>
/// <param name="newItem">中国五环月报</param>
/// <returns></returns>
public void SaveSeDinMonthReport7()
{
@ -961,9 +961,9 @@ namespace FineUIPro.Web.HSSE.Manager
#endregion
#region MonthReport8HSE会议统计
/// <summary>
/// 保存赛鼎月报
/// 保存中国五环月报
/// </summary>
/// <param name="newItem">赛鼎月报</param>
/// <param name="newItem">中国五环月报</param>
/// <returns></returns>
public void SaveSeDinMonthReport8()
{
@ -1005,9 +1005,9 @@ namespace FineUIPro.Web.HSSE.Manager
#endregion
#region MonthReport9HSE检查统计
/// <summary>
/// 保存赛鼎月报
/// 保存中国五环月报
/// </summary>
/// <param name="newItem">赛鼎月报</param>
/// <param name="newItem">中国五环月报</param>
/// <returns></returns>
public void SaveSeDinMonthReport9()
@ -1116,9 +1116,9 @@ namespace FineUIPro.Web.HSSE.Manager
#endregion
#region MonthReport10
/// <summary>
/// 保存赛鼎月报
/// 保存中国五环月报
/// </summary>
/// <param name="newItem">赛鼎月报</param>
/// <param name="newItem">中国五环月报</param>
/// <returns></returns>
public void SaveSeDinMonthReport10()
{
@ -1155,9 +1155,9 @@ namespace FineUIPro.Web.HSSE.Manager
#endregion
#region MonthReport11
/// <summary>
/// 保存赛鼎月报
/// 保存中国五环月报
/// </summary>
/// <param name="newItem">赛鼎月报</param>
/// <param name="newItem">中国五环月报</param>
/// <returns></returns>
public void SaveSeDinMonthReport11()
{
@ -1176,9 +1176,9 @@ namespace FineUIPro.Web.HSSE.Manager
#endregion
#region MonthReport12
/// <summary>
/// 保存赛鼎月报
/// 保存中国五环月报
/// </summary>
/// <param name="newItem">赛鼎月报</param>
/// <param name="newItem">中国五环月报</param>
/// <returns></returns>
public void SaveSeDinMonthReport12()
@ -1222,9 +1222,9 @@ namespace FineUIPro.Web.HSSE.Manager
#endregion
#region MonthReport1314HSE活动综述HSE工作计划
/// <summary>
/// 保存赛鼎月报
/// 保存中国五环月报
/// </summary>
/// <param name="newItem">赛鼎月报</param>
/// <param name="newItem">中国五环月报</param>
/// <returns></returns>
public void SaveSeDinMonthReport13()
{

View File

@ -171,7 +171,7 @@ namespace FineUIPro.Web.common
var persons = from x in db.SitePerson_Person where x.ProjectId == this.CurrUser.LoginProjectId && x.IsUsed == true select x;
var posts = (from x in persons
join y in db.Base_WorkPost on x.WorkPostId equals y.WorkPostId
select y).Distinct().ToList();
select y).Distinct();
Model.SingleSerie s = new Model.SingleSerie();
List<double> listdata = new List<double>();
//木工

View File

@ -6,7 +6,7 @@ using System.Text;
namespace Model
{
/// <summary>
/// 赛鼎月报信息项 --10、项目奖惩情况统计
/// 中国五环月报信息项 --10、项目奖惩情况统计
/// </summary>
public class SeDinMonthReport10Item
{

View File

@ -6,7 +6,7 @@ using System.Text;
namespace Model
{
/// <summary>
/// 赛鼎月报信息项 --11、项目危大工程施工情况
/// 中国五环月报信息项 --11、项目危大工程施工情况
/// </summary>
public class SeDinMonthReport11Item
{

View File

@ -6,7 +6,7 @@ using System.Text;
namespace Model
{
/// <summary>
/// 赛鼎月报信息项 --12、项目应急演练情况
/// 中国五环月报信息项 --12、项目应急演练情况
/// </summary>
public class SeDinMonthReport12Item
{

View File

@ -6,7 +6,7 @@ using System.Text;
namespace Model
{
/// <summary>
/// 赛鼎月报信息项 --1、项目信息
/// 中国五环月报信息项 --1、项目信息
/// </summary>
public class SeDinMonthReport1Item
{

View File

@ -6,7 +6,7 @@ using System.Text;
namespace Model
{
/// <summary>
/// 赛鼎月报信息项 --2、项目安全工时统计
/// 中国五环月报信息项 --2、项目安全工时统计
/// </summary>
public class SeDinMonthReport2Item
{

View File

@ -6,7 +6,7 @@ using System.Text;
namespace Model
{
/// <summary>
/// 赛鼎月报信息项 --3、项目HSE事故、事件统计
/// 中国五环月报信息项 --3、项目HSE事故、事件统计
/// </summary>
public class SeDinMonthReport3Item
{

View File

@ -6,7 +6,7 @@ using System.Text;
namespace Model
{
/// <summary>
/// 赛鼎月报信息项 --4、本月人员投入情况
/// 中国五环月报信息项 --4、本月人员投入情况
/// </summary>
public class SeDinMonthReport4Item
{

View File

@ -6,7 +6,7 @@ using System.Text;
namespace Model
{
/// <summary>
/// 赛鼎月报信息项 --4、赛鼎公司人员信息统计表
/// 中国五环月报信息项 --4、中国五环公司人员信息统计表
/// </summary>
public class SeDinMonthReport4OtherItem
{

View File

@ -6,7 +6,7 @@ using System.Text;
namespace Model
{
/// <summary>
/// 赛鼎月报信息项 --5、本月大型、特种设备投入情况
/// 中国五环月报信息项 --5、本月大型、特种设备投入情况
/// </summary>
public class SeDinMonthReport5Item
{

View File

@ -6,7 +6,7 @@ using System.Text;
namespace Model
{
/// <summary>
/// 赛鼎月报信息项 --6、安全生产费用投入情况
/// 中国五环月报信息项 --6、安全生产费用投入情况
/// </summary>
public class SeDinMonthReport6Item
{

View File

@ -6,7 +6,7 @@ using System.Text;
namespace Model
{
/// <summary>
/// 赛鼎月报信息项 --7、项目HSE培训统计
/// 中国五环月报信息项 --7、项目HSE培训统计
/// </summary>
public class SeDinMonthReport7Item
{

View File

@ -6,7 +6,7 @@ using System.Text;
namespace Model
{
/// <summary>
/// 赛鼎月报信息项 --8、项目HSE会议统计
/// 中国五环月报信息项 --8、项目HSE会议统计
/// </summary>
public class SeDinMonthReport8Item
{

View File

@ -6,7 +6,7 @@ using System.Text;
namespace Model
{
/// <summary>
/// 赛鼎月报信息项 --8、项目HSE会议统计(班前会)
/// 中国五环月报信息项 --8、项目HSE会议统计(班前会)
/// </summary>
public class SeDinMonthReport8ItemItem
{

View File

@ -6,7 +6,7 @@ using System.Text;
namespace Model
{
/// <summary>
/// 赛鼎月报信息项 --9、项目HSE检查统计
/// 中国五环月报信息项 --9、项目HSE检查统计
/// </summary>
public class SeDinMonthReport9Item
{

View File

@ -6,7 +6,7 @@ using System.Text;
namespace Model
{
/// <summary>
/// 赛鼎月报信息项 --9、项目HSE检查统计-隐患整改单
/// 中国五环月报信息项 --9、项目HSE检查统计-隐患整改单
/// </summary>
public class SeDinMonthReport9ItemRectification
{

View File

@ -6,7 +6,7 @@ using System.Text;
namespace Model
{
/// <summary>
/// 赛鼎月报信息项 --9、项目HSE检查统计-专项检查
/// 中国五环月报信息项 --9、项目HSE检查统计-专项检查
/// </summary>
public class SeDinMonthReport9ItemSpecial
{

View File

@ -6,7 +6,7 @@ using System.Text;
namespace Model
{
/// <summary>
/// 赛鼎月报信息项 --9、项目HSE检查统计-停工令
/// 中国五环月报信息项 --9、项目HSE检查统计-停工令
/// </summary>
public class SeDinMonthReport9ItemStoppage
{

View File

@ -6,7 +6,7 @@ using System.Text;
namespace Model
{
/// <summary>
/// 赛鼎月报信息项
/// 中国五环月报信息项
/// </summary>
public class SeDinMonthReportItem
{

View File

@ -7,13 +7,13 @@ using System.Web.Http;
namespace WebAPI.Controllers
{
/// <summary>
/// 赛鼎月报
/// 中国五环月报
/// </summary>
public class SeDinMonthReportController : ApiController
{
#region
#region
/// <summary>
/// 获取赛鼎月报列表信息
/// 获取中国五环月报列表信息
/// </summary>
/// <param name="projectId">项目ID</param>
/// <param name="month">月份</param>
@ -42,9 +42,9 @@ namespace WebAPI.Controllers
}
#endregion
#region
#region
/// <summary>
/// 根据主键ID获取赛鼎月报
/// 根据主键ID获取中国五环月报
/// </summary>
/// <param name="projectId">项目ID</param>
/// <param name="month">月份</param>
@ -197,12 +197,12 @@ namespace WebAPI.Controllers
}
#endregion
#region
#region
#region MonthReport0
/// <summary>
/// 保存赛鼎月报
/// 保存中国五环月报
/// </summary>
/// <param name="newItem">赛鼎月报</param>
/// <param name="newItem">中国五环月报</param>
/// <returns></returns>
[HttpPost]
public Model.ResponeData SaveSeDinMonthReport0([FromBody] Model.SeDinMonthReportItem newItem)
@ -223,9 +223,9 @@ namespace WebAPI.Controllers
#endregion
#region MonthReport1
/// <summary>
/// 保存赛鼎月报
/// 保存中国五环月报
/// </summary>
/// <param name="newItem">赛鼎月报</param>
/// <param name="newItem">中国五环月报</param>
/// <returns></returns>
[HttpPost]
public Model.ResponeData SaveSeDinMonthReport1([FromBody] Model.SeDinMonthReport1Item newItem)
@ -254,9 +254,9 @@ namespace WebAPI.Controllers
#endregion
#region MonthReport2
/// <summary>
/// 保存赛鼎月报
/// 保存中国五环月报
/// </summary>
/// <param name="newItem">赛鼎月报</param>
/// <param name="newItem">中国五环月报</param>
/// <returns></returns>
[HttpPost]
public Model.ResponeData SaveSeDinMonthReport2([FromBody] Model.SeDinMonthReport2Item newItem)
@ -285,9 +285,9 @@ namespace WebAPI.Controllers
#endregion
#region MonthReport3HSE事故
/// <summary>
/// 保存赛鼎月报
/// 保存中国五环月报
/// </summary>
/// <param name="newItem">赛鼎月报</param>
/// <param name="newItem">中国五环月报</param>
/// <returns></returns>
[HttpPost]
public Model.ResponeData SaveSeDinMonthReport3([FromBody] Model.SeDinMonthReportItem newItem)
@ -316,9 +316,9 @@ namespace WebAPI.Controllers
#endregion
#region MonthReport4
/// <summary>
/// 保存赛鼎月报
/// 保存中国五环月报
/// </summary>
/// <param name="newItem">赛鼎月报</param>
/// <param name="newItem">中国五环月报</param>
/// <returns></returns>
[HttpPost]
public Model.ResponeData SaveSeDinMonthReport4([FromBody] Model.SeDinMonthReportItem newItem)
@ -347,9 +347,9 @@ namespace WebAPI.Controllers
#endregion
#region MonthReport5
/// <summary>
/// 保存赛鼎月报
/// 保存中国五环月报
/// </summary>
/// <param name="newItem">赛鼎月报</param>
/// <param name="newItem">中国五环月报</param>
/// <returns></returns>
[HttpPost]
public Model.ResponeData SaveSeDinMonthReport5([FromBody] Model.SeDinMonthReportItem newItem)
@ -378,9 +378,9 @@ namespace WebAPI.Controllers
#endregion
#region MonthReport6
/// <summary>
/// 保存赛鼎月报
/// 保存中国五环月报
/// </summary>
/// <param name="newItem">赛鼎月报</param>
/// <param name="newItem">中国五环月报</param>
/// <returns></returns>
[HttpPost]
public Model.ResponeData SaveSeDinMonthReport6([FromBody] Model.SeDinMonthReport6Item newItem)
@ -409,9 +409,9 @@ namespace WebAPI.Controllers
#endregion
#region MonthReport7HSE培训统计
/// <summary>
/// 保存赛鼎月报
/// 保存中国五环月报
/// </summary>
/// <param name="newItem">赛鼎月报</param>
/// <param name="newItem">中国五环月报</param>
/// <returns></returns>
[HttpPost]
public Model.ResponeData SaveSeDinMonthReport7([FromBody] Model.SeDinMonthReport7Item newItem)
@ -440,9 +440,9 @@ namespace WebAPI.Controllers
#endregion
#region MonthReport8HSE会议统计
/// <summary>
/// 保存赛鼎月报
/// 保存中国五环月报
/// </summary>
/// <param name="newItem">赛鼎月报</param>
/// <param name="newItem">中国五环月报</param>
/// <returns></returns>
[HttpPost]
public Model.ResponeData SaveSeDinMonthReport8([FromBody] Model.SeDinMonthReport8Item newItem)
@ -471,9 +471,9 @@ namespace WebAPI.Controllers
#endregion
#region MonthReport9HSE检查统计
/// <summary>
/// 保存赛鼎月报
/// 保存中国五环月报
/// </summary>
/// <param name="newItem">赛鼎月报</param>
/// <param name="newItem">中国五环月报</param>
/// <returns></returns>
[HttpPost]
public Model.ResponeData SaveSeDinMonthReport9([FromBody] Model.SeDinMonthReport9Item newItem)
@ -502,9 +502,9 @@ namespace WebAPI.Controllers
#endregion
#region MonthReport10
/// <summary>
/// 保存赛鼎月报
/// 保存中国五环月报
/// </summary>
/// <param name="newItem">赛鼎月报</param>
/// <param name="newItem">中国五环月报</param>
/// <returns></returns>
[HttpPost]
public Model.ResponeData SaveSeDinMonthReport10([FromBody] Model.SeDinMonthReport10Item newItem)
@ -533,9 +533,9 @@ namespace WebAPI.Controllers
#endregion
#region MonthReport11
/// <summary>
/// 保存赛鼎月报
/// 保存中国五环月报
/// </summary>
/// <param name="newItem">赛鼎月报</param>
/// <param name="newItem">中国五环月报</param>
/// <returns></returns>
[HttpPost]
public Model.ResponeData SaveSeDinMonthReport11([FromBody] Model.SeDinMonthReport11Item newItem)
@ -564,9 +564,9 @@ namespace WebAPI.Controllers
#endregion
#region MonthReport12
/// <summary>
/// 保存赛鼎月报
/// 保存中国五环月报
/// </summary>
/// <param name="newItem">赛鼎月报</param>
/// <param name="newItem">中国五环月报</param>
/// <returns></returns>
[HttpPost]
public Model.ResponeData SaveSeDinMonthReport12([FromBody] Model.SeDinMonthReport12Item newItem)
@ -595,9 +595,9 @@ namespace WebAPI.Controllers
#endregion
#region MonthReport1314HSE活动综述HSE工作计划
/// <summary>
/// 保存赛鼎月报
/// 保存中国五环月报
/// </summary>
/// <param name="newItem">赛鼎月报</param>
/// <param name="newItem">中国五环月报</param>
/// <returns></returns>
[HttpPost]
public Model.ResponeData SaveSeDinMonthReport13([FromBody] Model.SeDinMonthReportItem newItem)
@ -622,7 +622,7 @@ namespace WebAPI.Controllers
/// <summary>
/// 汇总到HSE数据
/// </summary>
/// <param name="newItem">赛鼎月报</param>
/// <param name="newItem">中国五环月报</param>
/// <returns></returns>
[HttpPost]
public Model.ResponeData SaveSeDinMonthHSEDataCollect([FromBody] Model.SeDinMonthReportItem newItem)

View File

@ -50,6 +50,26 @@ namespace WebAPI.Controllers
}
return responeData;
}
/// <summary>
/// 获取考生
/// </summary>
/// <param name="testPlanId"></param>
/// <returns></returns>
public Model.ResponeData getTestRecordTestManListByTestPlanId(string testPlanId)
{
var responeData = new Model.ResponeData();
try
{
responeData.data = APITestRecordService.getTestRecordTestManListByTestPlanId(testPlanId);
}
catch (Exception ex)
{
responeData.code = 0;
responeData.message = ex.Message;
}
return responeData;
}
#endregion
#region ID获取试卷记录详细