StableVersion4.3/HL_FristAidPlatform_Bussiness/TranService/HandoverServiceBLL.cs

33 lines
955 B
C#
Raw Permalink Normal View History

2024-03-11 09:47:34 +08:00
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 = "操作失败" };
}
}
}
}