|
|
@@ -150,7 +150,7 @@ namespace Learun.Application.WebApi |
|
|
|
public Response SaveStaffForm(dynamic _) |
|
|
|
{ |
|
|
|
var model = this.GetReqData<ReqFormEntity>(); |
|
|
|
var entity = workStaffIBLL.GetWorkStaffEntity(model.keyValue); |
|
|
|
WorkStaffEntity entity = model.strEntity.ToObject<WorkStaffEntity>(); |
|
|
|
workStaffIBLL.SaveEntity(model.keyValue, entity, entity.WorkStaffSonEntities); |
|
|
|
return Success("保存成功!"); |
|
|
|
} |
|
|
@@ -250,7 +250,6 @@ namespace Learun.Application.WebApi |
|
|
|
{ |
|
|
|
public string keyValue { get; set; } |
|
|
|
public string strEntity { get; set; } |
|
|
|
public List<WorkStaffSonEntity> WorkStaffSonEntities { get; set; } |
|
|
|
} |
|
|
|
#endregion |
|
|
|
|
|
|
|