看板、安全风险因素、教材库
This commit is contained in:
@@ -249,6 +249,7 @@
|
||||
<Compile Include="JDGL\WBSSetItem.cs" />
|
||||
<Compile Include="Model.cs" />
|
||||
<Compile Include="ModelProc.cs" />
|
||||
<Compile Include="Statistics.cs" />
|
||||
<Compile Include="Num.cs" />
|
||||
<Compile Include="Pie.cs" />
|
||||
<Compile Include="PieData.cs" />
|
||||
|
||||
@@ -8,6 +8,18 @@ namespace Model
|
||||
|
||||
public partial class CNPCDB : DataContext
|
||||
{
|
||||
/// <summary>
|
||||
/// 安全危害因素统计
|
||||
/// </summary>
|
||||
/// <param name="userId"></param>
|
||||
/// <param name="projectId"></param>
|
||||
/// <returns></returns>
|
||||
[Function(Name = "[dbo].[Sp_HazardFactor_Statistics]")]
|
||||
public IEnumerable<Statistics> Sp_HazardFactor_Statistics([Parameter(DbType = "nvarchar(20)")] string year, [Parameter(DbType = "nvarchar(20)")] string month, [Parameter(DbType = "nvarchar(200)")] string projectId)
|
||||
{
|
||||
IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)MethodInfo.GetCurrentMethod()), year, month, projectId);
|
||||
return (ISingleResult<Statistics>)result.ReturnValue;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取当前用户在移动端待办事项
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
using System;
|
||||
|
||||
namespace Model
|
||||
{
|
||||
public class Statistics
|
||||
{
|
||||
public string Title { get; set; }
|
||||
|
||||
public int Num { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user