StableVersion4.3/HL_FristAidPlatform_IService/Base/IT_Base_AccidentInfo.cs

44 lines
1.5 KiB
C#
Raw Permalink Normal View History

2024-03-11 09:47:34 +08:00
using HL_FristAidPlatform_Help;
using HL_FristAidPlatform_Models;
using System.Collections.Generic;
namespace HL_FristAidPlatform_IDataBase.Service
{
/// <summary>
///
/// </summary>
public interface IT_Base_AccidentInfo
{
List<AccidentInfoModel> GetListAccidentInfo();
/// <summary>
/// 查询所有的事故 Tree eDataTable
/// </summary>
/// <returns></returns>
//TableModel<AccidentInfoModel> GetListAccidentInfoeDataTable();
TableModel<T_Base_AccidentInfo> GetListAccident();
/// <summary>
/// 重大事故/群伤事件数据集合
/// </summary>
/// <returns></returns>
List<AccidentInfoClassModel> GetAccidentInfoClass();
List<T_Base_AccidentInfo> GetList(string name, int accidentLevel);
T_Base_AccidentInfo GetByName(string parentName, int accidentLevel);
bool SaveAccidentInfo(T_Base_AccidentInfo department);
T_Base_AccidentInfo GetById(int iD);
bool UpdateAccidentInfo(T_Base_AccidentInfo department);
#region 事故等级
List<T_Base_AccidentLevel> GetAccidentLevelList(string name, int accidentLevel);
T_Base_AccidentLevel GetAccidentLevelByName(string name, int accidentLevel);
bool SaveAccidentLevel(T_Base_AccidentLevel department);
T_Base_AccidentLevel GetAccidentLevelById(int iD);
bool UpdateAccidentLevel(T_Base_AccidentLevel department);
#endregion
}
}