Browse Source

工资条接口查看详情

新疆警官学校中职
ndbs 2 years ago
parent
commit
7bada55a8a
3 changed files with 49 additions and 3 deletions
  1. +16
    -1
      Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/OuoutsourcingApi.cs
  2. +16
    -1
      Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/WageScheduleApi.cs
  3. +17
    -1
      Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/WelfarePositionApi.cs

+ 16
- 1
Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/OuoutsourcingApi.cs View File

@@ -36,6 +36,7 @@ namespace Learun.Application.WebApi
: base("/Learun/adms/Ououtsourcing")
{
Get["/getlist"] = GetList;
Get["/form"] = GetForm;
}
#region 获取数据

@@ -57,7 +58,21 @@ namespace Learun.Application.WebApi
};
return Success(jsonData);
}

/// <summary>
/// 获取表单数据
/// <summary>
/// <param name="_"></param>
/// <returns></returns>
public Response GetForm(dynamic _)
{
string keyValue = this.GetReqData();
var OuoutsourcingData = ououtsourcingIBLL.GetEntity(keyValue);
var jsonData = new
{
Ououtsourcing = OuoutsourcingData,
};
return Success(jsonData);
}
#endregion
}


+ 16
- 1
Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/WageScheduleApi.cs View File

@@ -36,6 +36,7 @@ namespace Learun.Application.WebApi
: base("/Learun/adms/WageSchedule")
{
Get["/getlist"] = GetList;
Get["/form"] = GetForm;
}
#region 获取数据

@@ -57,7 +58,21 @@ namespace Learun.Application.WebApi
};
return Success(jsonData);
}

/// <summary>
/// 获取表单数据
/// <summary>
/// <param name="_"></param>
/// <returns></returns>
public Response GetForm(dynamic _)
{
string keyValue = this.GetReqData();
var WageScheduleData = wageScheduleIBLL.GetEntity(keyValue);
var jsonData = new
{
WageSchedule = WageScheduleData,
};
return Success(jsonData);
}
#endregion
}


+ 17
- 1
Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/WelfarePositionApi.cs View File

@@ -36,6 +36,8 @@ namespace Learun.Application.WebApi
: base("/Learun/adms/WelfarePosition")
{
Get["/getlist"] = GetList;
Get["/form"] = GetForm;

}
#region 获取数据

@@ -57,7 +59,21 @@ namespace Learun.Application.WebApi
};
return Success(jsonData);
}

/// <summary>
/// 获取表单数据
/// <summary>
/// <param name="_"></param>
/// <returns></returns>
public Response GetForm(dynamic _)
{
string keyValue = this.GetReqData();
var WelfarePositionData = WelfarePositionIBLL.GetEntity(keyValue);
var jsonData = new
{
WelfarePosition = WelfarePositionData,
};
return Success(jsonData);
}
#endregion
}


Loading…
Cancel
Save