33 lines
955 B
C#
33 lines
955 B
C#
using HL_FristAidPlatform_DataBase;
|
|
using HL_FristAidPlatform_Help;
|
|
using HL_FristAidPlatform_IDataBase;
|
|
using HL_FristAidPlatform_Models;
|
|
|
|
namespace HL_FristAidPlatform_Bussiness
|
|
{
|
|
public class HandoverServiceBLL
|
|
{
|
|
IHandoverService IService = new HandoverService();
|
|
|
|
/// <summary>
|
|
/// 交接
|
|
/// </summary>
|
|
/// <param name="model"></param>
|
|
/// <returns></returns>
|
|
public MessageModel<bool> HandoverTran(DriverHandoverModel model)
|
|
{
|
|
T_Service_FirstAid_AlarmTaskInfo task = new T_Service_FirstAid_AlarmTaskInfo();
|
|
task.GUID = model.TaskGUID;
|
|
|
|
if (IService.HandoverTran(model))
|
|
{
|
|
return new MessageModel<bool> { Success = true, Msg = "操作成功" };
|
|
}
|
|
else
|
|
{
|
|
return new MessageModel<bool> { Success = false, Msg = "操作失败" };
|
|
}
|
|
}
|
|
}
|
|
}
|