|
|
@@ -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 |
|
|
|
} |
|
|
|
|